summaryrefslogtreecommitdiff
path: root/sys/netinet
AgeCommit message (Expand)Author
2011-05-31fix typos in commentStuart Henderson
2011-05-29Move the source address selection for multicast destinations thatClaudio Jeker
2011-05-28Do not allow traffic to be sent with a destination address in 0/8;Paul de Weerd
2011-05-13Revert the pf->socket linking diff.Owain Ainsworth
2011-05-11Pre-allocate memory to avoid sleeping after performing a lookup, whichBret Lambert
2011-05-04Collapse m_pullup and m_pullup2 into a single function, as they'reBret Lambert
2011-05-04Clean up gotos for listening sockets to make it obvious when packetsBret Lambert
2011-05-02recognize SO_RTABLE socket option at the SOL_SOCKET level;Mike Belopuhov
2011-04-29The previous reconfiguration change broke IPv6 only setups.Marco Pfatschbacher
2011-04-29In certain failure cases, a RST would be sent out on rdomain 0,Bret Lambert
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-28Allow SOCK_DGRAM sockets to be bound to the local network broadcast addr.Claudio Jeker
2011-04-26In ipsec_common_input() the packet can be either IPv4 or IPv6. SoAlexander Bluhm
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-13add missing #include "pf.h" for NPF; ok mikeb, claudio, mpfMarkus Friedl
2011-04-12put the accepted socket of a diverted connection into the routing domainMike Belopuhov
2011-04-06uncompress a packet with an IPcomp header only once; this preventsMarkus Friedl
2011-04-05in_proto_csum_out: if M_ICMP_CSUM_OUT is set, do the icmp checksumHenning Brauer
2011-04-05Replace if/else ladder with much more legible switch statement forBret Lambert
2011-04-05mechanic rename M_{TCP|UDP}V4_CSUM_OUT -> M_{TCP|UDP}_CSUM_OUTHenning Brauer
2011-04-05Remove unused macro.Bret Lambert
2011-04-04turn some macros into functions; saves 1400+ bytes from the kernelBret Lambert
2011-04-04Instead of calling tcp_reass (tcp reassembly) with magic argumentsBret Lambert
2011-04-04Correctly inherit and set the watermarks on socketbuffers.Claudio Jeker
2011-04-04de-guttenberg our stack a bitHenning Brauer
2011-04-04The forced IP header pullup in the multicast case is only needed whenClaudio Jeker
2011-04-04Do not accept ICMP redirects when acting as router (ipforwarding = 1).Claudio Jeker
2011-04-04install an additional bpf hook in the carp_input so that multicastMike Belopuhov
2011-04-04there is no need to special case the bridge in the ip checksum handlingHenning Brauer
2011-04-04change an if statement to a switch to reduce eye bleedageBret Lambert
2011-04-04make in_iawithaddr a wrapper for ifa_ifwithaddr plus a hack for old ancientHenning Brauer
2011-04-04in_iawithaddr -> ifawithaddrHenning Brauer
2011-04-03Don't attempt to enqueue mbufs on sockets marked as SS_CANTRCVMORE, asBret Lambert
2011-04-03don't rely on implict net/route.h inclusion via pf, claudio okHenning Brauer
2011-04-02rmeove the link1 hack, it is in the way, it is only half-baked and doesn'tHenning Brauer
2011-03-31- use nitems(); no binary changeJasper Lievisse Adriaanse
2011-03-08Fix a subtle carp reconfiguration problem.Marco Pfatschbacher
2011-03-05The function pf_tag_packet() never fails. Remove a redundant checkAlexander Bluhm
2011-02-11In ip_forward() free the mbuf chain mcopy with m_freem() insteadAlexander Bluhm
2011-02-03ip_ttl is u_int8_t, not u_char so adjust sizeof for consistency.Todd C. Miller
2011-01-11for key material that is being being discarded, convert bzero() toTheo de Raadt
2011-01-07Add socket option SO_SPLICE to splice together two TCP sockets.Alexander Bluhm
2010-12-21don't leak short packets; ok mikeb@Markus Friedl
2010-12-21Doh! Forgot to set the rdomain when sending out carp announcements.Claudio Jeker
2010-12-21don't leak mbuf if padding failes; ok mikeb@Markus Friedl
2010-11-28Only call ifa_del() when no error happend previously. Do the same thingClaudio Jeker
2010-11-26more useful logging level for demotion adjustmentsOtto Moerbeek