summaryrefslogtreecommitdiff
path: root/sys/netinet/ip_mroute.c
AgeCommit message (Collapse)Author
2007-04-10``it's'' -> ``its'' when the grammar gods require this change.Miod Vallat
2007-02-14Consistently spell FALLTHROUGH to appease lint.Jonathan Gray
ok kettenis@ cloder@ tom@ henning@
2006-06-15Change cast of last vararg to ip_output to match what ip_output expects,Christopher Pascoe
for clarity. henning@ claudio@ ok
2006-05-11fix corruption of pim register packets. From Hideki ONO, thanks!Hans-Joerg Hoexer
ok mcbride@ itojun@
2006-04-25Remove virtual tunnel support from the mrouting code. The virtual tunnelClaudio Jeker
code breaks multicast on gif(4) interfaces and it is far better to configure a real gif(4) tunnel instead of a multicast tunnel as the latter is almost not manageable. OK norby@, mblamer@
2005-04-25csum -> csum_flagsBrad Smith
ok krw@ canacar@
2005-01-15fix commentBrad Smith
2005-01-14Duplicate nested if statement in PIM code.Ryan Thomas McBride
From brad@
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-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@
2004-08-24Don't allow SIOCGET{VIF,SG}CNT from sockets other than the multicast router.Brad Smith
From NetBSD Fixes PR 3825 ok mcbride@ canacar@ claudio@
2004-01-06fix vlan destroy for MROUTING; report spamme@wouz.dk via tedu; ok itojunMarkus Friedl
2004-01-03put an mi wrapper around stdarg.h/varargs.h. gcc3 moved stdarg/varargs macrosMarc Espie
to built-ins, so eventually we will have one version of these files. Special adjustments for the kernel to cope: machine/stdarg.h -> sys/stdarg.h and machine/ansi.h needs to have a _BSD_VA_LIST_ for syslog* prototypes. okay millert@, drahn@, miod@.
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-07-09better vif_delete (no dangling ref to struct ifnet). deraadt okJun-ichiro itojun Hagino
it won't affect default GENERIC build - as MROUTING is not defined
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-14KNF. markus okJun-ichiro itojun Hagino
2003-05-06string cleaning; tedu okTheo de Raadt
2002-08-28Fix a problem where passing NULL as a pointer with varargs does not promotePer 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-07-31remove $Id$Jun-ichiro itojun Hagino
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.
2002-03-14First round of __P removal in sysTodd C. Miller
2001-09-26bring back the old copyright noticeTheo de Raadt
2001-08-19More old timeouts removal, mainly affected unused/unmaintained code.Miod Vallat
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.
2000-11-10seperate -> separate, okay aaron@Niels Provos
2000-01-21Rename the ip4_* routines to ipip_*, make it so GIF tunnels are notAngelos D. Keromytis
affected by net.inet.ipip.allow (the sysctl formerly known as net.inet.ip4.allow), rename the VIF ipip_input to ipip_mroute_input.
1999-08-08undeclared variableNiklas Hallqvist
1999-08-08Support detaching of network interfaces. Still work to do in ipf, andNiklas Hallqvist
other families than inet.
1999-04-28zap the newhashinit hack.Artur Grabowski
Add an extra flag to hashinit telling if it should wait in malloc. update all calls to hashinit.
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-02-05Clear mfchashtbl after deallocation (mycroft@netbsd)Angelos D. Keromytis
1999-01-08dont call ip_randomid() in htons().Niels Provos
1999-01-08rip_input() should be called with a 0 terminator; cmetzTheo de Raadt
1998-12-26make ip_id random but ensure that ids dont repeat for some period.Niels Provos
1998-07-29Proper handling of IP in IP and checksumming.Angelos D. Keromytis
1998-07-03wrong endian conversion caused vif stats to be wrong; jonny@jonny.eng.brTheo 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-09-28more \n in log()Theo de Raadt
1997-02-21Couple of missing ifdefs.Angelos D. Keromytis
1997-02-20IPSEC package by John Ioannidis and Angelos D. Keromytis. Written inTheo de Raadt
Greece. From ftp.funet.fi:/pub/unix/security/net/ip/BSDipsec.tar.gz
1996-05-10if_name/if_unit -> if_xname/if_softcTheo de Raadt
1996-04-21partial sync with netbsd 960418, more to comeTheo de Raadt
1996-03-03From NetBSD: 960217 mergeNiklas Hallqvist
1995-10-18initial import of NetBSD treeTheo de Raadt