freebsd-nq/sys/netinet
Brooks Davis fc74a9f93a Stop embedding struct ifnet at the top of driver softcs. Instead the
struct ifnet or the layer 2 common structure it was embedded in have
been replaced with a struct ifnet pointer to be filled by a call to the
new function, if_alloc(). The layer 2 common structure is also allocated
via if_alloc() based on the interface type. It is hung off the new
struct ifnet member, if_l2com.

This change removes the size of these structures from the kernel ABI and
will allow us to better manage them as interfaces come and go.

Other changes of note:
 - Struct arpcom is no longer referenced in normal interface code.
   Instead the Ethernet address is accessed via the IFP2ENADDR() macro.
   To enforce this ac_enaddr has been renamed to _ac_enaddr.
 - The second argument to ether_ifattach is now always the mac address
   from driver private storage rather than sometimes being ac_enaddr.

Reviewed by:	sobomax, sam
2005-06-10 16:49:24 +00:00
..
libalias
accf_data.c
accf_http.c
icmp6.h
icmp_var.h
if_atm.c
if_atm.h
if_ether.c Add hooks into the networking layer to support if_bridge. This changes struct 2005-06-05 03:13:13 +00:00
if_ether.h
igmp_var.h
igmp.c
igmp.h
in_cksum.c
in_gif.c Stop embedding struct ifnet at the top of driver softcs. Instead the 2005-06-10 16:49:24 +00:00
in_gif.h
in_pcb.c Commit correct version of previous commit (in_pcb.c:1.164). Use the 2005-06-01 11:43:39 +00:00
in_pcb.h
in_proto.c
in_rmx.c
in_systm.h
in_var.h
in.c Use IFF_LOCKGIANT/IFF_UNLOCKGIANT around calls to the interface 2005-06-02 00:04:08 +00:00
in.h
ip6.h
ip_carp.c Stop embedding struct ifnet at the top of driver softcs. Instead the 2005-06-10 16:49:24 +00:00
ip_carp.h
ip_divert.c
ip_divert.h
ip_dummynet.c Add dummynet(4) support to if_bridge, this code is largely based on bridge.c. 2005-06-10 01:25:22 +00:00
ip_dummynet.h Add dummynet(4) support to if_bridge, this code is largely based on bridge.c. 2005-06-10 01:25:22 +00:00
ip_ecn.c
ip_ecn.h
ip_encap.c
ip_encap.h
ip_fastfwd.c
ip_fw2.c Modify send_pkt() to return the generated packet and have the caller 2005-06-10 12:28:17 +00:00
ip_fw_pfil.c
ip_fw.h Add support for IPv4 only rules to IPFW2 now that it supports IPv6 as well. 2005-06-03 01:10:28 +00:00
ip_gre.c Stop embedding struct ifnet at the top of driver softcs. Instead the 2005-06-10 16:49:24 +00:00
ip_gre.h
ip_icmp.c
ip_icmp.h
ip_id.c
ip_input.c
ip_mroute.c
ip_mroute.h
ip_output.c Stop embedding struct ifnet at the top of driver softcs. Instead the 2005-06-10 16:49:24 +00:00
ip_var.h
ip.h
ipprotosw.h
pim_var.h
pim.h
raw_ip.c Slight white space tweak. 2005-06-01 11:38:35 +00:00
tcp_debug.c
tcp_debug.h
tcp_fsm.h
tcp_hostcache.c
tcp_input.c Assert that tcbinfo is locked in tcp_input() before calling into 2005-06-01 12:03:18 +00:00
tcp_output.c Replace t_force with a t_flag (TF_FORCEDATA). 2005-05-21 00:38:29 +00:00
tcp_reass.c Assert that tcbinfo is locked in tcp_input() before calling into 2005-06-01 12:03:18 +00:00
tcp_sack.c Fix a mis-merge. Remove a redundant call to tcp_sackhole_insert 2005-06-09 17:55:29 +00:00
tcp_seq.h
tcp_subr.c Assert tcbinfo lock in tcp_drop() due to its call of tcp_close() 2005-06-01 12:06:07 +00:00
tcp_syncache.c
tcp_timer.c Replace t_force with a t_flag (TF_FORCEDATA). 2005-05-21 00:38:29 +00:00
tcp_timer.h
tcp_timewait.c Assert tcbinfo lock in tcp_drop() due to its call of tcp_close() 2005-06-01 12:06:07 +00:00
tcp_usrreq.c When aborting tcp_attach() due to a problem allocating or attaching the 2005-06-01 12:14:56 +00:00
tcp_var.h Changes to tcp_sack_option() that 2005-06-04 08:03:28 +00:00
tcp.h Rewrite of tcp_sack_option(). Kentaro Kurahone (NetBSD) pointed out 2005-05-23 19:22:48 +00:00
tcpip.h
udp_usrreq.c De-spl UDP. 2005-06-01 11:24:00 +00:00
udp_var.h
udp.h