summaryrefslogtreecommitdiff
path: root/sys/netinet/raw_ip.c
AgeCommit message (Expand)Author
2015-07-28Implement pf divert-reply for raw sockets. Note that an emptyAlexander Bluhm
2015-07-15use mp for the name of a variable of type struct mbuf **, rather than mTheo de Raadt
2015-07-15m_freem() can handle NULL, do not check for this condition beforehands.Theo de Raadt
2015-06-30Get rid of the undocumented & temporary* m_copy() macro added forMartin Pieuchot
2015-06-07Replace a bunch of == 0 with == NULL in pointer tests. Nuke someKenneth R Westerback
2015-01-24Userland (base & ports) was adapted to always include <netinet/in.h>Theo de Raadt
2014-12-05Explicitly include <net/if_var.h> instead of pulling it in <net/if.h>.Martin Pieuchot
2014-11-09To implement transparent relays for connectionless protocols, theAlexander Bluhm
2014-10-14Don't check for an empty list of interfaces. This is never true even ifMartin Pieuchot
2014-08-14Kill MRT_{ADD,DEL}_BW_UPCALL interfaces and the bandwidth monitoringMartin Pieuchot
2014-07-22Fewer <netinet/in_systm.h> !Martin Pieuchot
2014-06-02Simply use ifa_ifwithaddr() to check if the binding address is on theMartin Pieuchot
2014-04-21ip_output() using varargs always struck me as bizarre, esp since it's onlyHenning Brauer
2014-04-14"struct pkthdr" holds a routing table ID, not a routing domain one.Martin Pieuchot
2014-04-07Retire kernel support for SO_DONTROUTE, this time without breakingMartin Pieuchot
2014-03-28revert "Retire kernel support for SO_DONTROUTE" diff, which does bad thingsStuart Henderson
2014-03-27Retire kernel support for SO_DONTROUTE, since the plan is to alwaysMartin Pieuchot
2013-12-20Switch inpt_queue from CIRCLEQ to TAILQ. Thus ending use of CIRCLEQKenneth R Westerback
2013-04-10Remove various external variable declaration from sources files andMartin Pieuchot
2013-04-02Use macros sotoinpcb() and intotcpcb() instead of casts. Use NULLAlexander Bluhm
2013-03-31The call to in_pcballoc() in user request attach was handled inAlexander Bluhm
2013-03-30Restrict protocol numbers for raw sockets to the range from 0 to 255.Alexander Bluhm
2012-10-21Add the IP_DIVERTFL socket option on divert(4) sockets to controlSebastian Benoit
2012-03-17remove IP_JUMBO, SO_JUMBO, and RTF_JUMBO.David Gwynne
2011-07-04Fix to be able to bind a raw socket to 0.0.0.0. It had been broken afterYASUOKA Masahiko
2011-07-04Bye bye pf_test6(). Only one pf_test function for both IPv4 and v6.Claudio Jeker
2011-05-13Revert the pf->socket linking diff.Owain Ainsworth
2011-04-28Make in_broadcast() rdomain aware. Mostly mechanical change.Claudio Jeker
2011-04-28Similar to the in_pcb.c change allow raw sockets to be bound to theClaudio Jeker
2011-04-24Double link between pf states and sockets. Henning has alreadyAlexander Bluhm
2011-04-19reintroduce using the RB tree for local address lookups. this isDavid Gwynne
2011-04-14Backout the in_iawithaddr() -> ifa_ifwithaddr() change.Claudio Jeker
2011-04-04in_iawithaddr -> ifawithaddrHenning Brauer
2011-04-03Don't attempt to enqueue mbufs on sockets marked as SS_CANTRCVMORE, asBret Lambert
2010-09-08Return EACCES when pf_test() blocks a packet in ip_output(). This allowsClaudio Jeker
2010-07-03Fix the naming of interfaces and variables for rdomains and rtablesPhilip Guenthe
2009-11-03rtables are stacked on rdomains (it is possible to have multiple routingClaudio Jeker
2009-06-05Initial support for routing domains. This allows to bind interfaces toClaudio Jeker
2008-10-23use the correct idiom for NFOO things which come from "foo.h" filesTheo de Raadt
2008-06-14Include "pf.h" so we get NPF.Joel Sing
2008-05-23Deal with the situation when TCP nfs mounts timeout and processesThordur I. Bjornsson
2008-05-09Add SO_BINDANY socket option from BSD/OS.Markus Friedl
2008-05-09divert packets to local socket without modifying the ip header;Markus Friedl
2008-05-02Make the SO_TIMESTAMP sockopt work. When set, this allows the user toChris Kuethe
2006-11-25Remove unneeded branch, no need to check if opts is != NULL just set it toClaudio Jeker
2006-05-29Make savecontrol functions more generic and use them now for raw IP too.Claudio Jeker
2006-03-05Use more queue macros rather than doing it by hand; ok otto@ krw@Miod Vallat
2005-05-27Experimental support for opportunitic use of jumbograms where only some hostsRyan Thomas McBride
2005-01-14Add kernel support for Protocol Independant Multicast (PIM)Ryan Thomas McBride
2004-12-08allow ToS to be set on raw ip socketsHenning Brauer