summaryrefslogtreecommitdiff
path: root/sys/netinet/raw_ip.c
AgeCommit message (Expand)Author
2017-10-06Kill the divert-packet socket option IP_DIVERTFL to filter packets.Alexander Bluhm
2017-09-05Replace NET_ASSERT_LOCKED() by soassertlocked() in *_usrreq().Martin Pieuchot
2017-09-01Change sosetopt() to no longer free the mbuf it receives and changeMartin Pieuchot
2017-08-11Validate sockaddr from userland in central functions. This resultsAlexander Bluhm
2017-06-26Assert that the corresponding socket is locked when manipulating socketMartin Pieuchot
2017-04-17The raw ip input functions are called from several places. Use theAlexander Bluhm
2017-04-14Pass down the address family through the pr_input calls. ThisAlexander Bluhm
2017-03-13Move PRU_ATTACH out of the pr_usrreq functions into pr_attach.Claudio Jeker
2017-03-03Convert the variable argument list of the pr_output functions toAlexander Bluhm
2017-02-01In sogetopt, preallocate an mbuf to avoid using sleeping mallocs withDavid Hill
2017-01-29Change the IPv4 pr_input function to the way IPv6 is implemented,Alexander Bluhm
2017-01-25Since raw_input() and route_input() are gone from pr_input, we canAlexander Bluhm
2017-01-23The function raw_input() has not been called since netiso has beenAlexander Bluhm
2017-01-10Remove NULL checks before m_free(9), it deals with it.Martin Pieuchot
2016-12-19Extend the multicast sockets and multicast hash table support to multipleRafael Zalamena
2016-12-19Introduce the NET_LOCK() a rwlock used to serialize accesses to the partsMartin Pieuchot
2016-11-21Enforce that pr_usrreq functions are called at IPL_SOFTNET.Martin Pieuchot
2016-11-14turn ipstat into a set of percpu counters.David Gwynne
2016-03-07Sync no-argument function declaration and definition by adding (void).Christian Weisgerber
2015-12-03Remove broadcast matching from ifa_ifwithaddr(), use in_broadcast() whereVincent Gross
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