summaryrefslogtreecommitdiff
path: root/sys/net/if_gif.c
AgeCommit message (Expand)Author
2010-07-03Fix the naming of interfaces and variables for rdomains and rtablesPhilip Guenthe
2010-05-11Massiv cleanup of the gif(4) mess. Move encapsulation into gif_output()Claudio Jeker
2009-11-22Add a lot of bpf and counter manipulation to the bridge. The bridgeTheo de Raadt
2009-11-21Add a way to bind the tunnel endpoint of a gif/gre interface into aClaudio Jeker
2008-11-24Remove the IFF_OACTIVE dance in gif_start this is not needed because startClaudio Jeker
2008-09-28Ansify function declarations for gif(4).Joel Sing
2008-05-07enable tx mitigation when putting packets on the wire by switching fromDavid Gwynne
2008-04-26Typo, paket -> packet.Brad Smith
2007-12-20return with ENOTTY instead of EINVAL for unknown ioctl requests.Brad Smith
2007-09-15malloc sweep:Henning Brauer
2007-05-26one extern seems to be better than 20 for ifqmaxlen; ok krwJason Wright
2007-05-21make bridge(4) mark packets with M_PROTO1 if gif(4) needs to useMarkus Friedl
2007-04-19Cleanup spaces.Claudio Jeker
2007-04-18Break out of the mtag check loop when a hit was found else we end up in aClaudio Jeker
2007-02-22Make gif(4) altq aware. This simplifies setting up traffic shaping on gif(4)Claudio Jeker
2007-02-10Cleanup, kill dead code and unused arguments. Mostly stuff that is computedClaudio Jeker
2007-01-08add round brackets around return valuesMichele Marchetto
2006-12-28check if ifqueue has anything queued before doing the dance ofTheo de Raadt
2006-11-16knfJun-ichiro itojun Hagino
2006-03-25allow bpf(4) to ignore packets based on their direction (inbound orDamien Miller
2006-03-11Check against GIF_MTU_MIN/GIF_MTU_MAX for the min/max MTU size.Brad Smith
2006-03-04With the exception of two other small uncommited diffs this movesBrad Smith
2006-01-04Remove redundant calls to bpfdetach.Can Erkin Acar
2005-07-31Introduce bpf_mtap_af and bpf_mtap_hdr to be used when passing a mbuf chainChristopher Pascoe
2003-12-16return error in ifc_destroy; ok deraadt, itojun, cedric, hshoexerMarkus Friedl
2003-12-10de-register. deraadt okJun-ichiro itojun Hagino
2003-12-03add support for ifconfig clone/destroy; ok henning deraadtMarkus Friedl
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
2003-01-20just for safety. from http://templeofhate.com/tglaser/pub/obsd.diffJun-ichiro itojun Hagino
2002-06-30allocate sockaddr_dl for ifnet in if_alloc_sadl(), as we don't always knowJun-ichiro itojun Hagino
2002-06-10easy error checks first.Jun-ichiro itojun Hagino
2002-06-09no need to log() on outgoing packet on !IFF_UP caseJun-ichiro itojun Hagino
2002-05-20Allow SIOCSIFMTU on gif interfaces.Artur Grabowski
2002-03-14First round of __P removal in sysTodd C. Miller
2001-07-27variable name "gif" is way too generic - use "gif_softc". sync with kameJun-ichiro itojun Hagino
2001-06-25Detect loops, itojun@ okAngelos D. Keromytis
2001-06-15change the meaning of ifnet.if_lastchange to meet RFC1573 ifLastChange.Jun-ichiro itojun Hagino
2001-06-09Include cleanupAngelos D. Keromytis
2001-06-09These don't need net_osdep.hAngelos D. Keromytis
2001-06-04if_up() requires splnet(). sync with kameJun-ichiro itojun Hagino
2001-02-20provide SIOC[SG]LIFPHYADDR, which greatly simplify userland manipulation.Jun-ichiro itojun Hagino
2001-02-20use u_int32_t, not u_int, for DLT_NULL encapsulation. sync with kameJun-ichiro itojun Hagino
2001-02-06allow configuring gif ifaces; itojun@ okMichael Shalayeff
2000-12-31ifdef -> ifAngelos D. Keromytis
2000-12-31Fix non-INET6 caseAngelos D. Keromytis
2000-12-30Define gif_start(), which uses gif_output() with an AF_LINK sockaddrAngelos D. Keromytis
2000-10-07on SIOC*IFPHY*, validate args more correctly.Jun-ichiro itojun Hagino
2000-01-17don't need IFF_RUNNING for gif, as no resource is allocated forJun-ichiro itojun Hagino
2000-01-17remove IFF_RUNNING if it becomes !IFF_UP.Jun-ichiro itojun Hagino