summaryrefslogtreecommitdiff
path: root/sys/netinet6/ip6_mroute.c
AgeCommit message (Collapse)Author
2013-05-31Remove a bunch of sockaddr_in6 pointer casts and replace othersAlexander Bluhm
with sin6tosa() or satosin6() inline functions. This allows the compiler to check the types more strictly. OK mpi@
2013-05-14Fix build with MRT6DEBUG defined.Martin Pieuchot
2013-05-02tedu broken Resource Reservation Protocol code that was ifdef RSVP_ISI.Martin Pieuchot
ok deraadt@, tedu@ (implicit)
2013-03-28no need for a lot of code to include proc.hTed Unangst
2013-03-20Introduce if_get() to retrieve an interface descriptor pointer givenMartin Pieuchot
an interface index and replace all the redondant checks and accesses to a global array by a call to this function. With imputs from and ok bluhm@, mikeb@
2012-09-19ioctl requests are u_long not int, spotted via clangJonathan Gray
ok deraadt@ miod@
2010-04-20remove proc.h include from uvm_map.h. This has far reaching effects, asTed Unangst
sysctl.h was reliant on this particular include, and many drivers included sysctl.h unnecessarily. remove sysctl.h or add proc.h as needed. ok deraadt
2010-02-08More destatic and ansification.Joel Sing
ok claudio@ naddy@
2009-10-30Don't do a double free, sys_getsockopt() will take care of freeing theClaudio Jeker
mbuf allocated by the subroutines. OK kettenis@
2009-05-31Remove _KERNEL goo from kernel files because we're setting _KERNEL correctly.Claudio Jeker
OK deraadt@, miod@
2008-09-17remove dead stores and newly created unused variables.Charles Longeau
Found by LLVM/Clang Static Analyzer. ok henning@ mpf@
2008-06-11ANSIfy to sync with KAME. From Karl Sjodahl <dunceor@gmail.com>.Ryan Thomas McBride
ok todd deraadt naddy bluhm
2008-01-02return with ENOTTY instead of EINVAL for unknown ioctl requests.Brad Smith
ok claudio@ krw@ dlg@
2007-12-14add sysctl entry points into various network layers, in particular toTheo de Raadt
provide netstat(1) with data it needs; ok claudio reyk
2007-06-01apply the "skip ipsec if there are no flows" speedup diff to IPv6 too.Henning Brauer
we need a pointer to the inpcb to decide, which was not previously passed to ip6_output, so this diff is a little bigger. from itojun, ok ryan
2006-11-21introduce sysctl net.inet6.ip6.multicast_mtudisc (for multicast routers).Jun-ichiro itojun Hagino
deraadt ok. manpage nit by jmc.
2006-11-17change semantics of ff01::/16 to interface local multicastJun-ichiro itojun Hagino
(to sync up with more recent IPv6 spec) ok from: deraadt mcbride
2005-10-14avoid silly static variables that even caused nesting issues,Brad Smith
not to mention reentrancy concerns. From christos NetBSD ok deraadt@
2004-11-10Fix 'netstat -sp pim6'Ryan Thomas McBride
From Pavlin Radoslavov
2004-06-21First step towards more sane time handling in the kernel -- this changesThorsten Lockert
things such that code that only need a second-resolution uptime or wall time, and used to get that from time.tv_secs or mono_time.tv_secs now get this from separate time_t globals time_second and time_uptime. ok art@ niklas@ nordin@
2003-12-10validate set/getsockopt arg more strictly. local privileged user could causeJun-ichiro itojun Hagino
a kernel panic with previous code. from kame
2003-12-10use if_indexlim (instead of if_index) and ifindex2ifnet[x] != NULLJun-ichiro itojun Hagino
to check if interface exists, as (1) if_index will have different meaning (2) ifindex2ifnet could become NULL when interface gets destroyed, when we introduce dynamically-created interfaces. markus ok
2003-07-08on interface removal, clear multicast forwarding stuff. from kameJun-ichiro itojun Hagino
2003-06-24use time.tv_sec directly, rather than having time_second (freebsd NIH).Jun-ichiro itojun Hagino
2003-06-06don't try to forward multicast packet to mif that went away; kameJun-ichiro itojun Hagino
2003-06-03remove unneeded break after return. sync w/kameJun-ichiro itojun Hagino
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-15check pim version before checksum. version check is cheaper.Jun-ichiro itojun Hagino
2003-05-14KNF; sync w/kameJun-ichiro itojun Hagino
2003-05-14make PULLDOWN_TEST codepath the default (has been default for a long time).Jun-ichiro itojun Hagino
markus ok
2003-05-07use strlcpy; itojun okTheo de Raadt
2002-11-27recover original stanford copyright. sync w/kameJun-ichiro itojun Hagino
2002-11-09need icmp6.h for MULTICAST_PMTUD case. sync w/kameJun-ichiro itojun Hagino
2002-09-11KNF - return is not a function. sync w/kameJun-ichiro itojun Hagino
2002-07-25correct MTU check. sync w/kameJun-ichiro itojun Hagino
2002-06-29We know noone called Bill FenenrTheo de Raadt
2002-06-09whitespace cleanupJun-ichiro itojun Hagino
2002-06-08splnet -> splsoftnet where appropriateJun-ichiro itojun Hagino
2002-06-07typoJun-ichiro itojun Hagino
2002-06-07'fall through' is not a valid LINT keyword.Jun-ichiro itojun Hagino
2002-05-30use M_READONLY where possible. minor cleanup/sync with kame.Jun-ichiro itojun Hagino
2002-05-29attach nd_ifinfo structure to if_afdata.Jun-ichiro itojun Hagino
split IPv6 MTU (advertised by RA) from real link MTU. sync with kame
2002-03-24double m_free() - niklas@openbsdJun-ichiro itojun Hagino
2002-03-14First round of __P removal in sysTodd C. Miller
2002-02-10spellingTheo de Raadt
2001-12-07whitespace/comment sync with kameJun-ichiro itojun Hagino
2001-06-09No need for net/net_osdep.hAngelos D. Keromytis
2001-03-25missing splx. sync with kame.Jun-ichiro itojun Hagino
From: csapuntz@play-doh.stanford.edu (Constantine Sapuntzakis)
2001-03-08more missing splx. sync with kameJun-ichiro itojun Hagino
2001-03-07missing splx. from aaron. sync with kameJun-ichiro itojun Hagino