summaryrefslogtreecommitdiffstats
path: root/sys/netinet/raw_ip.c (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Add kernel support for Protocol Independant Multicast (PIM)mcbride2005-01-141-1/+5
| | | | | | | | Information: http://netweb.usc.edu/pim/ From Pavlin Radoslavov <pavlin@icir.org> ok deraadt@ brad@
* allow ToS to be set on raw ip socketshenning2004-12-081-2/+2
| | | | | From: "Esben Norby (ST/LMD)" <esben.norby@ericsson.com> ok hshoexer markus millert
* use ttl from setsockopt(), similar to bsd/os; ok henning, mcbride, fgschmarkus2004-11-251-2/+2
|
* Multicast routing cleanup from Pavlin Radoslavovmcbride2004-11-241-3/+3
| | | | | | | | | | - sync ip_mroute.c with NetBSD - import some FreeBSD changes to MFC entry handling - set im->im_vif correctly when sending IGMPMSG_WRONGVIF - increment mrtstat.mrts_upcalls correctly - return error from get_sg_cnt() if there is no matching forwarding entry ok henning@ brad@ naddy@
* use CIRCLEQ* for pcb's; ok deraadt, henning, mcbride, with help from canacarmarkus2003-12-211-4/+2
|
* de-register. deraadt okitojun2003-12-101-11/+11
|
* do not flip ip_len/ip_off in netinet stack. deraadt ok.itojun2003-07-091-8/+6
| | | | (please test, especially PF portion)
* Remove the advertising clause in the UCB license which Berkeleymillert2003-06-021-6/+2
| | | | rescinded 22 July 1999. Proofed by myself and Theo.
* don't use M_WAIT here. we could be in splnet, and caller may not beitojun2003-05-271-2/+4
| | | | xx_usrreq. henning ok
* rip_output: make sure a full ip header is passed for INP_HDRINCL; ok deraadt@markus2003-02-151-1/+5
|
* whitespaceitojun2002-06-091-5/+5
|
* Kill #if __STDC__ used to do K&R vs. ANSI varargs/stdarg; just do thingsmillert2002-03-151-13/+1
| | | | the ANSI way.
* Remove unneeded ip_id convertions.fgsch2001-06-231-3/+2
| | | | | | Instead of using HTONS macro in some places, use htons directly in the struct member and save us a few bytes. Fix comment.
* Cut down on include files.angelos2001-06-081-6/+2
|
* repair copyright notices for NRL & cmetz; cmetzderaadt2001-06-051-14/+38
|
* Lots and lots of changes.angelos2000-09-191-6/+2
|
* disallow AF mismatch on inbound.itojun1999-12-191-1/+5
|
* fix same-interface-out-as-in and packet gets corrupted bug noted byderaadt1999-09-231-2/+1
| | | | | | | james@oaktree.co.uk by re-working icmp embedded-packet code so that ip_forward() m_copy()-aliased packet can be forwarded to ip_output and icmp_error() safely, because no packet tweaking is needed before calling icmp_error()
* return a ICMP_UNREACH_PROTOCOL for protocols we do not support; discussion with cmetzderaadt1999-06-071-2/+6
|
* messup, learn to test *all* variants of compile options whenniklas1999-04-201-5/+2
| | | | altering the logic round such.
* Merge MROUTING and IPSEC wrt handling of IP-in-IP tunnelled packets.niklas1999-04-201-2/+5
| | | | | Fix a panic case in the MROUTING code too. Drop M_TUNNEL support, nothing ever uses it.
* netinet merge of NRL stuff. some indent and shrinkage needed; NRL/cmetzderaadt1999-01-111-2/+23
|
* dont call ip_randomid() in htons().provos1999-01-081-3/+5
|
* make ip_id random but ensure that ids dont repeat for some period.provos1998-12-261-2/+2
|
* check for valid ip_hl too; route@infonexus.comderaadt1998-12-151-2/+3
|
* first step to the setsockopt/getsockopt interface as described inprovos1998-05-181-2/+9
| | | | | | | draft-mcdonald-simple-ipsec-api, kernel notifies (EMT_REQUESTSA) signal userland key management applications when security services are requested. this is only for outgoing connections at the moment, incoming packets are not yet checked against the selected socket policy.
* cmd is a u_longderaadt1997-07-241-2/+2
|
* for IP_HDRINCL option, use ip_len/ip_off in network order; lidl@va.pubnix.comderaadt1997-01-301-1/+3
|
* Make ip_len and ip_off unsigned values; don't transmit or accept packetstholo1997-01-261-1/+9
| | | | larger than the maximum IP packet size. From NetBSD.
* restrict some raw ip packets that may crash ip_output(); from freebsdderaadt1996-08-141-5/+12
|
* Fix bogosity in import of Lite2 fixtholo1996-03-151-18/+1
|
* From Lite2; improve handling of socket options on raw datagrams and multi-tholo1996-03-141-20/+35
| | | | cast routing commands
* From NetBSD: Fix PR/2095 options MROUTING did not compile.niklas1996-03-041-2/+5
|
* From NetBSD: 960217 mergeniklas1996-03-031-10/+32
|
* from netbsd:deraadt1995-12-141-1/+11
| | | | | | | | | make netinet work on systems where pointers and longs are 64 bits (like the alpha). Biggest problem: IP headers were overlayed with structure which included pointers, and which therefore didn't overlay properly on 64-bit machines. Solution: instead of threading pointers through IP header overlays, add a "queue element" structure to do the threading, and point it at the ip headers.
* initial import of NetBSD treederaadt1995-10-181-0/+402