summaryrefslogtreecommitdiff
path: root/sys/netinet/udp_usrreq.c
AgeCommit message (Expand)Author
2017-10-09Reduces the scope of the NET_LOCK() in sysctl(2) path.Martin Pieuchot
2017-09-05Replace NET_ASSERT_LOCKED() by soassertlocked() in *_usrreq().Martin 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-05-06Checking for IPv4 mapped addreses and dropping the packet is doneAlexander Bluhm
2017-05-04If m is not a continuous mbuf cluster, m_pullup() in pr_input mayAlexander Bluhm
2017-04-17Use the address family passed down with pr_input to simplifyAlexander Bluhm
2017-04-14Pass down the address family through the pr_input calls. ThisAlexander Bluhm
2017-04-05When building counter memory in preparation to copy to userland, alwaysTheo de Raadt
2017-03-13Move PRU_ATTACH out of the pr_usrreq functions into pr_attach.Claudio Jeker
2017-02-05Always allocate counters memory using type M_COUNTERS.Jeremie Courreges-Anglas
2017-01-31Use CTASSERT instead of KASSERT for a few sysctl that use the counters APIJeremie Courreges-Anglas
2017-01-29Change the IPv4 pr_input function to the way IPv6 is implemented,Alexander Bluhm
2017-01-26Reduce the difference between struct protosw and ip6protosw. TheAlexander Bluhm
2017-01-25Since raw_input() and route_input() are gone from pr_input, we canAlexander Bluhm
2016-12-19Remove redundant splsoftnet().Martin Pieuchot
2016-12-19Introduce the NET_LOCK() a rwlock used to serialize accesses to the partsMartin Pieuchot
2016-12-10Pass the correct offset of the next protocol field for the given IPPatrick Wildt
2016-11-28Allow to build kernels without IPSEC but with PIPEX.Martin Pieuchot
2016-11-21Enforce that pr_usrreq functions are called at IPL_SOFTNET.Martin Pieuchot
2016-11-18turn ipstat into a set of percpu counters.David Gwynne
2016-11-03Remove obsolete vxlan_lookup return value handlingMike Belopuhov
2016-09-03Add support for a multipoint-to-multipoint mode in vxlan(4). In thisReyk Floeter
2016-08-16Add IP_SENDSRCADDR cmsg for UDP sockets. As suggested by sthen@,Vincent Gross
2016-08-04Commit in6_selectsrc() split again, with missing assignment fixed.Vincent Gross
2016-07-22Revert in_selectsrc() refactoring, it breaks IPv6.Martin Pieuchot
2016-07-20Split in6_selectsrc() into a low-level part and a pcb-level part, andVincent Gross
2016-06-28Add UDP unicast and multicast support for IP_MINTTL/IPV6_MINHOPCOUNTJeremie Courreges-Anglas
2016-06-18Add net.inet.{tcp,udp}.rootonly sysctl, to mark which portsVincent Gross
2016-06-15Fix typo from rebase : extra parentheseVincent Gross
2016-06-15Move the cmsg handling code on top of udp_output(), to makeVincent Gross
2016-03-23Merge in_pcbbind() and in6_pcbbind(), and change every call toVincent Gross
2016-03-07Sync no-argument function declaration and definition by adding (void).Christian Weisgerber
2015-12-03To avoid that the stack manipules the pf statekeys directly, introduceAlexander Bluhm
2015-09-11in6_embedscope() needs to lose some weight. Remove the last argument.Claudio Jeker
2015-09-10It is time to put inet6 on a diet. Use the flensing knife and cut outClaudio Jeker
2015-08-14Replace sockaddr casts with the proper satosin() or satosin6() calls.Alexander Bluhm
2015-07-15m_freem() can handle NULL, do not check for this condition beforehands.Theo de Raadt
2015-07-08Pass an interface index instead of a pointer to in6_addr2scopeid().Martin Pieuchot
2015-06-30Get rid of the undocumented & temporary* m_copy() macro added forMartin Pieuchot
2015-06-16Store a unique ID, an interface index, rather than a pointer to theMartin Pieuchot
2015-06-05Try harder to avoid (very unlikely) NULL pointer de-ref by tweakingKenneth R Westerback
2015-05-23introduce ipsec-id bundles and use them for ipsecflowinfo,Markus Friedl
2015-04-16remove unfinished/unused support for socket-attached ipsec-policiesMarkus Friedl
2015-04-14Remove support for storing credentials and auth information in the kernel.Mike Belopuhov
2015-03-04Do not check if the interface index matches the scope when all we wantMartin Pieuchot
2014-12-05Explicitly include <net/if_var.h> instead of pulling it in <net/if.h>.Martin Pieuchot
2014-11-25unifdef -USCOPEDROUTING, no object change.Martin Pieuchot
2014-11-20Yet more #include de-duplication.Kenneth R Westerback
2014-11-20In TCP and UDP layers do not (ab)use the receiving interface to checkMartin Pieuchot