NetBSD/sys/net
dsl 34519fcf41 Move the body of VLAN_INPUT_TAG() into a static inline function.
(Maybe it shouldn't even be inline - but I'd have to work out where to put it).
VLAN_INPUT_TAG() now calls vlan_input_tag() and does '_errcase' when it fails.
In reality the callers should all be changed, _errcase is ALWAYS continue,
which used to 'continue' (ie break) the do .. while (0) loop - not the
intended action!
Found by ramming all the kernel sources through a modified lint and grepping
for a specific error.
While here enclose the body of VLAN_OUTPUT_TAG() in ().
2008-07-25 20:04:50 +00:00
..
agr agr_ioctl_filter: comment the intention. 2008-05-19 02:53:47 +00:00
bpf_filter.c
bpf.c - add if_alloc (ours just mallocs), and if_initname and use them (from FreeBSD) 2008-06-15 16:37:21 +00:00
bpf.h
bpfdesc.h
bridgestp.c
bsd-comp.c - add if_alloc (ours just mallocs), and if_initname and use them (from FreeBSD) 2008-06-15 16:37:21 +00:00
dlt.h
ethertypes.h
files.pf merge yamt-pf42 branch. 2008-06-18 09:06:25 +00:00
if_arc.h
if_arcsubr.c
if_arp.h
if_atm.h
if_atmsubr.c - add if_alloc (ours just mallocs), and if_initname and use them (from FreeBSD) 2008-06-15 16:37:21 +00:00
if_bridge.c - add if_alloc (ours just mallocs), and if_initname and use them (from FreeBSD) 2008-06-15 16:37:21 +00:00
if_bridgevar.h
if_dl.h
if_eco.h
if_ecosubr.c
if_ether.h Move the body of VLAN_INPUT_TAG() into a static inline function. 2008-07-25 20:04:50 +00:00
if_etherip.c make this compile again 2008-07-10 05:15:32 +00:00
if_etherip.h - device/softc split 2008-07-09 13:18:41 +00:00
if_ethersubr.c Fix this another way: add the missing case statement. 2008-07-23 06:34:31 +00:00
if_faith.c that should read if_alloc. 2008-06-15 18:40:55 +00:00
if_faith.h
if_fddi.h
if_fddisubr.c Where applicable, s/0/NULL/, s/Bcmp/memcmp/. Remove a gratuitous 2008-05-11 20:13:30 +00:00
if_gif.c - add if_alloc (ours just mallocs), and if_initname and use them (from FreeBSD) 2008-06-15 16:37:21 +00:00
if_gif.h
if_gre.c Replace references to getsock/getvnode. 2008-06-24 11:18:14 +00:00
if_gre.h Note both my contribution and NSF funding. 2008-05-15 04:03:53 +00:00
if_hippi.h
if_hippisubr.c
if_ieee1394.h
if_ieee1394subr.c
if_llc.h
if_loop.c - add if_alloc (ours just mallocs), and if_initname and use them (from FreeBSD) 2008-06-15 16:37:21 +00:00
if_media.c - Add more definitions from FreeBSD 2008-06-15 16:33:58 +00:00
if_media.h - Add more definitions from FreeBSD 2008-06-15 16:33:58 +00:00
if_ppp.c - add if_alloc (ours just mallocs), and if_initname and use them (from FreeBSD) 2008-06-15 16:37:21 +00:00
if_ppp.h
if_pppoe.c - add if_alloc (ours just mallocs), and if_initname and use them (from FreeBSD) 2008-06-15 16:37:21 +00:00
if_pppoe.h
if_pppvar.h
if_sl.c - add if_alloc (ours just mallocs), and if_initname and use them (from FreeBSD) 2008-06-15 16:37:21 +00:00
if_slvar.h
if_sppp.h
if_spppsubr.c ioctl commands are unsigned long. 2008-06-24 10:32:14 +00:00
if_spppvar.h
if_srt.c - add if_alloc (ours just mallocs), and if_initname and use them (from FreeBSD) 2008-06-15 16:37:21 +00:00
if_srt.h
if_stf.c - add if_alloc (ours just mallocs), and if_initname and use them (from FreeBSD) 2008-06-15 16:37:21 +00:00
if_stf.h
if_strip.c - add if_alloc (ours just mallocs), and if_initname and use them (from FreeBSD) 2008-06-15 16:37:21 +00:00
if_stripvar.h
if_tap.c device_private(device_lookup()) -> device_lookup_private() 2008-06-10 22:53:08 +00:00
if_tap.h
if_token.h
if_tokensubr.c
if_tun.c - add if_alloc (ours just mallocs), and if_initname and use them (from FreeBSD) 2008-06-15 16:37:21 +00:00
if_tun.h
if_types.h
if_vlan.c - add if_alloc (ours just mallocs), and if_initname and use them (from FreeBSD) 2008-06-15 16:37:21 +00:00
if_vlanvar.h
if.c merge yamt-pf42 branch. 2008-06-18 09:06:25 +00:00
if.h merge yamt-pf42 branch. 2008-06-18 09:06:25 +00:00
link_proto.c Let us call ioctl(SIOC[ADG]LIFADDR) with a link-layer address on 2008-05-13 18:09:22 +00:00
Makefile Back out previous. It broke the build. 2008-05-05 13:41:29 +00:00
net_osdep.h
net_stats.c
net_stats.h
netisr_dispatch.h
netisr.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_defs.h
ppp_tty.c Properly fix the "hanging in tty" bug that was worked around with cv_wakeup() 2008-05-25 19:22:21 +00:00
ppp-comp.h
ppp-deflate.c Back out previous. It broke the build. 2008-05-05 13:41:29 +00:00
radix.c Use memset, memmove, and memcmp instead of Bzero, Bcopy, and Bcmp, 2008-05-11 20:14:41 +00:00
radix.h Bzero, Bcmp, and Bcopy are not used any more, so delete them. 2008-05-11 20:22:38 +00:00
raw_cb.c
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 rtinit() should pass RTM_ADD to ifa->ifa_rtrequest instead of cmd, 2008-05-13 20:49:33 +00:00
route.h
rtsock.c Fix previous: a well hidden assignment was lost. 2008-06-15 20:36:55 +00:00
slcompress.c remove unnecessary casts. 2008-06-15 16:35:35 +00:00
slcompress.h
slip.h
zlib.c Back out previous. It broke the build. 2008-05-05 13:41:29 +00:00
zlib.h