summaryrefslogtreecommitdiff
path: root/sys/net/if_enc.c
AgeCommit message (Expand)Author
2019-07-14newlen was a dead store, but what we could use is oldlen toFlorian Obser
2019-06-17free(9) sizes.Martin Pieuchot
2018-07-08"id" is too generic, rename to "rdomain" for clarity and easier greppingJeremie Courreges-Anglas
2018-07-08Use the same test pattern as for enc_ifps, for consistencyJeremie Courreges-Anglas
2018-06-25Fix a kernelpanic when using rdomain(4) and enc(4)denis
2017-10-16Last changes before running IPsec w/o KERNEL_LOCK().Martin Pieuchot
2017-08-11Remove NET_LOCK()'s argument.Martin Pieuchot
2017-05-28Protect the global array of interfaces with the NET_LOCK().Martin Pieuchot
2017-01-23Flag pseudo-interfaces as such in order to call add_net_randomness()Martin Pieuchot
2017-01-20No need to handle SIOCAIFADDR in drivers, it's never passed down toMartin Pieuchot
2016-09-04Make enc_output() return EAFNOSUPPORT after dropping the packet,Kenneth R Westerback
2015-11-09use IFQ_DEQUEUE to pull of the send queue.David Gwynne
2015-10-30Rename rtrequest1() to rtrequest().Alexander Bluhm
2015-10-22Kill link_rtrequest(), introduce in 1990 to "fix" the resultMartin Pieuchot
2015-10-22Inspired by satosin(), use inline functions to convert sockaddr dl.Alexander Bluhm
2015-03-14Remove some includes include-what-you-use claims don'tJonathan Gray
2014-12-13yet more mallocarray() changes.Doug Hogan
2014-12-08There's no good reason to keep into "struct ifnet" a pointer that's onlyMartin Pieuchot
2014-12-05Explicitly include <net/if_var.h> instead of pulling it in <net/if.h>.Martin Pieuchot
2014-09-08remove uneeded route.h includesJonathan Gray
2014-07-12add a size argument to free. will be used soon, but for now default to 0.Ted Unangst
2014-05-21Fix IPsec route addition broken since the removal of the link-layerMartin Pieuchot
2013-09-27The error return codes for the enc interface were inconsistent.Alexander Bluhm
2010-07-03Fix the naming of interfaces and variables for rdomains and rtablesPhilip Guenthe
2010-07-01Allow to specify an alternative enc(4) interface for an SA. AllReyk Floeter
2010-07-01We have to add enc0 to the "enc" interface group manually on boot.Reyk Floeter
2010-06-29Replace enc(4) with a new implementation as a cloner device. We stillReyk Floeter
2010-04-09encif is a global variable and thus pre-zeroed, don't bother bzero()ingOwain Ainsworth
2007-12-20return with ENOTTY instead of EINVAL for unknown ioctl requests.Brad Smith
2007-05-26one extern seems to be better than 20 for ifqmaxlen; ok krwJason Wright
2006-12-12ansify the enc codeReyk Floeter
2006-06-28Kill unused encrtrequest(). OK markus@Claudio Jeker
2006-03-04With the exception of two other small uncommited diffs this movesBrad Smith
2005-06-08no more netns handling for the various tunnel devices and loopbackHenning Brauer
2004-09-15Kill more netiso ghosts.Alexander Yurchenko
2003-05-03string fixes; tedu okTheo de Raadt
2002-06-30allocate sockaddr_dl for ifnet in if_alloc_sadl(), as we don't always knowJun-ichiro itojun Hagino
2002-05-29attach nd_ifinfo structure to if_afdata.Jun-ichiro itojun Hagino
2002-03-14First round of __P removal in sysTodd C. Miller
2001-06-27KNFNiels Provos
2001-06-25Copyright update.Angelos D. Keromytis
2001-06-08One more include cleanup, just to piss off Aaron :-)Angelos D. Keromytis
2001-04-06Move offsetof define into sys/param.hConstantine Sapuntzakis
2000-12-30For bridged IPsec, use the gif* interfaces.Angelos D. Keromytis
2000-06-20initialize mtu/hlim for enc interface at encattach().Jun-ichiro itojun Hagino
2000-04-18Stats for bridge output too.Angelos D. Keromytis
2000-04-18Sanity check on dequeued mbufs, also keep track of correct interfaceAngelos D. Keromytis
2000-04-12Fix checksum for outgoing etherip/ipip packets from enc interfaces.Angelos D. Keromytis
2000-04-10Minor oops in sanity logic, IFF_RUNNING is set/unset with IFF_UP,Angelos D. Keromytis
2000-04-10output routine enqueues and calls start, rather than requeueing for input.Angelos D. Keromytis