summaryrefslogtreecommitdiff
path: root/sys/netinet/raw_ip.c
AgeCommit message (Collapse)Author
2005-01-14Add kernel support for Protocol Independant Multicast (PIM)Ryan Thomas McBride
Information: http://netweb.usc.edu/pim/ From Pavlin Radoslavov <pavlin@icir.org> ok deraadt@ brad@
2004-12-08allow ToS to be set on raw ip socketsHenning Brauer
From: "Esben Norby (ST/LMD)" <esben.norby@ericsson.com> ok hshoexer markus millert
2004-11-25use ttl from setsockopt(), similar to bsd/os; ok henning, mcbride, fgschMarkus Friedl
2004-11-24Multicast routing cleanup from Pavlin RadoslavovRyan Thomas McBride
- 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@
2003-12-21use CIRCLEQ* for pcb's; ok deraadt, henning, mcbride, with help from canacarMarkus Friedl
2003-12-10de-register. deraadt okJun-ichiro itojun Hagino
2003-07-09do not flip ip_len/ip_off in netinet stack. deraadt ok.Jun-ichiro itojun Hagino
(please test, especially PF portion)
2003-06-02Remove the advertising clause in the UCB license which BerkeleyTodd C. Miller
rescinded 22 July 1999. Proofed by myself and Theo.
2003-05-27don't use M_WAIT here. we could be in splnet, and caller may not beJun-ichiro itojun Hagino
xx_usrreq. henning ok
2003-02-15rip_output: make sure a full ip header is passed for INP_HDRINCL; ok deraadt@Markus Friedl
2002-06-09whitespaceJun-ichiro itojun Hagino
2002-03-15Kill #if __STDC__ used to do K&R vs. ANSI varargs/stdarg; just do thingsTodd C. Miller
the ANSI way.
2001-06-23Remove 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-08Cut down on include files.Angelos D. Keromytis
2001-06-05repair copyright notices for NRL & cmetz; cmetzTheo de Raadt
2000-09-19Lots and lots of changes.Angelos D. Keromytis
1999-12-19disallow AF mismatch on inbound.Jun-ichiro itojun Hagino
1999-09-23fix same-interface-out-as-in and packet gets corrupted bug noted byTheo de Raadt
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()
1999-06-07return a ICMP_UNREACH_PROTOCOL for protocols we do not support; discussion ↵Theo de Raadt
with cmetz
1999-04-20messup, learn to test *all* variants of compile options whenNiklas Hallqvist
altering the logic round such.
1999-04-20Merge MROUTING and IPSEC wrt handling of IP-in-IP tunnelled packets.Niklas Hallqvist
Fix a panic case in the MROUTING code too. Drop M_TUNNEL support, nothing ever uses it.
1999-01-11netinet merge of NRL stuff. some indent and shrinkage needed; NRL/cmetzTheo de Raadt
1999-01-08dont call ip_randomid() in htons().Niels Provos
1998-12-26make ip_id random but ensure that ids dont repeat for some period.Niels Provos
1998-12-15check for valid ip_hl too; route@infonexus.comTheo de Raadt
1998-05-18first step to the setsockopt/getsockopt interface as described inNiels Provos
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.
1997-07-24cmd is a u_longTheo de Raadt
1997-01-30for IP_HDRINCL option, use ip_len/ip_off in network order; lidl@va.pubnix.comTheo de Raadt
1997-01-26Make ip_len and ip_off unsigned values; don't transmit or accept packetsThorsten Lockert
larger than the maximum IP packet size. From NetBSD.
1996-08-14restrict some raw ip packets that may crash ip_output(); from freebsdTheo de Raadt
1996-03-15Fix bogosity in import of Lite2 fixThorsten Lockert
1996-03-14From Lite2; improve handling of socket options on raw datagrams and multi-Thorsten Lockert
cast routing commands
1996-03-04From NetBSD: Fix PR/2095 options MROUTING did not compile.Niklas Hallqvist
1996-03-03From NetBSD: 960217 mergeNiklas Hallqvist
1995-12-14from netbsd:Theo de Raadt
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.
1995-10-18initial import of NetBSD treeTheo de Raadt