summaryrefslogtreecommitdiff
path: root/sys/src/libsat/misc.c
diff options
context:
space:
mode:
authorcinap_lenrek <cinap_lenrek@felloff.net>2018-03-19 01:11:08 +0100
committercinap_lenrek <cinap_lenrek@felloff.net>2018-03-19 01:11:08 +0100
commit547f60b4c507778099635f5d2ec4919e1beb6a57 (patch)
tree054f072e361b27b433515e4688eb33555bfc340f /sys/src/libsat/misc.c
parent20cbb88e32ece30dd984ab658c365f574790d6ba (diff)
devip: pick source address for neighbor solicitations as of rfc4861 7.2.2, cleanup
rfc4861 7.2.2: If the source address of the packet prompting the solicitation is the same as one of the addresses assigned to the outgoing interface, that address SHOULD be placed in the IP Source Address of the outgoing solicitation. this change adds ndbsendsol() which handles the source address selection and also handles the arp table locking; avoiding access to the arp entry after the arp table is unlocked. cleanups: - use ipmove() instead of memmove(). - useless extern qualifiers
Diffstat (limited to 'sys/src/libsat/misc.c')
0 files changed, 0 insertions, 0 deletions