plan9fox/sys/src/9/ip
cinap_lenrek 5474646164 devip: implement ipv6 support in ipmux packet filter
Added a ver= field to the filter to distinguish the ip version.
By default, a filter is parsed as ipv6, and after parsing
proto, src and dst fields are converted to ipv4. When no
ver= field is specified, a ip version filter is implicitely
added and both protocols are parsed.

This change also gets rid of the fast compare types as the
filed might not be aligned correctly in the packet.

This also fixes the ifc= filter, as we have to check any
local address.
2020-06-07 16:56:01 +02:00
..
arp.c devip: use the routing table for local source ip address selection 2019-11-10 19:50:46 +01:00
chandial.c
devip.c
esp.c
ethermedium.c devip: fix packet loss when interface is wlocked 2020-01-05 18:20:47 +01:00
gre.c
icmp.c devip: use the routing table for local source ip address selection 2019-11-10 19:50:46 +01:00
icmp6.c devip: use the routing table for local source ip address selection 2019-11-10 19:50:46 +01:00
igmp.c
il.c
inferno.c
ip.c devip: fix ifc recursive rlock() deadlock 2020-05-10 22:51:40 +02:00
ip.h devip: fix parseipmask() prototype in ip.h 2020-06-07 16:45:55 +02:00
ipaux.c
ipifc.c devip: fix ifc recursive rlock() deadlock 2020-05-10 22:51:40 +02:00
ipmux.c devip: implement ipv6 support in ipmux packet filter 2020-06-07 16:56:01 +02:00
iproute.c devip: use the routing table for local source ip address selection 2019-11-10 19:50:46 +01:00
ipv6.c devip: fix ifc recursive rlock() deadlock 2020-05-10 22:51:40 +02:00
ipv6.h
loopbackmedium.c devip: fix packet loss when interface is wlocked 2020-01-05 18:20:47 +01:00
netdevmedium.c devip: fix packet loss when interface is wlocked 2020-01-05 18:20:47 +01:00
netlog.c
nullmedium.c
pktmedium.c
rudp.c devip: pick less surprising interface address in header for incoming UDP packets 2020-06-06 23:46:01 +02:00
tcp.c
udp.c devip: pick less surprising interface address in header for incoming UDP packets 2020-06-06 23:46:01 +02:00