summaryrefslogtreecommitdiff
path: root/sys/net/if_ppp.c
AgeCommit message (Collapse)Author
2002-03-14First round of __P removal in sysTodd C. Miller
2002-02-13sync with KAME.Kenjiro Cho
make altq actually work with kernl ppp. add if_start for the altq case to kick transmission. don't call ppp_restart() to prevent useless interrupt loop under rate-limiting.
2001-09-16Add some missing lengths checks when passing data from userland toTodd C. Miller
kernel. From based on NetBSD patches.
2001-07-20use a variable, not it's default value from constantMichael Shalayeff
2001-06-27introduce the ALTQ queue macros into sys/net files.Kenjiro Cho
the new model removes direct references to the fields in ifp->if_snd, and defines the following macros to manipulate ifp->if_snd. IFQ_ENQUEUE(ifq, m, pktattr, err) IFQ_DEQUEUE(ifq, m) IFQ_POLL(ifq, m) IFQ_PURGE(ifq) IFQ_IS_EMPTY(ifq) the new model also enforces some rules regarding how to use these macros. details are descrined in http://www.csl.sony.co.jp/~kjc/software/altq-new-design.txt
2001-06-27Get rid of M_COPY_* macros; either use M_MOVE_* or M_DUP_*, dependingAngelos D. Keromytis
on how macros should be treated. Code by fgsch@, ok by me and itojun@
2001-06-25Move common post M_COPY_HDR manipulation to the macro itself; angelos@ ok.Federico G. Schwindt
2001-06-15change the meaning of ifnet.if_lastchange to meet RFC1573 ifLastChange.Jun-ichiro itojun Hagino
follows BSD/OS practice and ucd-snmp code (FreeBSD does it for specific interfaces only). was: if_lastchange get updated on every packet transmission/receipt. now: if_lastchange get updated when IFF_UP is changed.
2001-05-28Copy the packet header only if the original mbuf had a packet headerAngelos D. Keromytis
(just general paranoia).
2001-05-27Fixup tags on old mbuf chain head.Angelos D. Keromytis
2001-05-16No need to check M_WAIT/M_WAITOK malloc return values. (art@ ok)Hakan Olsson
2000-03-21add SIOCGIFMTU/SIOCSIFMTU; remediate redundant code of tun, ppp, sppp; chris@ okMichael Shalayeff
1999-12-08bring in KAME IPv6 code, dated 19991208.Jun-ichiro itojun Hagino
replaces NRL IPv6 layer. reuses NRL pcb layer. no IPsec-on-v6 support. see sys/netinet6/{TODO,IMPLEMENTATION} for more details. GENERIC configuration should work fine as before. GENERIC.v6 works fine as well, but you'll need KAME userland tools to play with IPv6 (will be bringed into soon).
1998-07-12Remove the NPMODE_KEEPLAST defs; they're not really necessary. Also,Angelos D. Keromytis
sync with NetBSD (the recent splhigh->splimp changes).
1998-07-01Add NPMODE_KEEPLAST conditions; not supported yet (act like NPMODE_QUEUE).Angelos D. Keromytis
1998-05-08Add support for RFC-comliant deflate protocolTodd C. Miller
1997-09-05Minor changes from ppp 2.3.1Todd C. Miller
1997-01-02PPP_BSDCOMP not PPP_BSD_COMPMichael Shalayeff
1996-12-19sync to 2.3b3Michael Shalayeff
1996-07-25Kernel changes for ppp2.3a4.joshd
1996-05-10if_name/if_unit -> if_xname/if_softcTheo de Raadt
1996-04-21partial sync with netbsd 960418, more to comeTheo de Raadt
1996-04-19According to the latest config stuff changes (as for if_ppp.c).Michael Shalayeff
the other stuff is just for IPX support.
1996-03-03From NetBSD: 960217 mergeNiklas Hallqvist
1995-12-28from netbsd; ppp code no longer needs to recalculate intr masks on the i386Theo de Raadt
1995-12-18enable multicast, so that multicast packets can flow through ppp links. idea ↵Theo de Raadt
from freebsd
1995-10-18initial import of NetBSD treeTheo de Raadt