plan9front/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 ip/chandial: fail with Ebadarg instead of printing memory contents 2016-02-12 23:52:50 +02:00
devip.c devip: fix permission checking 2019-09-21 23:28:37 +02:00
esp.c devip: fix ipv6 icmp unreachable handling, fix retransmit, fix ifc locking, remove tentative check 2018-04-22 18:54:13 +02:00
ethermedium.c devip: fix packet loss when interface is wlocked 2020-01-05 18:20:47 +01:00
gre.c gre: don't drop pptp packets when smaller than v4 header 2018-01-20 15:13:11 +01:00
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 kernel/ip: remove nil checks for allocb() and padblock() 2016-11-08 21:05:01 +01:00
il.c devip: make il connect fail quickly when theres no route 2018-07-10 09:11:19 +02:00
inferno.c Import sources from 2011-03-30 iso image - lib 2011-03-30 19:35:09 +03:00
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 devip: fix ip fragmentation handling issues with header options 2019-03-03 05:25:00 +01:00
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 devip: fix fragment forwarding 2019-03-04 03:05:30 +01:00
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 devip: handle malloc errors, fix queue leaks 2013-05-05 03:56:11 +02:00
nullmedium.c ip/nullmedium: free passed block in nullbwrite() 2016-11-07 21:40:12 +01:00
pktmedium.c ip: make pkt interfaces unbind on close (from inferno) 2018-01-22 21:33:22 +01:00
rudp.c devip: pick less surprising interface address in header for incoming UDP packets 2020-06-06 23:46:01 +02:00
tcp.c devip: if the server does not support TCP ws option, disable window scaling (thanks joe9) 2019-05-22 22:20:31 +02:00
udp.c devip: pick less surprising interface address in header for incoming UDP packets 2020-06-06 23:46:01 +02:00