summaryrefslogtreecommitdiff
path: root/sys/net/if_gre.c
AgeCommit message (Expand)Author
2017-05-15Remove unused variable mobileip_softc_list.Alexander Bluhm
2017-05-15Protect the gloal list of gre(4) interfaces by the NET_LOCK().Martin Pieuchot
2017-01-24A space here, a space there. Soon we're talking real whitespaceKenneth R Westerback
2017-01-23Flag pseudo-interfaces as such in order to call add_net_randomness()Martin Pieuchot
2016-12-19Sending keep alive ends up in ip_output(), so it needs the NET_LOCK().Martin Pieuchot
2016-11-16Convert gre_send_keepalive() to timeout_set_proc(9) as it calls ip_output().Martin Pieuchot
2016-08-31Split gre(4) into two interfaces: gre(4) and mobileip(4).Reyk Floeter
2016-08-28Remove obsolete gre(4) ioctls GRESADDRS, GRESADDRD, GREGADDRS,Reyk Floeter
2015-11-10dont use IF_DROP when there was some arbitary problem sending a packet.David Gwynne
2015-11-09use the correct rdomain when sending gre(4) keepalive packets.Sebastian Benoit
2015-10-25Introduce if_rtrequest() the successor of ifa_rtrequest().Martin Pieuchot
2015-07-16Expand ancient NTOHL/NTOHS/HTONS/HTONL macros.Martin Pieuchot
2015-03-14Remove some includes include-what-you-use claims don'tJonathan Gray
2014-12-19unifdef INET in net code as a precursor to removing the pretend option.Ted Unangst
2014-11-23length argument for some free() calls; ok dougTheo de Raadt
2014-10-14Use rtfree() instead of RTFREE(), NULLify some free'd route pointers andMartin Pieuchot
2014-07-22Fewer <netinet/in_systm.h> !Martin Pieuchot
2014-07-12add a size argument to free. will be used soon, but for now default to 0.Ted Unangst
2014-05-05Use a custom ifa_rtrequest function for point-to-point interfacesMartin Pieuchot
2014-04-21ip_output() using varargs always struck me as bizarre, esp since it's onlyHenning Brauer
2014-04-21we'll do fine without casting NULL to struct foo * / void *Henning Brauer
2014-04-14"struct pkthdr" holds a routing table ID, not a routing domain one.Martin Pieuchot
2013-10-19Uniformize drivers doing nothing with their multicast filters to makeMartin Pieuchot
2013-10-17The header file netinet/in_var.h included netinet6/in6_var.h. ThisAlexander Bluhm
2013-06-05Include sys/timeout.h to make if_gre.c compile without pf.Alexander Bluhm
2013-03-28no need for a lot of code to include proc.hTed Unangst
2013-03-28Unfortunately the satosin, sintosa, ifatoia, satosin6, sin6tosa,Alexander Bluhm
2012-11-23Add SIOCGIFHARDMTU to allow retrieving the driver's maximum supported MTUStuart Henderson
2012-04-14Use DLT_LOOP for all tunneling interfaces.YASUOKA Masahiko
2011-07-12break up a line of code that involved a decrement operator and macrosJonathan Gray
2011-07-09begone, fucking rotten appletalk shit. ok roomHenning Brauer
2011-07-04use mtod.David Hill
2011-04-29Why precompute the route for the gre tunnel when ip_output can doClaudio Jeker
2011-04-04Don't do crazy address manipulations when looking up the remote endClaudio Jeker
2010-09-23fix indentation to not confusingly align with an unassociated while() statementBret Lambert
2010-07-03Fix the naming of interfaces and variables for rdomains and rtablesPhilip Guenthe
2010-06-26timeout_del() the timers before destroying an interface so that no timeoutClaudio Jeker
2010-06-26Implement a simple keepalive mechanism in gre(4) that is compatible withClaudio Jeker
2010-05-11Add support for MPLS in GRE. Fairly trivial and a NOP unless option MPLSClaudio Jeker
2010-05-07Start cleaning up the mess called rtalloc*. Kill rtalloc2, make rtalloc1Claudio Jeker
2009-11-21Add a way to bind the tunnel endpoint of a gif/gre interface into aClaudio Jeker
2009-06-02do the pf_pkt_addr_changed(m) magic just like gif etcHenning Brauer
2008-06-26First pass at removing clauses 3 and 4 from NetBSD licenses.Ray Lai
2007-12-20return with ENOTTY instead of EINVAL for unknown ioctl requests.Brad Smith
2007-09-15malloc sweep:Henning Brauer
2006-05-28Fix multicast and broadcast over gre(4) tunnels. Clear the M_MCAST and M_BCASTClaudio Jeker
2006-03-25allow bpf(4) to ignore packets based on their direction (inbound orDamien Miller
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-12-10m_pullup() the whole header, not the number of bytes in an int. FoundKenneth R Westerback