summaryrefslogtreecommitdiffstats
path: root/sys/netinet6
Commit message (Collapse)AuthorAgeFilesLines
* Clean up some loose ends in the network code, including the X.25 and ISOpeter2000-02-131-2/+1
| | | | | | | #ifdefs. Clean out unused netisr's and leftover netisr linker set gunk. Tested on x86 and alpha, including world. Approved by: jkh
* Prototype fix for IPsec authentication related functionsshin2000-02-102-11/+13
| | | | | | | | | | | | Some of IPsec authentication related functions should have 'const' for its 2nd argument, but not now. But if someone try to use them, and passed const data for those functions, then much bogus compile warnings will be generated. So those funcs prototype should be modified. Requested by: archie Approved by: jkh
* Forbid include of soem inet6 header files from wrong placeshin2000-02-103-0/+14
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | KAME put INET6 related stuff into sys/netinet6 dir, but IPv6 standard API(RFC2553) require following files to be under sys/netinet. netinet/ip6.h netinet/icmp6.h Now those header files just include each following files. netinet6/ip6.h netinet6/icmp6.h Also KAME has netinet6/in6.h for easy INET6 common defs sharing between different BSDs, but RFC2553 requires only netinet/in.h should be included from userland. So netinet/in.h also includes netinet6/in6.h inside. To keep apps portability, apps should not directly include above files from netinet6 dir. Ideally, all contents of, netinet6/ip6.h netinet6/icmp6.h netinet6/in6.h should be moved into netinet/ip6.h netinet/icmp6.h netinet/in.h but to avoid big changes in this stage, add some hack, that -Put some special macro define into those files under neitnet -Let files under netinet6 cause error if it is included from some apps, and, if the specifal macro define is not defined. (which should have been defined if files under netinet is included) -And let them print an error message which tells the correct name of the include file to be included. Also fix apps which includes invalid header files. Approved by: jkh Obtained from: KAME project
* IPv6 prefix assignment bug fixes.shin2000-02-071-3/+44
| | | | | | | | | | | | | | | (1)When all related IPv6 addresses are removed, then remove the associated IPv6 prefix. (2)When multiple IPv6 link local addrs exist for a same interface , then let its IPv6 prefix have multiple interface id, and create multiple IPv6 global addrs with same interface id. (3)When a new IPv6 link local addr is assigned for an interface, then let its IPv6 prefix also have the interface id of the new IPv6 link local addr, and create new IPv6 global addrs with same interface id. Approved by: jkh
* Permit site local addr in IPv6 source address selection rule.shin2000-02-071-2/+23
| | | | | | | | | | KAME source addr selection rule had a problem to treat IPv6 site local addr. The rule is completely rewritten recently and the above problem is also fixed, but rewriting same code part in freebsd4.0 is too dangerous in this stage, so just add workaround to avoid the problem. Just add code for IPv6 site local addresses into IPv6 source addr selection algorythm part.
* Add ip6fw.shin2000-01-294-0/+1375
| | | | | | | | | | Yes it is almost code freeze, but as the result of many thought, now I think this should be added before 4.0... make world check, kernel build check is done. Reviewed by: green Obtained from: KAME project
* Backout diffs which should not be included.shin2000-01-282-2/+0
|
* #This is a null commit to give correct description for the previous change.shin2000-01-282-0/+2
| | | | | | | | | | | | | | | | | | #Please forget the strange log message of the previous commit . IPv6 multicast routing. kernel IPv6 multicast routing support. pim6 dense mode daemon pim6 sparse mode daemon netstat support of IPv6 multicast routing statistics Merging to the current and testing with other existing multicast routers is done by Tatsuya Jinmei <jinmei@kame.net>, who writes and maintainances the base code in KAME distribution. Make world check and kernel build check was also successful. Obtained from: KAME project
* Sorry I didn't commit these files at the commit just a few minutes before.shin2000-01-285-1/+2197
| | | | | | (IPv6 multicast routing) I think I mistakenly touched TAB and the last arg sys/netinet6 to the cvs commit changed to sys/netinet6/in6_proto.c.
* IPv6 multicast routing.shin2000-01-281-0/+6
| | | | | | | | | | | | | kernel IPv6 multicast routing support. pim6 dense mode daemon pim6 sparse mode daemon netstat support of IPv6 multicast routing statistics Merging to the current and testing with other existing multicast routers is done by Tatsuya Jinmei <jinmei@kame.net>, who writes and maintainances the base code in KAME distribution. Make world check and kernel build check was also successful.
* Added ip6_forwarding check when prefix related ioctl is called.shin2000-01-271-0/+2
| | | | | | | (prefix related ioctl should only be called on router, because host use dynamic address and prefix configuration mechanism, and those prefix are managed separately with ones whih are assined manually.)
* Move the *intrq variables into net/intrq.c and unconditionallybrian2000-01-241-1/+3
| | | | | | | | | | | include this in all kernels. Declare some const *intrq_present variables that can be checked by a module prior to using *intrq to queue data. Make the if_tun module capable of processing atm, ip, ip6, ipx, natm and netatalk packets when TUNSIFHEAD is ioctl()d on. Review not required by: freebsd-hackers
* Merge a bug fix from freebsd-current; check m != NULL before touching it,shin2000-01-181-1/+1
| | | | | | | at udp6_ctlinput(). There should be kernel panic at PCCARD suspend etc, before this bug fix. Submitted by: Hajimu UMEMOTO <ume@mahoroba.org>
* fix kernel panic at rtfree() in INET6 enabled envrionment.shin2000-01-161-2/+0
| | | | | | This is probably due to twice rtfree() in in6_pcbdetach(), one for inp->in6p_route.ro_rt, and another one for inp->inp_route.ro_rt. But these 2 are actually shared in inpcb, so 2nd rtfree() is not necessary.
* Fixed the problem that IPsec connection hangs when bigger data is sent.shin2000-01-152-8/+6
| | | | | | | -opt_ipsec.h was missing on some tcp files (sorry for basic mistake) -made buildable as above fix -also added some missing IPv4 mapped IPv6 addr consideration into ipsec4_getpolicybysock
* wrapped prototype declarations by __P(())shin2000-01-151-6/+8
| | | | Submitted by: bde
* add forward declarations, and small cosmetic changes.shin2000-01-152-2/+8
| | | | Submitted by: bde
* fix wrong name which is hidden by wrong ifdef.shin2000-01-131-1/+1
| | | | | | | Sorry for build failure. There was a mistake when I moved the patch from my build check machine to commit machine. Specified by: peter
* Change struct sockaddr_storage member name, because following changeshin2000-01-132-35/+35
| | | | | | | | | | | | is very likely to become consensus as recent ietf/ipng mailing list discussion. Also recent KAME repository and other KAME patched BSDs also applied it. s/__ss_family/ss_family/ s/__ss_len/ss_len/ Makeworld is confirmed, and no application should be affected by this change yet.
* removed an ours case which think a packet destined to loopback interfaceshin2000-01-131-5/+1
| | | | with IPv6 loopback addr for its dest or src addr as ours.
* added missing IPV6_PORTRANGE case.shin2000-01-131-0/+1
|
* remove unnecessary "$ifdef INET6"shin2000-01-131-2/+0
|
* tcp updates to support IPv6.shin2000-01-094-13/+69
| | | | | | | also a small patch to sys/nfs/nfs_socket.c, as max_hdr size change. Reviewed by: freebsd-arch, cvs-committers Obtained from: KAME project
* prevent kernel panic at suspend/resume.shin2000-01-031-1/+1
| | | | | | confirmed by: sanpei, joe PR: kern/15742
* Change #ifdef KERNEL to #ifdef _KERNEL in the public headers. "KERNEL"peter1999-12-2911-25/+25
| | | | | | is an application space macro and the applications are supposed to be free to use it as they please (but cannot). This is consistant with the other BSD's who made this change quite some time ago. More commits to come.
* Getaddrinfo(), getnameinfo(), and etc support in libc/net.shin1999-12-281-1/+1
| | | | | | | Several udp and raw apps IPv6 support. Reviewed by: freebsd-arch, cvs-committers Obtained from: KAME project
* IPSEC support in the kernel.shin1999-12-2229-282/+8764
| | | | | | | | pr_input() routines prototype is also changed to support IPSEC and IPV6 chained protocol headers. Reviewed by: freebsd-arch, cvs-committers Obtained from: KAME project
* Change incorrect NULLs to 0seivind1999-12-214-15/+16
|
* M_PREPEND-related cleanups (unregisterifying struct mbuf *s).green1999-12-191-1/+1
|
* rtcalloc() is removed because it turned out not to be necessary for FreeBSD.shin1999-12-093-9/+5
| | | | | | (It was added as a part of KAME patch) Specified by: jdp@polstra.com
* udp IPv6 support, IPv6/IPv4 tunneling support in kernel,shin1999-12-0722-216/+1245
| | | | | | | | | | packet divert at kernel for IPv6/IPv4 translater daemon This includes queue related patch submitted by jburkhol@home.com. Submitted by: queue related patch from jburkhol@home.com Reviewed by: freebsd-arch, cvs-committers Obtained from: KAME project
* Just to avoid warning message about trigraph.shin1999-11-301-1/+1
| | | | Commented by: green
* there's no memcmp() in kernel, use bcmp() instead.itojun1999-11-291-0/+8
| | | | | in userland memcmp() is preferred for ANSI preference. (from KAME repository)
* Removed IPSEC and IPV6FIREWALL because they are not ready yet.shin1999-11-239-12/+0
|
* KAME netinet6 basic part(no IPsec,no V6 Multicast Forwarding, no UDP/TCPshin1999-11-2237-116/+19991
| | | | | | | | | | for IPv6 yet) With this patch, you can assigne IPv6 addr automatically, and can reply to IPv6 ping. Reviewed by: freebsd-arch, cvs-committers Obtained from: KAME project
* KAME related header files additions and merges.shin1999-11-052-0/+1286
(only those which don't affect c source files so much) Reviewed by: cvs-committers Obtained from: KAME project
OpenPOWER on IntegriCloud