summaryrefslogtreecommitdiff
path: root/sys/netinet6/in6_pcb.c
AgeCommit message (Collapse)Author
2005-06-24simplify port allocation in pcb_bind(); based on freebsd; ok claudio henningMarkus 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
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-11-04don't call in_pcbrehash twice; ok itojun@Markus Friedl
2003-10-01use random number generator to generate IPv6 fragment ID/flowlabel.Jun-ichiro itojun Hagino
cleanup IPv6 flowlabel handling. deraadt ok
2003-09-28Correct off-by-ones with respect to PRC_NCMDS. Mostly from FreeBSD.Chad Loder
OK krw@, deraadt@
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-06-02Remove the advertising clause in the UCB license which BerkeleyTodd C. Miller
rescinded 22 July 1999. Proofed by myself and Theo.
2003-03-15specifed -> specifiedTheo de Raadt
2002-09-11KNF - return is not a function. sync w/kameJun-ichiro itojun Hagino
2002-09-04pass struct proc * down to in6_pcbsetportJun-ichiro itojun Hagino
2002-08-20more comment on bind(deprecated) handlingJun-ichiro itojun Hagino
2002-06-09correct getpeername(2).Jun-ichiro itojun Hagino
2002-03-14First round of __P removal in sysTodd C. Miller
2002-01-21remove couple of #if 0'ed portion we will never useJun-ichiro itojun Hagino
2001-06-05repair copyright notices for NRL & cmetz; cmetzTheo de Raadt
2001-02-16pull in new pcb notification code from kame. better handling of scope address.Jun-ichiro itojun Hagino
2001-02-16kill register declarations. to sync with kame better.Jun-ichiro itojun Hagino
2001-02-08witch raw ip6 socket code from NRL to kame.Jun-ichiro itojun Hagino
makes upgrades/code sharing much easier.
2001-01-06prohibited binding to an anycast, notready, or detached IPv6 address.Jun-ichiro itojun Hagino
sync with kame 1.46 -> 1.47
2000-12-21correct ipv6 path mtu discovery.Jun-ichiro itojun Hagino
2000-10-11nuke inp_flags bits for controlling IPv4 mapped address.Jun-ichiro itojun Hagino
we don't support IPv4 mapped address, and there are inconsistent bit manipulation code so it's safer to nuke them.
2000-06-18KNF (sorry craig)Jun-ichiro itojun Hagino
2000-06-18remove now-unnecessary statement due to "for" logic clarfication.Jun-ichiro itojun Hagino
2000-06-18correct logic mistake in in6_pcbnotify, due to indentation.Jun-ichiro itojun Hagino
will KNF it soon.
2000-06-18use in6_recoverscopeJun-ichiro itojun Hagino
2000-06-13allow link-local IPv6 addres in in6_pcbbind.Jun-ichiro itojun Hagino
2000-06-03correctly handle ctlinput messages for IPv6.Jun-ichiro itojun Hagino
2000-05-28do not treat bind(2) with IPv4 mapped address in a special way.Jun-ichiro itojun Hagino
old code fails to check for port number duplicate. XXX should remove more IPv4 mapped code
2000-04-27avoid infinite loop in in{6,}_pcbnotify (can occurs on family mismatch)Jun-ichiro itojun Hagino
2000-04-21NRL pcb issue; inp_{f,l}addr{,6} is a union so we need to be sure aboutJun-ichiro itojun Hagino
af match. - do not touch IPv4 pcb entries on in6_pcbnotify. - do not touch IPv6 pcb entries on in_pcbnotify.
2000-02-28bring in recent KAME changes (only important and stable ones, as usual).Jun-ichiro itojun Hagino
- remove net.inet6.ip6.nd6_proxyall. introduce proxy NDP code works just like "arp -s". - revise source address selection. be more careful about use of yet-to-be-valid addresses as source. - as router, transmit ICMP6_DST_UNREACH_BEYONDSCOPE against out-of-scope packet forwarding attempt. - path MTU discovery takes care of routing header properly. - be more strict about mbuf chain parsing. - nuke xxCTL_VARS #define, they are for BSDI. - disable SIOCSIFDSTADDR_IN6/SIOCSIFNETMASK_IN6 ioctl, they do not fit IPv6 model where multiple address on interface is normal. (kernel side supports them for a while for backward compat, the support will be nuked shortly) - introduce "default outgoing interface" (for spec conformance in very rare case)
2000-02-07fix include file path related to ip6.Jun-ichiro itojun Hagino
1999-12-10Add RCS tags, remove unused header files and code, remove a fewAngelos D. Keromytis
unnecessary ifdefs...
1999-12-08Removed about 24KB of ifdef'ed code. It's nice to be able to see whatAngelos D. Keromytis
other OSes do, but not if I can't read our code.
1999-12-08bring in KAME IPv6 code, dated 19991208.Jun-ichiro itojun Hagino
replaces NRL IPv6 layer. reuses NRL pcb layer. no IPsec-on-v6 support. see sys/netinet6/{TODO,IMPLEMENTATION} for more details. GENERIC configuration should work fine as before. GENERIC.v6 works fine as well, but you'll need KAME userland tools to play with IPv6 (will be bringed into soon).
1999-03-24Replace 'in6a_words' (old NRL convention) with 's6_addr32' (new BSDI et al.cmetz
convention that is more common and more specific as to the access size)
1999-03-09Demangled the INET6 stuff so as not to require any extra options and not tocmetz
be mutually exclusive with the IPSEC option.
1999-02-24Synchronized changes needed to integrate into OpenBSD with the NRL sourcecmetz
tree so we can have a unified netinet6 directory.
1999-01-07rename baddynamic() to in_baddynamic(), and export itTheo de Raadt
1999-01-06first few files of NRL ipv6. This NRL release was officially exportedTheo de Raadt
to me by US DOD officials, with the crypto already removed.