NetBSD/sys/net
dyoung 7a9941f8e8 Use sysctl(9) to expose to userland each interface transmission
queue's maximum length, current length, and number of drops.  E.g.,

% sysctl net.interfaces.bnx0
net.interfaces.bnx0.sndq.len = 0
net.interfaces.bnx0.sndq.maxlen = 509
net.interfaces.bnx0.sndq.drops = 0

Let userland adjust the maximum queue length.

While I'm here, add a 64-bit generation number, if_index_gen, to
ifnet; the pair [ifp->if_index, ifp->if_index_gen] can serve to
identify an ifnet for the lifetime of the system.  I will use this
in an upcoming change.

Ok matt@.
2009-08-13 00:23:31 +00:00
..
agr comment style. no functional change. 2009-06-09 22:21:54 +00:00
Makefile No need to include bsd.subdir.mk as bsd.kinc.mk already includes it. 2009-05-30 09:04:35 +00:00
bpf.c Fix locking as Andy explained. Also fill in uid and gid like sys_pipe did. 2009-04-11 23:05:26 +00:00
bpf.h restore binary compatibility on 64 bit systems. 2009-01-13 19:10:52 +00:00
bpf_filter.c As the scratch memory is only ever copied to or from A and X, make it 2008-08-20 13:01:54 +00:00
bpfdesc.h Fix PR/37878 and PR/37550: Provide stat(2) for all devices and don't use 2009-04-11 15:47:33 +00:00
bridgestp.c Fix multiple problems: 2009-01-18 10:28:55 +00:00
bsd-comp.c Fix handling of ppp compressor modules, from Andrew Doran's input. 2008-11-29 23:15:20 +00:00
dlt.h
ethertypes.h
files.pf merge yamt-pf42 branch. 2008-06-18 09:06:25 +00:00
if.c Use sysctl(9) to expose to userland each interface transmission 2009-08-13 00:23:31 +00:00
if.h Use sysctl(9) to expose to userland each interface transmission 2009-08-13 00:23:31 +00:00
if_arc.h
if_arcsubr.c *** Summary *** 2008-11-07 00:20:01 +00:00
if_arp.h
if_atm.h
if_atmsubr.c Remove extra whitespace added by a stupid tool. 2009-04-18 14:58:02 +00:00
if_bridge.c fix crash in bridge_ioctl(): 2009-05-17 11:34:21 +00:00
if_bridgevar.h Fix for if_start() and pfil_hook() being called from hardware interrupt 2009-04-04 10:00:23 +00:00
if_dl.h
if_eco.h
if_ecosubr.c bzero -> memset 2009-03-18 16:00:08 +00:00
if_ether.h bcmp -> memcmp 2009-03-18 15:14:29 +00:00
if_etherip.c bcmp -> memcmp 2009-03-18 15:14:29 +00:00
if_etherip.h Remove LKMs and switch to the module framework, pass 1. 2008-11-12 12:35:50 +00:00
if_ethersubr.c Add vlan support and hardware offload capabilities to agr. 2009-05-29 04:57:04 +00:00
if_faith.c *** Summary *** 2008-11-07 00:20:01 +00:00
if_faith.h
if_fddi.h
if_fddisubr.c *** Summary *** 2008-11-07 00:20:01 +00:00
if_gif.c *** Summary *** 2008-11-07 00:20:01 +00:00
if_gif.h Remove LKMs and switch to the module framework, pass 1. 2008-11-12 12:35:50 +00:00
if_gre.c Let this build even if 'no options INET'. 2009-04-28 23:05:25 +00:00
if_gre.h Replace most gcc-specific __attribute__ uses with BSD-style sys/cdef.h 2008-09-08 23:36:53 +00:00
if_hippi.h
if_hippisubr.c Remove extra whitespace added by a stupid tool. 2009-04-18 14:58:02 +00:00
if_ieee1394.h
if_ieee1394subr.c *** Summary *** 2008-11-07 00:20:01 +00:00
if_llc.h Replace most gcc-specific __attribute__ uses with BSD-style sys/cdef.h 2008-09-08 23:36:53 +00:00
if_loop.c *** Summary *** 2008-11-07 00:20:01 +00:00
if_media.c - Add more definitions from FreeBSD 2008-06-15 16:33:58 +00:00
if_media.h Add 1000BASE-BX10. 2009-08-12 11:17:17 +00:00
if_ppp.c Remove a few KAUTH_GENERIC_ISSUSER in favor of more descriptive 2009-04-15 20:44:24 +00:00
if_ppp.h Fix handling of ppp compressor modules, from Andrew Doran's input. 2008-11-29 23:15:20 +00:00
if_pppoe.c PR/40690: Jordan Gordeev: pppoe(4) doesn't work when PPPoE relays are present 2009-02-19 15:17:50 +00:00
if_pppoe.h
if_pppvar.h
if_sl.c Introduce actions/requests to handle authorization for ppp(4), sl(4), 2009-05-07 18:01:56 +00:00
if_slvar.h
if_sppp.h
if_spppsubr.c Remove extra whitespace added by a stupid tool. 2009-04-18 14:58:02 +00:00
if_spppvar.h Backout previous/restore initial fix for PR kern/39280. 2008-08-22 12:13:18 +00:00
if_srt.c bzero -> memset 2009-03-18 16:00:08 +00:00
if_srt.h
if_stf.c Remove extra whitespace added by a stupid tool. 2009-04-18 14:58:02 +00:00
if_stf.h
if_strip.c Introduce actions/requests to handle authorization for ppp(4), sl(4), 2009-05-07 18:01:56 +00:00
if_stripvar.h
if_tap.c Avoid a kernel assertion failure upstream by using FSTATE_NOTFOUND 2009-07-23 17:53:17 +00:00
if_tap.h Convert to new 2 clause license 2008-04-29 06:53:00 +00:00
if_token.h
if_tokensubr.c Remove extra whitespace added by a stupid tool. 2009-04-18 14:58:02 +00:00
if_tun.c Add and use a network scope action/request for tun(4), similar to ppp(4), 2009-05-08 11:09:43 +00:00
if_tun.h
if_types.h
if_vlan.c Also inherit the parent's TCP segmentation offload capability. 2009-04-01 22:56:59 +00:00
if_vlanvar.h
link_proto.c *** Summary *** 2008-11-07 00:20:01 +00:00
net_osdep.h Provide privilege checking code snippets for all significant NetBSD 2009-05-06 22:17:41 +00:00
net_stats.c Simplify the interface to netstat_sysctl() and allocate space for 2008-05-04 07:22:14 +00:00
net_stats.h Simplify the interface to netstat_sysctl() and allocate space for 2008-05-04 07:22:14 +00:00
netisr.h Remove LKMs and switch to the module framework, pass 1. 2008-11-12 12:35:50 +00:00
netisr_dispatch.h
pfil.c Cosmetic: use LIST_FOREACH(). Join lines. 2008-06-23 03:13:12 +00:00
pfil.h remove clause #3 from my license where there are no other 2008-05-29 14:51:25 +00:00
pfkeyv2.h
ppp-comp.h Fix handling of ppp compressor modules, from Andrew Doran's input. 2008-11-29 23:15:20 +00:00
ppp-deflate.c kill MALLOC and FREE macros. 2008-12-17 20:51:31 +00:00
ppp_defs.h
ppp_tty.c Introduce actions/requests to handle authorization for ppp(4), sl(4), 2009-05-07 18:01:56 +00:00
radix.c Make it possible to register delayed radix tree head inits which 2009-05-27 17:46:49 +00:00
radix.h Make it possible to register delayed radix tree head inits which 2009-05-27 17:46:49 +00:00
raw_cb.c Remove the pcb from the rawcb list before sofree'ing it. 2008-08-04 06:19:35 +00:00
raw_cb.h
raw_usrreq.c Delete local variable 'sockets', whose value is never used. Reported 2008-05-29 17:26:56 +00:00
route.c Centralize the ROUNDUP and ADVANCE macro in a header file, give them an 2009-04-02 21:02:06 +00:00
route.h Centralize the ROUNDUP and ADVANCE macro in a header file, give them an 2009-04-02 21:02:06 +00:00
rtsock.c Centralize the ROUNDUP and ADVANCE macro in a header file, give them an 2009-04-02 21:02:06 +00:00
slcompress.c Use memcmp(9) and memcpy(9) directly rather than via 2009-04-18 15:20:06 +00:00
slcompress.h
slip.h
zlib.c Ansify function definitions w/o arguments. Generated with sed. 2009-03-18 10:22:21 +00:00
zlib.h Fixes PR kern/41069 and PR kern/41070. 2009-03-25 01:26:12 +00:00