gvisor/pkg/tcpip
Ghanan Gowripalan ca30dfa065 Send DAD event when DAD resolves immediately
Previously, a DAD event would not be sent if DAD was disabled.

This allows integrators to do some work when an IPv6 address is bound to
a NIC without special logic that checks if DAD is enabled.

Without this change, integrators would need to check if a NIC has DAD
enabled when an address is auto-generated. If DAD is enabled, it would
need to delay the work until the DAD completion event; otherwise, it
would need to do the work in the address auto-generated event handler.

Test: stack_test.TestDADDisabled
PiperOrigin-RevId: 293732914
2020-02-06 19:50:34 -08:00
..
adapters/gonet Make gonet consistent both internally and with the net package. 2020-02-06 14:07:04 -08:00
buffer Standardize on tools directory. 2020-01-27 12:21:00 -08:00
checker Include the NDP Source Link Layer option when sending DAD messages 2020-01-28 13:52:04 -08:00
hash/jenkins Standardize on tools directory. 2020-01-27 12:21:00 -08:00
header Use multicast Ethernet address for multicast NDP 2020-01-31 13:55:46 -08:00
iptables Merge pull request #1683 from kevinGC:ipt-udp-matchers 2020-02-04 16:20:16 -08:00
link Use multicast Ethernet address for multicast NDP 2020-01-31 13:55:46 -08:00
network Update link address for targets of Neighbor Adverts 2020-02-06 11:13:29 -08:00
ports Standardize on tools directory. 2020-01-27 12:21:00 -08:00
sample Standardize on tools directory. 2020-01-27 12:21:00 -08:00
seqnum Standardize on tools directory. 2020-01-27 12:21:00 -08:00
stack Send DAD event when DAD resolves immediately 2020-02-06 19:50:34 -08:00
transport Add notes to relevant tests. 2020-02-05 22:46:35 -08:00
BUILD Standardize on tools directory. 2020-01-27 12:21:00 -08:00
packet_buffer.go Fixing stuff 2020-01-21 13:37:25 -08:00
packet_buffer_state.go Use PacketBuffers for outgoing packets. 2019-11-14 10:15:38 -08:00
tcpip.go Perform DAD on IPv6 addresses when enabling a NIC 2020-02-06 15:58:16 -08:00
tcpip_test.go Implement proper local broadcast behavior 2019-10-03 19:31:35 -07:00
time.s Change copyright notice to "The gVisor Authors" 2019-04-29 14:26:23 -07:00
time_unsafe.go Update build tags to allow Go 1.14 2019-10-29 13:18:16 -07:00
timer.go CancellableTimer to encapsulate the work of safely stopping timers 2020-01-08 17:50:54 -08:00
timer_test.go Put CancellableTimer tests in the tcpip_test package 2020-01-10 14:32:17 -08:00