Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | Make number of varargs passed to ip_output match reality. | 2006-06-15 | 1 | -2/+2 | ||
| | | | | henning@ claudio@ ok | |||||
* | Make savecontrol functions more generic and use them now for raw IP too. | 2006-05-29 | 1 | -53/+4 | ||
| | | | | | Additionally add the IP_RECVIF option which returns the interface a packet was received on. OK markus@ norby@ | |||||
* | - pcbflags is not modified in pcb_(dis)connect, so there's no | 2006-05-16 | 1 | -11/+3 | ||
| | | | | | | | | 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 | |||||
* | Path MTU discovery for NAT-T. | 2006-01-13 | 1 | -2/+11 | ||
| | | | | OK markus@, "looks good" hshoexer@ | |||||
* | make pf use one mbuf tag instead of 6 distinct ones. use a little struct | 2005-10-17 | 1 | -5/+11 | ||
| | | | | | | | | | 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 | |||||
* | Experimental support for opportunitic use of jumbograms where only some hosts | 2005-05-27 | 1 | -2/+3 | ||
| | | | | | | | | | | | | | | 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@ | |||||
* | csum -> csum_flags | 2005-04-25 | 1 | -5/+5 | ||
| | | | | ok krw@ canacar@ | |||||
* | replace in_pcbnotify with in_pcbhashlookup and avoid looping over | 2004-08-10 | 1 | -3/+10 | ||
| | | | | all connections; ok dhartmei, canacar, mcbride | |||||
* | spelling | 2004-06-14 | 1 | -2/+2 | ||
| | ||||||
* | with IPv6, udp checksum is mandatory. henning ok | 2004-04-14 | 1 | -1/+6 | ||
| | ||||||
* | fix udp checksum verification if ip options are present; | 2004-03-21 | 1 | -7/+3 | ||
| | | | | report from Pyun via dhartmei@; ok mcbride@, dhartmei@ | |||||
* | switch to sysctl_int_arr(); ok henning, deraadt | 2004-02-17 | 1 | -11/+10 | ||
| | ||||||
* | in_pcbnotify() now returns number of matches. | 2004-01-07 | 1 | -2/+2 | ||
| | ||||||
* | use CIRCLEQ* for pcb's; ok deraadt, henning, mcbride, with help from canacar | 2003-12-21 | 1 | -4/+2 | ||
| | ||||||
* | de-register. deraadt ok | 2003-12-10 | 1 | -13/+13 | ||
| | ||||||
* | Mbuf tag tcp and udp packets which are translated to localhost, and | 2003-12-08 | 1 | -4/+6 | ||
| | | | | | | | | | | | | | 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@ | |||||
* | UDP encapsulation for ESP in transport mode (draft-ietf-ipsec-udp-encaps-XX.txt) | 2003-12-02 | 1 | -1/+42 | ||
| | | | | ok deraadt@ | |||||
* | add in(6)_pcblookup_listen() and replace all calls to in_pcblookup() | 2003-11-04 | 1 | -16/+8 | ||
| | | | | | | 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 | |||||
* | do not flip ip_len/ip_off in netinet stack. deraadt ok. | 2003-07-09 | 1 | -2/+2 | ||
| | | | | (please test, especially PF portion) | |||||
* | Remove the advertising clause in the UCB license which Berkeley | 2003-06-02 | 1 | -6/+2 | ||
| | | | | rescinded 22 July 1999. Proofed by myself and Theo. | |||||
* | missing #ifdef INET6. fries found it | 2003-05-30 | 1 | -3/+7 | ||
| | ||||||
* | use m_pulldown instead of m_pullup2. enable support for IPv6 jumbogram. | 2003-05-29 | 1 | -39/+23 | ||
| | | | | markus & art ok | |||||
* | Nuke a whole bunch of commons; ok tedu (still more to come *sigh*) | 2003-05-12 | 1 | -1/+3 | ||
| | ||||||
* | Fix a problem where passing NULL as a pointer with varargs does not promote | 2002-08-28 | 1 | -2/+2 | ||
| | | | | | | | | 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@ | |||||
* | be consistent with other KAME source, use "ip6" for ip6_hdr, not "ipv6". | 2002-08-19 | 1 | -32/+32 | ||
| | ||||||
* | undo recent changes; they still crash for people (dhclient this time). | 2002-06-28 | 1 | -94/+67 | ||
| | | | | This is a bullshit process. Test your shit before you toss it into the tree. | |||||
* | Check for associated socket. | 2002-06-26 | 1 | -2/+2 | ||
| | ||||||
* | A bit more paranoid. | 2002-06-26 | 1 | -10/+15 | ||
| | ||||||
* | Ifdef the function proto as well. | 2002-06-25 | 1 | -1/+4 | ||
| | ||||||
* | Make udp_input() a bit more readable by farming out the IPsec input | 2002-06-25 | 1 | -67/+86 | ||
| | | | | | policy checking to a separate routine. Also, add missing checks for multicast sockets, pointed out by sam@errno.com | |||||
* | minor indent cleanup while reading code | 2002-06-20 | 1 | -30/+27 | ||
| | ||||||
* | whitespace | 2002-06-09 | 1 | -10/+10 | ||
| | ||||||
* | Socket-specific IPsec policy. | 2002-05-31 | 1 | -7/+15 | ||
| | ||||||
* | Kill #if __STDC__ used to do K&R vs. ANSI varargs/stdarg; just do things | 2002-03-15 | 1 | -13/+1 | ||
| | | | | the ANSI way. | |||||
* | First round of __P removal in sys | 2002-03-14 | 1 | -6/+6 | ||
| | ||||||
* | Defer output checksumming until ip_output() or hardware. | 2001-06-25 | 1 | -24/+9 | ||
| | ||||||
* | Use in_cksum_phdr() rather than in_cksum() -- from NetBSD | 2001-06-25 | 1 | -3/+4 | ||
| | ||||||
* | Remove printfs, fix comment typos. | 2001-06-24 | 1 | -13/+5 | ||
| | ||||||
* | Save tdb_remote_auth on the PCB on latching; also save information on | 2001-06-24 | 1 | -3/+30 | ||
| | | | | UDP PCB's if the socket is connected. | |||||
* | Clear the checksum flags after verification. Also, don't count | 2001-06-23 | 1 | -7/+8 | ||
| | | | | checksum errors as hardware checksum packets as well. | |||||
* | Remove unneeded ip_id convertions. | 2001-06-23 | 1 | -2/+1 | ||
| | | | | | | Instead of using HTONS macro in some places, use htons directly in the struct member and save us a few bytes. Fix comment. | |||||
* | Likewise, only use outgoing TCP/UDP hardware checksumming if the | 2001-06-23 | 1 | -2/+3 | ||
| | | | | interface is not in bridge mode. | |||||
* | Keep stats on TCP/UDP hardware checksumming. | 2001-06-23 | 1 | -5/+14 | ||
| | ||||||
* | TCP/UDP hardware checksumming. Untested, since txp dies when it tries | 2001-06-23 | 1 | -1/+14 | ||
| | | | | to compute the checksums. Still, it shouldn't affect anything. | |||||
* | Initialize only if no hardware checksumming. | 2001-06-23 | 1 | -5/+5 | ||
| | ||||||
* | TCP, UDP, IPv4 input hardware checksumming processing; also IPv4 | 2001-06-23 | 1 | -5/+10 | ||
| | | | | | | | | | 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. | |||||
* | mop up after angelos | 2001-06-19 | 1 | -1/+2 | ||
| | ||||||
* | Cut down on include files. | 2001-06-08 | 1 | -18/+1 | ||
| | ||||||
* | repair copyright notices for NRL & cmetz; cmetz | 2001-06-05 | 1 | -14/+38 | ||
| | ||||||
* | Remove unnecessary comment. | 2001-05-27 | 1 | -6/+3 | ||
| |