summaryrefslogtreecommitdiff
path: root/sys/netinet/ip_ether.c
AgeCommit message (Expand)Author
2011-07-04No need to check proto == IPPROTO_ETHERIPDavid Hill
2011-04-13add missing #include "pf.h" for NPF; ok mikeb, claudio, mpfMarkus Friedl
2010-10-28Normalize mbuf after prepending space for the header since the dataClaudio Jeker
2010-07-02m_copyback can fail to allocate memory, but is a void fucntion so gymnasticsBret Lambert
2010-05-11Massiv cleanup of the gif(4) mess. Move encapsulation into gif_output()Claudio Jeker
2010-04-20remove proc.h include from uvm_map.h. This has far reaching effects, asTed Unangst
2009-11-21Add a way to bind the tunnel endpoint of a gif/gre interface into aClaudio Jeker
2007-12-14add sysctl entry points into various network layers, in particular toTheo de Raadt
2007-02-20Fix the bpf hook in etherip_input() by using the right address family andClaudio Jeker
2006-03-25allow bpf(4) to ignore packets based on their direction (inbound orDamien Miller
2005-07-31Introduce bpf_mtap_af and bpf_mtap_hdr to be used when passing a mbuf chainChristopher Pascoe
2004-11-17ip6_plen does not include the size of the ipv6 header; ok itojunMarkus Friedl
2003-12-03add support for ifconfig clone/destroy; ok henning deraadtMarkus Friedl
2003-08-14m_copyback()'s 4th arg is const void *, nuke (caddr_t) casts.Jason Wright
2003-05-03just as a safety measure, set m_flags to 0 for mbufs allocated on stack.Jun-ichiro itojun Hagino
2003-03-06set ip6_nxt to IPPROTO_ETHERIP; ok angelos@Markus Friedl
2003-03-06bpf_mtap incoming proto 97 traffic; ok jason@Markus Friedl
2002-10-15Note that this is based on RFC3378.Jason Wright
2002-06-09whitespaceJun-ichiro itojun Hagino
2002-06-09Set/clear M_AUTH_AH.Angelos D. Keromytis
2002-03-24m_freem(NULL) bad style, ok jason@Niklas Hallqvist
2002-03-15Kill #if __STDC__ used to do K&R vs. ANSI varargs/stdarg; just do thingsTodd C. Miller
2001-11-29etherip_output() is called from in_gif.c, therefore is outside of #ifdef IPSECJun-ichiro itojun Hagino
2001-07-27variable name "gif" is way too generic - use "gif_softc". sync with kameJun-ichiro itojun Hagino
2001-06-27Get rid of M_COPY_* macros; either use M_MOVE_* or M_DUP_*, dependingAngelos D. Keromytis
2001-06-26More KNFAngelos D. Keromytis
2001-06-25Copyright.Angelos D. Keromytis
2001-06-25Don't double-clear M_PKTHDR/tags.Angelos D. Keromytis
2001-06-23Remove unneeded ip_id convertions.Federico G. Schwindt
2001-06-19mop up after angelosTheo de Raadt
2001-06-08Cut down on include files.Angelos D. Keromytis
2001-05-27Reset pkthdr on old mbuf head.Angelos D. Keromytis
2001-04-06Move offsetof define into sys/param.hConstantine Sapuntzakis
2001-02-07allow gif-less compileMichael Shalayeff
2001-02-06- bridge_input() expects to be called at splnet(), not splsoftnet()Jason Wright
2001-02-03- define and use EtherIP version 3 (2 byte padded header instead of theJason Wright
2001-02-03KNFJason Wright
2001-02-02a quick checkpoint:Jason Wright
2001-02-01grr, don't forget to change the reserved field to the upper 4 bits of the hea...Jason Wright
2001-02-01according to the draft-housley-etherip-01, the version is in the low orderJason Wright
2001-02-01Ok, more alignment fallout (caused by a single byte header interspersed withJason Wright
2001-01-31it's obviously bed time... really avoid mbuf lossage if MGETHDR failsJason Wright
2001-01-31oops, avoid mbuf lossage if MGETHDR failsJason Wright
2001-01-31Allocate a new mbuf for the header info (struct ip + one, stupid, byte).Jason Wright
2001-01-15Careful with bitmasks (henric@aimnet.com)Angelos D. Keromytis
2001-01-09One-byte EtherIP header, per the relevant draft (soon to be RFC).Angelos D. Keromytis
2000-12-31Fix non-NGIF case.Angelos D. Keromytis
2000-12-30Use gif* instead of enc* for the bridge.Angelos D. Keromytis
2000-09-19Lots and lots of changes.Angelos D. Keromytis
2000-04-18Remove the ethernet header from the mbuf before passing it on toAngelos D. Keromytis