An IPv6 NetworkEndpoint that throws away outgoing packets. We use this instead of ipv6.endpoint because the ipv6 package depends on the stack package which this test lives in, causing a cyclic dependency.
| 34 | // We use this instead of ipv6.endpoint because the ipv6 package depends on |
| 35 | // the stack package which this test lives in, causing a cyclic dependency. |
| 36 | type testIPv6Endpoint struct { |
| 37 | AddressableEndpointState |
| 38 | |
| 39 | nic NetworkInterface |
| 40 | protocol *testIPv6Protocol |
| 41 | |
| 42 | invalidatedRtr tcpip.Address |
| 43 | } |
| 44 | |
| 45 | func (*testIPv6Endpoint) Enable() tcpip.Error { |
| 46 | return nil |
nothing calls this directly
no outgoing calls
no test coverage detected