NetBSD/sys/net
gehenna 77a6b82b27 Merge the gehenna-devsw branch into the trunk.
This merge changes the device switch tables from static array to
dynamically generated by config(8).

- All device switches is defined as a constant structure in device drivers.

- The new grammer ``device-major'' is introduced to ``files''.

	device-major <prefix> char <num> [block <num>] [<rules>]

- All device major numbers must be listed up in port dependent majors.<arch>
  by using this grammer.

- Added the new naming convention.
  The name of the device switch must be <prefix>_[bc]devsw for auto-generation
  of device switch tables.

- The backward compatibility of loading block/character device
  switch by LKM framework is broken. This is necessary to convert
  from block/character device major to device name in runtime and vice versa.

- The restriction to assign device major by LKM is completely removed.
  We don't need to reserve LKM entries for dynamic loading of device switch.

- In compile time, device major numbers list is packed into the kernel and
  the LKM framework will refer it to assign device major number dynamically.
2002-09-06 13:18:43 +00:00
..
Makefile
bpf.c Merge the gehenna-devsw branch into the trunk. 2002-09-06 13:18:43 +00:00
bpf.h Define new kernel interface bpfattach2() to register another data link 2002-08-28 09:34:57 +00:00
bpf_filter.c
bpfdesc.h
bridgestp.c
bsd-comp.c
dlt.h Define new DLT: DLT_IEEE802_11, DLT_PRISM_HEADER, and DLT_AIRONET_HEADER 2002-08-28 09:31:20 +00:00
ethertypes.h Add the Ethertype for 802.3x flow control packets. 2002-02-10 01:28:32 +00:00
if.c Fix signed/unsigned comparison warnings from GCC 3.3. 2002-08-26 01:36:37 +00:00
if.h Fix signed/unsigned comparison warnings from GCC 3.3. 2002-08-26 01:36:37 +00:00
if_arc.h Eliminate common. 2002-05-13 23:50:32 +00:00
if_arcsubr.c bring in latest ALTQ from kjc. ALTQify some of the drivers. 2002-03-05 04:12:57 +00:00
if_arp.h integrate IEEE1394 ARP into generic ARP logic. 2002-06-24 08:06:20 +00:00
if_atm.h
if_atmsubr.c
if_bridge.c Add a function to lookup bridge members by struct ifnet * and use 2002-08-24 19:00:31 +00:00
if_bridgevar.h
if_dl.h
if_eco.h
if_ecosubr.c
if_ether.h bring in latest ALTQ from kjc. ALTQify some of the drivers. 2002-03-05 04:12:57 +00:00
if_ethersubr.c Fix some signed/unsigned comparison warnings from GCC 3.3. 2002-08-26 01:39:39 +00:00
if_faith.c no need to set rmx_send/recvpipe. 2002-06-04 22:11:15 +00:00
if_faith.h
if_fddi.h
if_fddisubr.c add a blank line 2002-06-04 10:00:24 +00:00
if_gif.c drop too short IPv6 frame 2002-06-13 05:10:34 +00:00
if_gif.h
if_gre.c avoid swapping endian of ip_len and ip_off on mbuf, to meet with M_LEADINGSPACE 2002-08-14 00:23:27 +00:00
if_gre.h Clear M_BCAST and M_MCAST on outgoing mbufs. 2002-02-24 17:22:20 +00:00
if_hippi.h
if_hippisubr.c correect AF_INET6 handling 2002-06-13 05:09:52 +00:00
if_ieee1394.h
if_ieee1394subr.c Fill ar_hrd for AF_ARP. 2002-06-25 03:42:28 +00:00
if_ieee80211.h Several fixes hostap for awi driver: 2002-09-03 14:54:00 +00:00
if_ieee80211subr.c Several fixes hostap for awi driver: 2002-09-03 14:54:00 +00:00
if_llc.h
if_loop.c
if_media.c
if_media.h Delete IFM_IEEE80211_IBSS [ibss] and IFM_IEEE80211_IBSSMASTER [ibss-master] 2002-08-21 03:22:04 +00:00
if_ppp.c new copyright boilerplate from CMU. from openbsd 2002-07-01 22:09:31 +00:00
if_ppp.h new copyright boilerplate from CMU. from openbsd 2002-07-01 22:09:31 +00:00
if_pppoe.c Apply patch from Todd Vierling in PR kern/17665: 2002-09-01 18:06:59 +00:00
if_pppoe.h Fix copyright notice. 2002-04-14 12:24:26 +00:00
if_pppvar.h new copyright boilerplate from CMU. from openbsd 2002-07-01 22:09:31 +00:00
if_sl.c Convert ioctl code to use EPASSTHROUGH instead of -1 or ENOTTY for 2002-03-17 19:40:26 +00:00
if_slvar.h
if_sppp.h Fix copyright notice. 2002-04-14 12:24:26 +00:00
if_spppsubr.c If the peer did not answer LCP echo requests in-time, but we got user 2002-09-01 18:54:12 +00:00
if_spppvar.h Don't throw away the name and the secret lengths. This eliminates all the 2002-07-28 19:54:47 +00:00
if_stf.c avoid swapping endian of ip_len and ip_off on mbuf, to meet with M_LEADINGSPACE 2002-08-14 00:23:27 +00:00
if_stf.h
if_strip.c Convert ioctl code to use EPASSTHROUGH instead of -1 or ENOTTY for 2002-03-17 19:40:26 +00:00
if_stripvar.h
if_token.h
if_tokensubr.c
if_tun.c Merge the gehenna-devsw branch into the trunk. 2002-09-06 13:18:43 +00:00
if_tun.h
if_types.h use iana-assigned value for IFT_STF. sync w/kame 2002-07-10 21:01:06 +00:00
if_vlan.c fix a few typos in comments 2002-06-11 06:00:57 +00:00
if_vlanvar.h
net_osdep.c
net_osdep.h
netisr.h Eliminate more commons. 2002-05-12 20:40:11 +00:00
netisr_dispatch.h
pfil.c
pfil.h
pfkeyv2.h
ppp-comp.h new copyright boilerplate from CMU. from openbsd 2002-07-01 22:09:31 +00:00
ppp-deflate.c Fix what looks like a merge error: olen = 0 in z_decompress, not 2002-03-13 04:04:00 +00:00
ppp_defs.h
ppp_tty.c Merge the gehenna-devsw branch into the trunk. 2002-09-06 13:18:43 +00:00
radix.c
radix.h
raw_cb.c Eliminate more commons. 2002-05-12 20:40:11 +00:00
raw_cb.h Eliminate more commons. 2002-05-12 20:40:11 +00:00
raw_usrreq.c
route.c Fix a signed/unsigned comparison warning from GCC 3.3. 2002-08-26 01:42:28 +00:00
route.h Eliminate more commons. 2002-05-12 20:40:11 +00:00
rtsock.c PR/15703: Sean Boudreau: Case in route_output() where struct rtentry *rt 2002-02-22 17:26:31 +00:00
slcompress.c
slcompress.h
slip.h
zlib.c #if 0 a couple of unused functions. 2002-08-20 03:52:26 +00:00
zlib.h Upgrade this generated version to be based on zlib-1.1.4 2002-03-13 03:59:35 +00:00