plan9fox/sys/src/9/ip
cinap_lenrek b638c7753d devip: use the routing table for local source ip address selection
when making outgoing connections, the source ip was selected
by just iterating from the first to the last interface and
trying each local address until a route was found. the result
was kind of hard to predict as it depends on the interface
order.

this change replaces the algorithm with the route lookup algorithm
that we already have which takes more specific desination and
source prefixes into account. so the order of interfaces does
not matter anymore.
2019-11-10 19:50:46 +01: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 devip: fix permission checking 2019-09-21 23:28:37 +02:00
esp.c
ethermedium.c devip: use the routing table for local source ip address selection 2019-11-10 19:50:46 +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: ignore the evil bit in fragment info field 2019-03-07 22:39:50 +01:00
ip.h devip: use the routing table for local source ip address selection 2019-11-10 19:50:46 +01:00
ipaux.c
ipifc.c devip: use the routing table for local source ip address selection 2019-11-10 19:50:46 +01:00
ipmux.c
iproute.c devip: use the routing table for local source ip address selection 2019-11-10 19:50:46 +01:00
ipv6.c
ipv6.h
loopbackmedium.c devip: avoid media bind/unbind kproc reader startup race, simplify etherbind 2019-05-11 07:22:34 +02:00
netdevmedium.c devip: avoid media bind/unbind kproc reader startup race, simplify etherbind 2019-05-11 07:22:34 +02:00
netlog.c
nullmedium.c
pktmedium.c
rudp.c devip: use the routing table for local source ip address selection 2019-11-10 19:50:46 +01: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: use the routing table for local source ip address selection 2019-11-10 19:50:46 +01:00