summaryrefslogtreecommitdiff
path: root/sys/netinet6
AgeCommit message (Collapse)Author
2004-02-23avoid touching out-of-bound memory if len == 128.Jun-ichiro itojun Hagino
Ted Unangst via Colin Percival
2004-02-15switch to sysctl_int_arr(); ok itojun, henning, miod, deraadtMarkus Friedl
2004-02-06permit IPv6-only operation (permit AF_INET6 bind(2) without IPv4 address).Jun-ichiro itojun Hagino
found by todd fries. markus ok
2004-02-05remove never-to-be-used codepath (IPv4 mapped address). ok mcbrideJun-ichiro itojun Hagino
2004-02-04typo within comment, deilver -> deliverDaniel Hartmeier
2004-02-04remove kludge now that proper IPV6_MMTU handling is inDaniel Hartmeier
2004-02-04strictly follow RFC2460 section 5, last paragraph (sender behavior whenJun-ichiro itojun Hagino
path MTU < 1280). bug found by Georgi Guninski. ok dhartmei
2004-02-02make the stack compile if NPF=0. ok deraadt@ markus@Cedric Berger
2004-02-01ignore too small MTUs (below 296 octets), similar to IPv4.Daniel Hartmeier
2004-01-15Provide explicit function argument declarations.Miod Vallat
2004-01-13Expose in6_ifremloop() and in6_ifaddloop() so that they can be used by carp.Ryan Thomas McBride
ok henning@ millert@ itojun@
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-21change in*_pcbnotify to return numbers of matches; ok itojun, mcbride, henningMarkus Friedl
2003-12-21use CIRCLEQ* for pcb's; ok deraadt, henning, mcbride, with help from canacarMarkus Friedl
2003-12-12niels kindly dropped clause 3/4 from the license. tnx!Jun-ichiro itojun Hagino
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-10correct non-repetitive ID code, based on comments from niels provos.Jun-ichiro itojun Hagino
- seed2 is necessary, but use it as "seed2 + x" not "seed2 ^ x". - skipping number is not needed, so disable it for 16bit generator (makes the repetition period to 30000)
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-12-08move pf_test6() call below loopback (and mapped-ipv4) tests, so rdr -> ::1Daniel Hartmeier
works without additional route-to lo0, just like for ipv4. ok itojun@, henning@
2003-12-03add support for ifconfig clone/destroy; ok henning deraadtMarkus Friedl
2003-11-16convert __attribute__((__packed__)) to __packed so that parsers unawareAnil Madhavapeddy
of gcc extensions have more of a chance. ok mcbride@, no objections from millert@, deraadt@
2003-11-07fix behavior when ipv6mr_interface is 0. reported on netbsd listJun-ichiro itojun Hagino
2003-11-04don't call in_pcbrehash twice; ok itojun@Markus Friedl
2003-10-31Add IPv6 support to CARP.Ryan Thomas McBride
ok deraadt@
2003-10-15c++ friendly, sync w/kame. pvalchev okJun-ichiro itojun Hagino
2003-10-14oops, i did not mean to commit this portion (IPSEC mod), sorryJun-ichiro itojun Hagino
2003-10-14IP6F_OFF_MASK is already endian-flipped; sync w/ kameJun-ichiro itojun Hagino
2003-10-01use random number generator to generate IPv6 fragment ID/flowlabel.Jun-ichiro itojun Hagino
cleanup IPv6 flowlabel handling. deraadt ok
2003-10-01correct m_cat misuse. i remember it was ok'ed by someone but don't remember ↵Jun-ichiro itojun Hagino
who...
2003-09-28Correct off-by-ones with respect to PRC_NCMDS. Mostly from FreeBSD.Chad Loder
OK krw@, deraadt@
2003-09-26Typos: defintion -> definition, proccess -> processMiod Vallat
There are more occurences hiding in binutils, lynx and afs but I am too lazy to report them upstream at the moment.
2003-08-15change arguments to suser. suser now takes the process, and a flagsTed Unangst
argument. old cred only calls user suser_ucred. this will allow future work to more flexibly implement the idea of a root process. looks like something i saw in freebsd, but a little different. use of suser_ucred vs suser in file system code should be looked at again, for the moment semantics remain unchanged. review and input from art@ testing and further review miod@
2003-08-14m_copyback()'s 4th arg is const void *, nuke (caddr_t) casts.Jason Wright
2003-08-07make net.inet6.ip6.redirect actually work. from kameJun-ichiro itojun Hagino
2003-08-07m_cat might free mbuf passed as 2nd arg. compute pkthdr.len before m_cat.Jun-ichiro itojun Hagino
from kame
2003-07-18remove #if 0 portionJun-ichiro itojun Hagino
2003-07-08unifdef -U__otherBSD__Jun-ichiro itojun Hagino
2003-07-08on interface removal, clear multicast forwarding stuff. from kameJun-ichiro itojun Hagino
2003-06-30initialize srcrt properly (so that it won't go mad when NPF==0). cedricJun-ichiro itojun Hagino
2003-06-30do not generate icmp6 redirect if PF rewrote the destination address.Jun-ichiro itojun Hagino
requeested by cedric
2003-06-28i don't think pfsync needs a link-local addr.Jun-ichiro itojun Hagino
2003-06-27split ND6 cache timer management to per-entry. increased accuracy,Jun-ichiro itojun Hagino
no O(N) loop. sync w/ kame. marc tested, daniel ok
2003-06-24remove unneeded checks of accept_rtadv. from kameJun-ichiro itojun Hagino
2003-06-24* kame/sys/netinet6/nd6.c (nd6_rtrequest): changed a condition toJun-ichiro itojun Hagino
decide whether to create an empty llinfo stricter so that a user can manually change the link-layer address of an existing neighbor cache. Pointed out by: KIU Shueng Chuan from kame
2003-06-24use time.tv_sec directly, rather than having time_second (freebsd NIH).Jun-ichiro itojun Hagino
2003-06-24clear ln_hold earlier. from kameJun-ichiro itojun Hagino
2003-06-11- sync up MLD declaration with RFC3542 (s/MLD6/MLD/)Jun-ichiro itojun Hagino
- routing header declaration with RFC3542 (note: sizeof(ip6_rthdr0) has changed!) also, sync up with RFC2460 routing header definition (no "strict" source routing mode any more) part of advanced API update (RFC2292 -> 3542). markus, todd, millert, henning ok
2003-06-06don't try to forward multicast packet to mif that went away; kameJun-ichiro itojun Hagino
2003-06-03remove assumption on mbuf pointed to by m0; sync w/kameJun-ichiro itojun Hagino
2003-06-03remove unneeded break after return. sync w/kameJun-ichiro itojun Hagino