freebsd-dev/sys/netinet6
Andrey V. Elsukov 3ea87cb57f Simplify in6_setscope() function to get better performance.
Currently we use interface indeces as zone IDs for link-local and
interface-local scopes, and since we don't have any tool to configure
zone IDs, there is no need to acquire the afdata lock several times per
packet only to read if_index value.
So, now in6_setscope reads zone IDs for interface-local, link-local and
global scopes without a lock.

Sponsored by:	Yandex LLC
MFC after:	2 weeks
2013-01-10 00:10:24 +00:00
..
dest6.c
frag6.c Mechanically substitute flags from historic mbuf allocator with 2012-12-05 08:04:20 +00:00
icmp6.c Mechanically substitute flags from historic mbuf allocator with 2012-12-05 08:04:20 +00:00
icmp6.h
in6_cksum.c
in6_gif.c Mechanically substitute flags from historic mbuf allocator with 2012-12-05 08:04:20 +00:00
in6_gif.h
in6_ifattach.c
in6_ifattach.h
in6_mcast.c
in6_pcb.c
in6_pcb.h
in6_pcbgroup.c
in6_proto.c
in6_rmx.c
in6_src.c Add no_prefer_iface option. 2013-01-09 18:18:08 +00:00
in6_var.h In additional to the tailq of IPv6 addresses add the hash table. 2012-12-15 20:04:24 +00:00
in6.c Temporarily revert rev 244678. This is causing loopback problems with 2013-01-03 10:21:28 +00:00
in6.h
ip6_ecn.h
ip6_forward.c
ip6_id.c
ip6_input.c In additional to the tailq of IPv6 addresses add the hash table. 2012-12-15 20:04:24 +00:00
ip6_ipsec.c
ip6_ipsec.h
ip6_mroute.c Mechanically substitute flags from historic mbuf allocator with 2012-12-05 08:04:20 +00:00
ip6_mroute.h
ip6_output.c When we have some address to forward (e.g. it was specified with ipfw fwd), 2012-12-19 17:28:17 +00:00
ip6_var.h Use M_PROTO7 flag for M_IP6_NEXTHOP, because M_PROTO2 was used for 2012-12-17 14:36:56 +00:00
ip6.h
ip6protosw.h
mld6_var.h
mld6.c Mechanically substitute flags from historic mbuf allocator with 2012-12-05 08:04:20 +00:00
mld6.h
nd6_nbr.c Mechanically substitute flags from historic mbuf allocator with 2012-12-05 08:04:20 +00:00
nd6_rtr.c Reduce the overhead of locking, use IF_AFDATA_RLOCK() when we are doing 2012-11-16 12:12:02 +00:00
nd6.c Fix problem in r238990. The LLE_LINKED flag should be tested prior to 2012-12-13 11:11:15 +00:00
nd6.h Add no_prefer_iface option. 2013-01-09 18:18:08 +00:00
pim6_var.h
pim6.h
raw_ip6.c Mechanically substitute flags from historic mbuf allocator with 2012-12-05 08:04:20 +00:00
raw_ip6.h
route6.c
scope6_var.h - Move definition of V_deembed_scopeid to scope6_var.h. 2012-12-05 19:45:24 +00:00
scope6.c Simplify in6_setscope() function to get better performance. 2013-01-10 00:10:24 +00:00
sctp6_usrreq.c Add support for SCTP/UDP/IPV6. 2012-11-17 20:04:04 +00:00
sctp6_var.h Add support for SCTP/UDP/IPV6. 2012-11-17 20:04:04 +00:00
send.c
send.h
tcp6_var.h
udp6_usrreq.c Mechanically substitute flags from historic mbuf allocator with 2012-12-05 08:04:20 +00:00
udp6_var.h