Age | Commit message (Collapse) | Author | |
---|---|---|---|
2006-07-17 | Call ip_savecontrol() in the multicast codepath of udp_input() similar to | Claudio Jeker | |
the INET6 code. With this it is possible to use e.g. IP_RECVIF to get the incomming interface. SOCK_RAW is not affected by this. Problem found and fixed by Michele 'mydecay' Marchetto. OK markus@ | |||
2006-06-15 | Make number of varargs passed to ip_output match reality. | Christopher Pascoe | |
henning@ claudio@ ok | |||
2006-05-29 | Make savecontrol functions more generic and use them now for raw IP too. | Claudio Jeker | |
Additionally add the IP_RECVIF option which returns the interface a packet was received on. OK markus@ norby@ | |||
2006-05-16 | - pcbflags is not modified in pcb_(dis)connect, so there's no | Markus Friedl | |
need to save/restore it. - inp->inp_laddr should be set _before_ calling pcb_disconnect(). otherwise pcb_disconnect() calls pcb_rehash() with the old laddr. [ currently this is not a problem since the hash ignores laddr ] tested by pedro | |||
2006-01-13 | Path MTU discovery for NAT-T. | Marco Pfatschbacher | |
OK markus@, "looks good" hshoexer@ | |||
2005-10-17 | make pf use one mbuf tag instead of 6 distinct ones. use a little struct | Henning Brauer | |
in the data part for the data from the previously distinct tags. look up the tag early and carry a pointer to it around. makes the code easier and saves some tag lookups and thus helps performance, as proven by tests run by Schberle Dniel <Schoeberle.Daniel@aamtech.hu> Initially hacked up somewhere over the atlantic ocean in an A330 early testing reyk and moritz, "put it in" theo | |||
2005-05-27 | Experimental support for opportunitic use of jumbograms where only some hosts | Ryan Thomas McBride | |
on the local network support them. This adds a new socket option, SO_JUMBO, and a new route flag, RTF_JUMBO. If _both_ the socket option is set and the route for the host has RTF_JUMBO set, ip_output will fragment the packet to the largest possible size for the link, ignoring the card's MTU. The semantics of this feature will be evolving rapidly; talk to us if you intend to use it. ok deraadt@ marius@ | |||
2005-04-25 | csum -> csum_flags | Brad Smith | |
ok krw@ canacar@ | |||
2004-08-10 | replace in_pcbnotify with in_pcbhashlookup and avoid looping over | Markus Friedl | |
all connections; ok dhartmei, canacar, mcbride | |||
2004-06-14 | spelling | Ryan Thomas McBride | |
2004-04-14 | with IPv6, udp checksum is mandatory. henning ok | Jun-ichiro itojun Hagino | |
2004-03-21 | fix udp checksum verification if ip options are present; | Markus Friedl | |
report from Pyun via dhartmei@; ok mcbride@, dhartmei@ | |||
2004-02-17 | switch to sysctl_int_arr(); ok henning, deraadt | Markus Friedl | |
2004-01-07 | in_pcbnotify() now returns number of matches. | Markus Friedl | |
2003-12-21 | use CIRCLEQ* for pcb's; ok deraadt, henning, mcbride, with help from canacar | Markus Friedl | |
2003-12-10 | de-register. deraadt ok | Jun-ichiro itojun Hagino | |
2003-12-08 | Mbuf tag tcp and udp packets which are translated to localhost, and | Ryan Thomas McBride | |
use the the presence of this tag to reverse the match order in in{6}_pcblookup_listen(). Some daemons (such as portmap) do a double bind, binding to both * and localhost in order to differentiate local from non-local connections, and potentially granting more privilege to local ones. This change ensures that redirected connections to localhost do not appear local to such a daemon. Bulk of changes from dhartmei@, some changes markus@ ok dhartmei@ deraadt@ | |||
2003-12-02 | UDP encapsulation for ESP in transport mode (draft-ietf-ipsec-udp-encaps-XX.txt) | Markus Friedl | |
ok deraadt@ | |||
2003-11-04 | add in(6)_pcblookup_listen() and replace all calls to in_pcblookup() | Markus Friedl | |
with either in(6)_pcbhashlookup() or in(6)_pcblookup_listen(); in_pcblookup is now only used by bind(2); speeds up pcb lookup for listening sockets; from Claudio Jeker | |||
2003-07-09 | do not flip ip_len/ip_off in netinet stack. deraadt ok. | Jun-ichiro itojun Hagino | |
(please test, especially PF portion) | |||
2003-06-02 | Remove the advertising clause in the UCB license which Berkeley | Todd C. Miller | |
rescinded 22 July 1999. Proofed by myself and Theo. | |||
2003-05-30 | missing #ifdef INET6. fries found it | Jun-ichiro itojun Hagino | |
2003-05-29 | use m_pulldown instead of m_pullup2. enable support for IPv6 jumbogram. | Jun-ichiro itojun Hagino | |
markus & art ok | |||
2003-05-12 | Nuke a whole bunch of commons; ok tedu (still more to come *sigh*) | Jason Wright | |
2002-08-28 | Fix a problem where passing NULL as a pointer with varargs does not promote | Per Fogelstrom | |
NULL to full 64 bits on a 64 bit address system. Soultion is to add a (void *) cast before NULL. This makes a 64 bit MIPS kernel work and will probably help future 64 bit ports as well. OK from art@ | |||
2002-08-19 | be consistent with other KAME source, use "ip6" for ip6_hdr, not "ipv6". | Jun-ichiro itojun Hagino | |
2002-06-28 | undo recent changes; they still crash for people (dhclient this time). | Theo de Raadt | |
This is a bullshit process. Test your shit before you toss it into the tree. | |||
2002-06-26 | Check for associated socket. | Angelos D. Keromytis | |
2002-06-26 | A bit more paranoid. | Angelos D. Keromytis | |
2002-06-25 | Ifdef the function proto as well. | Angelos D. Keromytis | |
2002-06-25 | Make udp_input() a bit more readable by farming out the IPsec input | Angelos D. Keromytis | |
policy checking to a separate routine. Also, add missing checks for multicast sockets, pointed out by sam@errno.com | |||
2002-06-20 | minor indent cleanup while reading code | Theo de Raadt | |
2002-06-09 | whitespace | Jun-ichiro itojun Hagino | |
2002-05-31 | Socket-specific IPsec policy. | Angelos D. Keromytis | |
2002-03-15 | Kill #if __STDC__ used to do K&R vs. ANSI varargs/stdarg; just do things | Todd C. Miller | |
the ANSI way. | |||
2002-03-14 | First round of __P removal in sys | Todd C. Miller | |
2001-06-25 | Defer output checksumming until ip_output() or hardware. | Angelos D. Keromytis | |
2001-06-25 | Use in_cksum_phdr() rather than in_cksum() -- from NetBSD | Angelos D. Keromytis | |
2001-06-24 | Remove printfs, fix comment typos. | Angelos D. Keromytis | |
2001-06-24 | Save tdb_remote_auth on the PCB on latching; also save information on | Angelos D. Keromytis | |
UDP PCB's if the socket is connected. | |||
2001-06-23 | Clear the checksum flags after verification. Also, don't count | Angelos D. Keromytis | |
checksum errors as hardware checksum packets as well. | |||
2001-06-23 | Remove unneeded ip_id convertions. | Federico G. Schwindt | |
Instead of using HTONS macro in some places, use htons directly in the struct member and save us a few bytes. Fix comment. | |||
2001-06-23 | Likewise, only use outgoing TCP/UDP hardware checksumming if the | Angelos D. Keromytis | |
interface is not in bridge mode. | |||
2001-06-23 | Keep stats on TCP/UDP hardware checksumming. | Angelos D. Keromytis | |
2001-06-23 | TCP/UDP hardware checksumming. Untested, since txp dies when it tries | Angelos D. Keromytis | |
to compute the checksums. Still, it shouldn't affect anything. | |||
2001-06-23 | Initialize only if no hardware checksumming. | Angelos D. Keromytis | |
2001-06-23 | TCP, UDP, IPv4 input hardware checksumming processing; also IPv4 | Angelos D. Keromytis | |
output hardware checksumming. Not tested yet, but should be done tonight. Remain to be solved: interactions with bridge, TCP/UDP output checksumming, interactions of TCP/UDP checksumming with routing changes. | |||
2001-06-19 | mop up after angelos | Theo de Raadt | |
2001-06-08 | Cut down on include files. | Angelos D. Keromytis | |
2001-06-05 | repair copyright notices for NRL & cmetz; cmetz | Theo de Raadt | |