summaryrefslogtreecommitdiff
path: root/sys/src/cmd/vnc/utf2ksym.h
diff options
context:
space:
mode:
authorcinap_lenrek <cinap_lenrek@felloff.net>2023-05-16 22:16:12 +0000
committercinap_lenrek <cinap_lenrek@felloff.net>2023-05-16 22:16:12 +0000
commitc45766fb054e3c82fe7be6cd5da2e6ff58e534e3 (patch)
tree6100eecedb57d1b1dedaa0a899f974bbca49ecb9 /sys/src/cmd/vnc/utf2ksym.h
parentd4ce962fe33f3eca8da0b4ab2b5a81cc5359b71f (diff)
devip: address some ipv6 issues on pkt interface
relax the maclen check as v6 neighbour disicovery might give bigger buffers as the medium uses for the mac address size, as the packet does not contain exact byte count but rounds all the options to multiples of 8. drop neighbour discovery packets coming from interfaces with zero-length maclen. when dialing icmpv6 protocol with link-local address for the local ip address, filter any packets to it that come from a different interface. otherwise ipconfig would see router advertisements from other interfaces. fix the locking for ipifc ctl messages: properly acquire the wlock and check that the interface is still bound for every ctl messages touching the interface. make add6 ipifc ctl message work for media with zero-length maclen by using the interface identier from pre-existing link-local address when available.
Diffstat (limited to 'sys/src/cmd/vnc/utf2ksym.h')
0 files changed, 0 insertions, 0 deletions