summaryrefslogtreecommitdiff
path: root/sys/netinet
AgeCommit message (Collapse)Author
2003-08-14m_copyback()'s 4th arg is const void *, nuke (caddr_t) casts.Jason Wright
2003-07-29fixup ip_len back to wire format after reass.Jun-ichiro itojun Hagino
2003-07-28allow gif(4) over ipsec: mark mbuf for transport mode SA,Markus Friedl
so in_gif_input can detect whether a proto 4 header is due to ipsec tunnel mode or gif(4) encapsulation; fixes pr 3023 ok itojun@. provos@ and angelos@ agree; tested by sturm@
2003-07-24update ip_len to reflect tunnel header removal (lost duing ip_lenMarkus Friedl
flip changes); ok itojun; noticed by jrrs@ice-nine.org
2003-07-24conform to RFC2367 on SADB_xx naming (local name must be prefixed withJun-ichiro itojun Hagino
SADB_X_xx)
2003-07-24hmac-sha2-{256,384,512} support in AH/ESP auth. markus okJun-ichiro itojun Hagino
2003-07-09do not flip ip_len/ip_off in netinet stack. deraadt ok.Jun-ichiro itojun Hagino
(please test, especially PF portion)
2003-07-09fix whitespaceMarkus Friedl
2003-07-09better vif_delete (no dangling ref to struct ifnet). deraadt okJun-ichiro itojun Hagino
it won't affect default GENERIC build - as MROUTING is not defined
2003-07-08make sure the packets contains a complete inner headerMarkus Friedl
for ip{4,6}-in-ip{4,6} encapsulation; fixes panic for truncated ip-in-ip over ipsec; ok angelos@
2003-07-04knf typoMarkus Friedl
2003-06-23install host route for p2p interface even if there's connected net routeJun-ichiro itojun Hagino
by broadcast interface. NetBSD PR 21903. markus ok
2003-06-11- sync up MLD declaration with RFC3542 (s/MLD6/MLD/)Jun-ichiro itojun Hagino
- routing header declaration with RFC3542 (note: sizeof(ip6_rthdr0) has changed!) also, sync up with RFC2460 routing header definition (no "strict" source routing mode any more) part of advanced API update (RFC2292 -> 3542). markus, todd, millert, henning ok
2003-06-11- sync up MLD declaration with RFC3542 (s/MLD6/MLD/)Jun-ichiro itojun Hagino
- routing header declaration with RFC3542 (note: sizeof(ip6_rthdr0) has changed!) also, sync up with RFC2460 routing header definition (no "strict" source routing mode any more) part of advanced API update (RFC2292 -> 3542). markus, todd, millert, henning ok
2003-06-09typo (need to check ti6 instead of ti)Jun-ichiro itojun Hagino
2003-06-09backout following:Jun-ichiro itojun Hagino
>use m_pulldown not m_pullup2. fix some bugs in IPv6 tcp_trace(). PR 3283 fixed (confirmed)
2003-06-02Remove the advertising clause in the UCB license which BerkeleyTodd C. Miller
rescinded 22 July 1999. Proofed by myself and Theo.
2003-05-30missing #ifdef INET6. fries found itJun-ichiro itojun Hagino
2003-05-29use IN6_LINKMTU for IPv6 link MTU. sync w/kameJun-ichiro itojun Hagino
2003-05-29use m_pulldown not m_pullup2. fix some bugs in IPv6 tcp_trace().Jun-ichiro itojun Hagino
2003-05-29use m_pulldown instead of m_pullup2. enable support for IPv6 jumbogram.Jun-ichiro itojun Hagino
markus & art ok
2003-05-27don't use M_WAIT here. we could be in splnet, and caller may not beJun-ichiro itojun Hagino
xx_usrreq. henning ok
2003-05-26fix tcpcb size to make trpt happyJun-ichiro itojun Hagino
2003-05-23don't #ifdef within struct tcpcb definition, as it is used in userland too.Jun-ichiro itojun Hagino
dhartmei ok
2003-05-19Bad switch condition used for SO_DEBUG, ok itojun@Daniel Hartmeier
2003-05-17don't send ARP for secondary IPv4 addresses, treat them as local.Jun-ichiro itojun Hagino
kwesterback tdeval ok
2003-05-14KNF. markus okJun-ichiro itojun Hagino
2003-05-14nuke !PULLDOWN_TEST case. (leftover from yesterday)Jun-ichiro itojun Hagino
2003-05-14Remove redundant assignment. Found by Julien Bordet. ok itojun@Daniel Hartmeier
2003-05-14move ETHERTYPE_xx declarations to <net/ethertypes.h>. meets netbsd practice.Jun-ichiro itojun Hagino
deraadt ok
2003-05-14remove the last of the MI commonsJason Wright
2003-05-13back out. these changes were not tested. it might come as a surpriseTheo de Raadt
to some developers, but include files are not just used by the kernel. there are applications that pull them in as well. this change broke tcpdump, and who knows what else. i've been talking for 24 hours now about tree breakage and let this be official: I am prepared to lock the tree entirely if need be. YOU WILL GET OK PERMISSION FROM EVERYONE, NOT JUST FROM ONE PERSON
2003-05-13move ethernet protocol type defs into sys/net/, as it is not just for ethernetJun-ichiro itojun Hagino
(FDDI, ieee1394, ...). follows netbsd practice. 2 jasons, dhartmei, thierry ok
2003-05-12Nuke a whole bunch of commons; ok tedu (still more to come *sigh*)Jason Wright
2003-05-10"enought to" -> "enough to" comment typoDaniel Hartmeier
2003-05-09string cleaning; ok teduTheo de Raadt
2003-05-06use M_NOWAIT instead of WAITOK for the hashtable allocation. ok itojun@Ted Unangst
2003-05-06string cleaning; tedu okTheo de Raadt
2003-05-04Free mbuf when dropping invalid ARP with ar_hrd != ARPHRD_ETHER, insteadDaniel Hartmeier
of leaking. Reported by orjan.sjelvgren@ignite.com. ok jason@, krw@ and henning@.
2003-05-03string fixes; tedu okTheo de Raadt
2003-05-03just as a safety measure, set m_flags to 0 for mbufs allocated on stack.Jun-ichiro itojun Hagino
dhartmei ok
2003-04-29Fix logic error introduced when importing a Stevens' bug fix in r1.20;Miod Vallat
from provos@, ok dhartmei@
2003-04-24fix typo; Patrick LatifiTodd C. Miller
2003-04-22correct (false) assumption made about m->m_len. dhartmei ok.Jun-ichiro itojun Hagino
2003-04-02o sanity check mbuf earlier.Todd C. Miller
o return errno, not NULL. o add some missing error values o proper crypto_freereq() in ip_ipcomp.c From Patrick Latifi; OK angelos@
2003-03-31Avoid using FREEd data when we get a crypto error; Patrick LatifiTodd C. Miller
Also move the session ID reset into the crp_etype == EAGAIN case (noticed by angelos@). OK jason@ and angelos@
2003-03-31Add missing splx; Patrick LatifiTodd C. Miller
jason@ OK
2003-03-30let this compile with TCPDEBUGTed Unangst
ok millert@ deraadt@
2003-03-28another const char * from David HillHenning Brauer
2003-03-28const char *Henning Brauer
from David Hill <david at phobia.ms>