NetBSD/sys/net
dyoung 225bd76ac3 I changed pppoutput to use M_PREPEND. pppoutput was duplicating
the functionality of M_PREPEND, but with a bug: m_pkthdr.len was
not updated in pppoutput as it is in M_PREPEND.

Also, replace the loop that measures the length of the mbuf chain
with a call to m_length.

This fixes a PR from an anonymous bug reporter.  Thank you, anonymous
bug reporter.  Thanks, Itojun, for bringing the anonymous bug report
to my attention.
2004-07-03 18:11:33 +00:00
..
bpf_filter.c
bpf.c Per Matt Thomas' and Darren Reed's suggestions: 2004-06-06 04:35:53 +00:00
bpf.h back out previous change - these diffs aren't what I'd tested. 2004-05-29 14:18:33 +00:00
bpfdesc.h back out previous change - these diffs aren't what I'd tested. 2004-05-29 14:18:33 +00:00
bridgestp.c
bsd-comp.c
dlt.h prepare PF-related hooks. reviewed by matt, perry, christos 2004-06-22 12:50:41 +00:00
ethertypes.h
files.pf foundation for PF 2004-06-22 14:04:04 +00:00
if_arc.h
if_arcsubr.c
if_arp.h
if_atm.h
if_atmsubr.c kill sprintf, use snprintf 2004-04-21 18:40:37 +00:00
if_bridge.c kill a sprintf 2004-04-21 19:10:31 +00:00
if_bridgevar.h
if_dl.h
if_eco.h
if_ecosubr.c kill sprintf, use snprintf 2004-04-21 18:40:37 +00:00
if_ether.h
if_ethersubr.c Rename MBUFTRACE helper function m_claim() to m_claimm(), 2004-06-24 04:15:50 +00:00
if_faith.c kill sprintf, use snprintf 2004-04-21 18:40:37 +00:00
if_faith.h
if_fddi.h
if_fddisubr.c
if_gif.c kill sprintf, use snprintf 2004-04-21 18:40:37 +00:00
if_gif.h
if_gre.c Mark gre(4) interfaces as IFT_TUNNEL (Encapsulation interface). 2004-05-13 11:29:40 +00:00
if_gre.h
if_hippi.h
if_hippisubr.c
if_ieee1394.h
if_ieee1394subr.c
if_llc.h
if_loop.c kill sprintf, use snprintf 2004-04-21 18:40:37 +00:00
if_media.c
if_media.h
if_ppp.c I changed pppoutput to use M_PREPEND. pppoutput was duplicating 2004-07-03 18:11:33 +00:00
if_ppp.h
if_pppoe.c kill sprintf, use snprintf 2004-04-21 18:40:37 +00:00
if_pppoe.h
if_pppvar.h
if_sl.c kill sprintf, use snprintf 2004-04-21 18:40:37 +00:00
if_slvar.h
if_sppp.h
if_spppsubr.c sprintf -> snprintf 2004-04-21 17:45:38 +00:00
if_spppvar.h
if_stf.c Remove #else of #if __STDC__ 2004-04-26 01:41:15 +00:00
if_stf.h
if_strip.c kill sprintf, use snprintf 2004-04-21 18:40:37 +00:00
if_stripvar.h
if_token.h
if_tokensubr.c Onno van der Linden assigned copyright for his work on this file 2004-06-18 19:41:25 +00:00
if_tun.c Use bpf_mtap2 in tun(4). 2004-06-06 04:36:29 +00:00
if_tun.h
if_types.h prepare PF-related hooks. reviewed by matt, perry, christos 2004-06-22 12:50:41 +00:00
if_vlan.c s/the the/the/ (only in sources that aren't regularly imported from 2004-04-23 02:58:27 +00:00
if_vlanvar.h
if.c prepare PF-related hooks. reviewed by matt, perry, christos 2004-06-22 12:50:41 +00:00
if.h
Makefile fix "includes" for pfvar.h 2004-06-22 14:29:45 +00:00
net_osdep.h
netisr_dispatch.h
netisr.h
pfil.c prepare PF-related hooks. reviewed by matt, perry, christos 2004-06-22 12:50:41 +00:00
pfil.h prepare PF-related hooks. reviewed by matt, perry, christos 2004-06-22 12:50:41 +00:00
pfkeyv2.h Initial commit of a port of the FreeBSD implementation of RFC 2385 2004-04-25 22:25:03 +00:00
ppp_defs.h Remove #else of #if __STDC__ 2004-04-26 01:41:15 +00:00
ppp_tty.c
ppp-comp.h
ppp-deflate.c
radix.c ANSI-fy and some additional de-__P and constification. 2004-04-21 21:03:43 +00:00
radix.h ANSI-fy and some additional de-__P and constification. 2004-04-21 21:03:43 +00:00
raw_cb.c
raw_cb.h
raw_usrreq.c Remove #else of #if __STDC__ 2004-04-26 01:41:15 +00:00
route.c Initialise (most) pools from a link set instead of explicit calls 2004-04-25 16:42:40 +00:00
route.h ANSI-fy and some additional de-__P and constification. 2004-04-21 21:03:43 +00:00
rtsock.c Sysctl descriptions under net subtree (net.key not done) 2004-05-25 04:33:59 +00:00
slcompress.c
slcompress.h
slip.h
zlib.c
zlib.h