summaryrefslogtreecommitdiff
path: root/sys/netinet
AgeCommit message (Expand)Author
2017-06-11Use a common 'goto bad' style and set mp to NULL after freeing itAlexander Bluhm
2017-06-09Replace rtrequest(RTM_DELETE...) rtrequest_delete() and do not evenMartin Pieuchot
2017-06-07Grab the KERNEL_LOCK() around rtm*() functions. Routing sockets globalsMartin Pieuchot
2017-05-31Move IPv4 & IPv6 incoming/forwarding path, PIPEX ppp processing andMartin Pieuchot
2017-05-30add sizes to free() callsTheo de Raadt
2017-05-30Carp balancing ip does not work since there is a mac filter infriehm
2017-05-30Introduce ipv{4,6}_input(), two wrappers around IP queues.Martin Pieuchot
2017-05-29Per-interface list of addresses, both multicast and unicast, areMartin Pieuchot
2017-05-28Call bpf_mtap_af() a bit earlier in ipip_input(). This preparesAlexander Bluhm
2017-05-28Leaving IP multicast group requires the NET_LOCK().Martin Pieuchot
2017-05-28clang warns on unused labels. Place a recently introduced label underJonathan Gray
2017-05-28Rename ip_local() to ip_deliver() and give it the same parametersAlexander Bluhm
2017-05-27Fix the carp mode 'balancing ip-stealth'. Set the link state UPAlexander Bluhm
2017-05-26In IPIP input rename the variable ipo to ip as it is used for innerAlexander Bluhm
2017-05-26Instead of looking at the IP version of the header, use the outerAlexander Bluhm
2017-05-22Move IPsec forward and local policy check functions to ipsec_input.cAlexander Bluhm
2017-05-22Use the IPsec policy check from IPv4 also when doing local deliveryAlexander Bluhm
2017-05-22Fix a mbuf leak when reflecting an ICMP packet with IP options.Alexander Bluhm
2017-05-18Merge the content of <netinet/tcpip.h> and <netinet6/tcpipv6.h> inMartin Pieuchot
2017-05-18The function name ip4_input() is confusing as it also handles IPv6Alexander Bluhm
2017-05-17The large and nested GIF #ifdef in protosw made it hard to figureAlexander Bluhm
2017-05-16Sync three changes that were caught by IPv6 multicast routing review:Rafael Zalamena
2017-05-16Make return values more meaningful by using errno instead of -1 or 1.Rafael Zalamena
2017-05-16Replace remaining splsoftassert(IPL_SOFTNET) by NET_ASSERT_LOCKED().Martin Pieuchot
2017-05-16Let malloc() block when the caller of the add route function isRafael Zalamena
2017-05-16Call rtfree() after each use of routes and make sure the route is validRafael Zalamena
2017-05-13Do not check for mapped addresses in tcp_usrreq(PRU_CONNECT),Alexander Bluhm
2017-05-12IPsec packets were passed through ip_input() a second time afterAlexander Bluhm
2017-05-12Use the common switch(af) construct for address family specificAlexander Bluhm
2017-05-12Instead of printing a debug message at the end of processing, panicAlexander Bluhm
2017-05-12Use the IPsec policy check from ipv4_input() also when forwardingAlexander Bluhm
2017-05-11IPv6 IPsec transport mode did not work if pf is enabled. TheAlexander Bluhm
2017-05-11Fix white spaces and wrap long line. No binary change.Alexander Bluhm
2017-05-09Remove rip_output() and rip6_output() from inetsw and inet6sw. TheAlexander Bluhm
2017-05-09Convert diagnostic panic to compile time assert in tcp6_ctlinput().Alexander Bluhm
2017-05-06Checking for IPv4 mapped addreses and dropping the packet is doneAlexander Bluhm
2017-05-06Convert the xformsw definition to C99 style initializer. Also fixAlexander Bluhm
2017-05-05Expand SA_LEN(), there is no benefit for using the macro in theAlexander Bluhm
2017-05-04If m is not a continuous mbuf cluster, m_pullup() in pr_input mayAlexander Bluhm
2017-05-04Introduce sstosa() for converting sockaddr_storage with a type safeAlexander Bluhm
2017-05-03Back out rev 1.185 (which made the code match the comment) andTodd C. Miller
2017-05-02Switch OCF and IPsec over to the new AESMike Belopuhov
2017-04-19Use the rt_rmx defines that hide the struct rt_kmetrics indirection.Alexander Bluhm
2017-04-17The raw ip input functions are called from several places. Use theAlexander Bluhm
2017-04-17Use the address family passed down with pr_input to simplifyAlexander 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-11Partially revert previous mallocarray conversions that containDavid Hill
2017-04-09Use mallocarray to allocate multicast group memberships.David Hill
2017-04-06Convert bcopy to memcpy where the memory does not overlap, otherwise,David Hill