freebsd-skq/sys/netinet
Garrett Wollman 9c9137ea6c Three speed-ups in the output path (two small, one substantial):
1) Require all callers to pass a valid route pointer to ip_output()
   so that we don't have to check and allocate one off the stack
   as was done before.  This eliminates one test and some stack
    bloat from the common (UDP and TCP) case.

2) Perform the IP header checksum in-line if it's of the usual length.
    This results in about a 5% speed-up in my packet-generation test.

3) Use ip_vhl field rather than ip_v and ip_hl bitfields.
1996-04-18 15:49:06 +00:00
..
icmp_var.h Add lots of useful MIB variables and a few not-so-useful ones for 1995-02-16 00:27:47 +00:00
if_ether.c Send ARP's for aliased subnets with the proper source address. 1996-03-23 01:32:30 +00:00
if_ether.h Send ARP's for aliased subnets with the proper source address. 1996-03-23 01:32:30 +00:00
if_fddi.h The last part of the ether_sprint -> %6D change. 1996-01-26 09:29:29 +00:00
igmp_var.h IGMPv2 routines rewritten, to be more compact and to fully comply 1996-03-14 16:59:20 +00:00
igmp.c Always call ip_output() with a valid route pointer. For igmp, also get the 1996-04-18 15:41:11 +00:00
igmp.h IGMPv2 routines rewritten, to be more compact and to fully comply 1996-03-14 16:59:20 +00:00
in_cksum.c Remove trailing whitespace. 1995-05-30 08:16:23 +00:00
in_pcb.c Move or add #include <queue.h> in preparation for upcoming struct socket 1996-03-11 15:13:58 +00:00
in_pcb.h Make the default behavior of local port assignment match traditional 1996-02-22 21:32:23 +00:00
in_proto.c Fix a warning by not referencing ip_output() as a pr_output() member. 1996-04-18 15:41:51 +00:00
in_rmx.c First piece of fixing ppp/proxy arp problem: 1996-01-23 05:15:30 +00:00
in_systm.h Made idempotent. 1994-08-21 05:27:42 +00:00
in_var.h IGMPv2 routines rewritten, to be more compact and to fully comply 1996-03-14 16:59:20 +00:00
in.c Added proper splnet protection while modifying the interface address list. 1996-04-07 06:59:52 +00:00
in.h Add feature for tcp "established". 1996-04-03 13:52:20 +00:00
ip_fw.c Add feature for tcp "established". 1996-04-03 13:52:20 +00:00
ip_fw.h Add feature for tcp "established". 1996-04-03 13:52:20 +00:00
ip_icmp.c Always pass a route structure when calling ip_output(). 1996-04-03 18:52:22 +00:00
ip_icmp.h Fix a bunch of spelling errors in the comment fields of 1996-01-30 23:02:38 +00:00
ip_input.c Fix a bogon I introduced with my last change. 1996-04-12 09:24:22 +00:00
ip_mroute.c Always call ip_output() with a valid route pointer. For igmp, also get the 1996-04-18 15:41:11 +00:00
ip_mroute.h Completed function declarations and/or added prototypes. 1995-12-02 19:38:06 +00:00
ip_output.c Three speed-ups in the output path (two small, one substantial): 1996-04-18 15:49:06 +00:00
ip_var.h Make rip_input() take the header length 1996-03-26 19:16:46 +00:00
ip.h Define a few macros useful in the _IP_VHL case. 1996-04-18 15:42:50 +00:00
raw_ip.c Make rip_input() take the header length 1996-03-26 19:16:46 +00:00
tcp_debug.c Eliminated sloppy common-style declarations. Now there are no duplicated 1996-04-13 12:45:57 +00:00
tcp_debug.h Eliminated sloppy common-style declarations. Now there are no duplicated 1996-04-13 12:45:57 +00:00
tcp_fsm.h New style sysctl & staticize alot of stuff. 1995-11-14 20:34:56 +00:00
tcp_input.c Logging UDP and TCP connection attempts should not be enabled by default. 1996-04-09 07:01:53 +00:00
tcp_output.c Two fixes from Rich Stevens: 1996-04-15 03:46:33 +00:00
tcp_reass.c Logging UDP and TCP connection attempts should not be enabled by default. 1996-04-09 07:01:53 +00:00
tcp_seq.h Finish 4.4-Lite-2 merge: randomize TCP initial sequence numbers 1995-10-03 16:54:17 +00:00
tcp_subr.c In tcp_respond(), check that ro->ro_rt is non-null before RTFREEing 1996-03-27 18:23:16 +00:00
tcp_timer.c Two fixes from Rich Stevens: 1996-04-15 03:46:33 +00:00
tcp_timer.h Fix a bunch of spelling errors in the comment fields of 1996-01-30 23:02:38 +00:00
tcp_timewait.c In tcp_respond(), check that ro->ro_rt is non-null before RTFREEing 1996-03-27 18:23:16 +00:00
tcp_usrreq.c Move or add #include <queue.h> in preparation for upcoming struct socket 1996-03-11 15:13:58 +00:00
tcp_var.h A number of performance-reducing flaws fixed based on comments 1996-03-22 18:09:21 +00:00
tcp.h Remove trailing whitespace. 1995-05-30 08:16:23 +00:00
tcpip.h Merge in T/TCP TCP header file changes. 1995-02-08 20:18:48 +00:00
udp_usrreq.c Logging UDP and TCP connection attempts should not be enabled by default. 1996-04-09 07:01:53 +00:00
udp_var.h Uniformized pr_ctlinput protosw functions. The third arg is now `void 1995-12-16 02:14:44 +00:00
udp.h Made idempotent. 1994-08-21 05:27:42 +00:00