| 1 | |
| 2 | |
| 3 | @@ -53,6 +53,9 @@ |
| 4 | // guests of the per-instance netstacks may reach (types.Configuration.Outbound). |
| 5 | // The host services the guest needs (AllowHostService) are reached past it. |
| 6 | var Outbound types.Outbound |
| 7 | + |
| 8 | +// DroppedIPv6 is an optional observer for the instance-owned IPv4-only guest link. |
| 9 | +var DroppedIPv6 func([]byte) |
| 10 | |
| 11 | // GuestDial and DNSExchange are host-owned transport hooks. |
| 12 | var GuestDial types.DialContext |
| 13 | @@ -142,6 +145,7 @@ |
| 14 | }, |
| 15 | GatewayVirtualIPs: []string{gatewayIP}, |
| 16 | Outbound: outbound, |
| 17 | + DroppedIPv6: DroppedIPv6, |
| 18 | DialContext: dialGuest, |
| 19 | DNSExchange: DNSExchange, |
| 20 | DNSNames: Names, |