freebsd-dev/sys/netinet
Bruce M Simpson 8b889dbb9e In ip_output(), do not acquire the IN_MULTI_LOCK(),
and do not attempt to perform a group lookup.
This is a socket layer lock, and the bottom half of IP
really has no business taking it.

Use the value of the in_mcast_loop sysctl to determine
if we should loop back by default, in the absence of
any multicast socket options. Because the check on
group membership is now deferred to the input path,
an m_copym() is now required.

This should increase multicast send performance where the
source has not requested loopback, although this has not been
benchmarked or measured.

It is also a necessary change for IN_MULTI_LOCK to become
non-recursive, which is required in order to implement IGMPv3
in a thread-safe way.
2009-03-04 03:45:34 +00:00
..
libalias This commit fixes the issue with alias_sctp.c. No 2009-02-14 11:34:57 +00:00
accf_data.c
accf_dns.c
accf_http.c
icmp6.h Second round of putting global variables, which were virtualized 2008-12-13 19:13:03 +00:00
icmp_var.h Second round of putting global variables, which were virtualized 2008-12-13 19:13:03 +00:00
if_atm.c This main goals of this project are: 2008-12-15 06:10:57 +00:00
if_atm.h
if_ether.c For all files including net/vnet.h directly include opt_route.h and 2009-02-27 14:12:05 +00:00
if_ether.h remove dependency on net/if.h of this header 2009-02-16 15:07:40 +00:00
igmp_var.h
igmp.c For all files including net/vnet.h directly include opt_route.h and 2009-02-27 14:12:05 +00:00
igmp.h Merge header file definitions used by the new IGMPv3 implementation. 2009-03-04 03:22:03 +00:00
in_cksum.c
in_gif.c
in_gif.h
in_mcast.c Add sysctl net.inet.ip.mcast.loop. This controls whether or not 2009-03-04 03:40:02 +00:00
in_pcb.c Remove redundant calls of prison_local_ip4 in in_pcbbind_setup, and of 2009-02-05 14:25:53 +00:00
in_pcb.h Implement a new IP option (not compiled/enabled by default) to allow 2009-01-09 16:02:19 +00:00
in_proto.c For all files including net/vnet.h directly include opt_route.h and 2009-02-27 14:12:05 +00:00
in_rmx.c For all files including net/vnet.h directly include opt_route.h and 2009-02-27 14:12:05 +00:00
in_systm.h Use uint32_t instead of n_long and n_time, and uint16_t instead of n_short. 2009-02-13 15:14:43 +00:00
in_var.h This main goals of this project are: 2008-12-15 06:10:57 +00:00
in.c Standardize the various prison_foo_ip[46] functions and prison_if to 2009-02-05 14:06:09 +00:00
in.h Add various defines/macros required by IGMPv3: 2009-03-04 03:01:05 +00:00
ip6.h Start removing IPv6 Type 0 Routing header code. 2009-03-03 13:12:12 +00:00
ip_carp.c This main goals of this project are: 2008-12-15 06:10:57 +00:00
ip_carp.h
ip_divert.c Adds support for SCTP checksum offload. This means 2009-02-03 11:00:43 +00:00
ip_divert.h
ip_dummynet.c curr_time is a 64 bit variable so SYSCTL_LONG is not appropriate 2009-03-02 22:16:50 +00:00
ip_dummynet.h
ip_ecn.c
ip_ecn.h
ip_encap.c
ip_encap.h
ip_fastfwd.c This main goals of this project are: 2008-12-15 06:10:57 +00:00
ip_fw2.c fw_debug has been unused for ages, so remove it from the list 2009-03-02 22:11:48 +00:00
ip_fw_nat.c Add SCTP NAT support. 2009-02-07 18:49:42 +00:00
ip_fw_pfil.c correct some #include 2009-02-16 15:10:51 +00:00
ip_fw.h fw_debug has been unused for ages, so remove it from the list 2009-03-02 22:11:48 +00:00
ip_gre.c
ip_gre.h
ip_icmp.c Use uint32_t instead of n_long and n_time, and uint16_t instead of n_short. 2009-02-13 15:14:43 +00:00
ip_icmp.h Use uint32_t instead of n_long and n_time, and uint16_t instead of n_short. 2009-02-13 15:14:43 +00:00
ip_id.c
ip_input.c For all files including net/vnet.h directly include opt_route.h and 2009-02-27 14:12:05 +00:00
ip_ipsec.c Try to remove/assimilate as much of formerly IPv4/6 specific 2009-02-08 09:27:07 +00:00
ip_ipsec.h
ip_mroute.c
ip_mroute.h
ip_options.c Add function ip_checkrouteralert(), which will be used 2009-03-04 02:51:22 +00:00
ip_options.h Add function ip_checkrouteralert(), which will be used 2009-03-04 02:51:22 +00:00
ip_output.c In ip_output(), do not acquire the IN_MULTI_LOCK(), 2009-03-04 03:45:34 +00:00
ip_var.h Put a global variables, which were virtualized but formerly 2008-12-11 16:26:38 +00:00
ip.h Use uint32_t instead of n_long and n_time, and uint16_t instead of n_short. 2009-02-13 15:14:43 +00:00
pim_var.h
pim.h
raw_ip.c For all files including net/vnet.h directly include opt_route.h and 2009-02-27 14:12:05 +00:00
sctp_asconf.c Code from the hack-session known as the IETF (and a 2008-12-06 13:19:54 +00:00
sctp_asconf.h Code from the hack-session known as the IETF (and a 2008-12-06 13:19:54 +00:00
sctp_auth.c - Cleanup checksum code. 2009-02-03 11:04:03 +00:00
sctp_auth.h Code from the hack-session known as the IETF (and a 2008-12-06 13:19:54 +00:00
sctp_bsd_addr.c
sctp_bsd_addr.h
sctp_cc_functions.c
sctp_cc_functions.h
sctp_constants.h Add the add-stream capability. Still needs more 2009-02-20 15:03:54 +00:00
sctp_crc32.c Fix the add stream feature of strm-reset to really work: 2009-02-27 20:54:45 +00:00
sctp_crc32.h This commit fixes the issue with alias_sctp.c. No 2009-02-14 11:34:57 +00:00
sctp_header.h Add the add-stream capability. Still needs more 2009-02-20 15:03:54 +00:00
sctp_indata.c Code from the hack-session known as the IETF (and a 2008-12-06 13:19:54 +00:00
sctp_indata.h Code from the hack-session known as the IETF (and a 2008-12-06 13:19:54 +00:00
sctp_input.c Fix the add stream feature of strm-reset to really work: 2009-02-27 20:54:45 +00:00
sctp_input.h
sctp_lock_bsd.h
sctp_os_bsd.h For all files including net/vnet.h directly include opt_route.h and 2009-02-27 14:12:05 +00:00
sctp_os.h
sctp_output.c Fix the add stream feature of strm-reset to really work: 2009-02-27 20:54:45 +00:00
sctp_output.h Fix the add stream feature of strm-reset to really work: 2009-02-27 20:54:45 +00:00
sctp_pcb.c Add the add-stream capability. Still needs more 2009-02-20 15:03:54 +00:00
sctp_pcb.h - Cleanup checksum code. 2009-02-03 11:04:03 +00:00
sctp_peeloff.c
sctp_peeloff.h
sctp_structs.h Add the add-stream capability. Still needs more 2009-02-20 15:03:54 +00:00
sctp_sysctl.c Move the new rwnd field down to the very end 2009-02-13 14:43:46 +00:00
sctp_sysctl.h Code from the hack-session known as the IETF (and a 2008-12-06 13:19:54 +00:00
sctp_timer.c Code from the hack-session known as the IETF (and a 2008-12-06 13:19:54 +00:00
sctp_timer.h
sctp_uio.h Add the add-stream capability. Still needs more 2009-02-20 15:03:54 +00:00
sctp_usrreq.c Fix the add stream feature of strm-reset to really work: 2009-02-27 20:54:45 +00:00
sctp_var.h Code from the hack-session known as the IETF (and a 2008-12-06 13:19:54 +00:00
sctp.h Code from the hack-session known as the IETF (and a 2008-12-06 13:19:54 +00:00
sctputil.c Add the add-stream capability. Still needs more 2009-02-20 15:03:54 +00:00
sctputil.h - Cleanup checksum code. 2009-02-03 11:04:03 +00:00
tcp_debug.c
tcp_debug.h Use uint32_t instead of n_long and n_time, and uint16_t instead of n_short. 2009-02-13 15:14:43 +00:00
tcp_fsm.h
tcp_hostcache.c Use inc_flags instead of the inc_isipv6 alias which so far 2008-12-17 12:52:34 +00:00
tcp_hostcache.h
tcp_input.c Add TCP Appropriate Byte Counting (RFC 3465) support to kernel. 2009-01-15 06:44:22 +00:00
tcp_lro.c
tcp_lro.h
tcp_offload.c
tcp_offload.h
tcp_output.c
tcp_reass.c
tcp_sack.c Conditionally compile out V_ globals while instantiating the appropriate 2008-12-10 23:12:39 +00:00
tcp_seq.h
tcp_subr.c Use uint32_t instead of n_long and n_time, and uint16_t instead of n_short. 2009-02-13 15:14:43 +00:00
tcp_syncache.c Since we allow conditional allocation of labels on syncache entries, 2009-01-11 20:01:43 +00:00
tcp_syncache.h Move syncache flag definitions below data structure, compress some vertical 2008-12-10 11:11:43 +00:00
tcp_timer.c Add TCP Appropriate Byte Counting (RFC 3465) support to kernel. 2009-01-15 06:44:22 +00:00
tcp_timer.h
tcp_timewait.c Remove unreachable code for generating RST segments from tcp_twcheck(); 2009-02-28 22:58:52 +00:00
tcp_usrreq.c In tcp_usr_shutdown() and tcp_usr_send(), I missed converting NULL 2009-02-24 11:17:50 +00:00
tcp_var.h Add externs to fix build with VIMAGE_GLOBALS after r187289. 2009-01-22 10:29:09 +00:00
tcp.h
tcpip.h
toedev.h
udp_usrreq.c Standardize the various prison_foo_ip[46] functions and prison_if to 2009-02-05 14:06:09 +00:00
udp_var.h Add the ability of an alternate transport protocol 2009-01-06 12:13:40 +00:00
udp.h
vinet.h Add size-guards evaluated at compile-time to the main struct vnet_* 2009-03-01 11:01:00 +00:00