summaryrefslogtreecommitdiffhomepage
path: root/pkg/sync/tmutex_test.go
diff options
context:
space:
mode:
authorgVisor bot <gvisor-bot@google.com>2020-02-20 14:31:39 -0800
committerCopybara-Service <copybara-worker@google.com>2020-02-20 14:32:49 -0800
commit67b615b86f2aa1d4ded3dcf2eb8aca4e7fec57a0 (patch)
treea257fdab73d7125f703de133f407160007eefa62 /pkg/sync/tmutex_test.go
parentd90d71474f4c82f742140fdf026821709845cece (diff)
Support disabling a NIC
- Disabled NICs will have their associated NDP state cleared. - Disabled NICs will not accept incoming packets. - Writes through a Route with a disabled NIC will return an invalid endpoint state error. - stack.Stack.FindRoute will not return a route with a disabled NIC. - NIC's Running flag will report the NIC's enabled status. Tests: - stack_test.TestDisableUnknownNIC - stack_test.TestDisabledNICsNICInfoAndCheckNIC - stack_test.TestRoutesWithDisabledNIC - stack_test.TestRouteWritePacketWithDisabledNIC - stack_test.TestStopStartSolicitingRouters - stack_test.TestCleanupNDPState - stack_test.TestAddRemoveIPv4BroadcastAddressOnNICEnableDisable - stack_test.TestJoinLeaveAllNodesMulticastOnNICEnableDisable PiperOrigin-RevId: 296298588
Diffstat (limited to 'pkg/sync/tmutex_test.go')
0 files changed, 0 insertions, 0 deletions