]> git.lizzy.rs Git - plan9front.git/commit
devip: various icmp stuff
authorcinap_lenrek <cinap_lenrek@felloff.net>
Sun, 22 Apr 2018 16:47:19 +0000 (18:47 +0200)
committercinap_lenrek <cinap_lenrek@felloff.net>
Sun, 22 Apr 2018 16:47:19 +0000 (18:47 +0200)
commit26aca332bb74cf8ee6f27ee7f826413a19182ca9
tree8319f93c69883cb2d4db47029529c63aed0c5037
parent575398eb9bc2c6f1bcfce7bf8fffbce73a96e8da
devip: various icmp stuff

no need to rlock ifc in targetttype() as we are called from icmpiput6(),
which the ifc rlocked.

for icmpadvise, the lport, destination *AND* source have to match.

a connection gets a packet when the packets destination matches the source
*OR* the packets source matches the destination.
sys/src/9/ip/icmp.c
sys/src/9/ip/icmp6.c