aboutsummaryrefslogtreecommitdiff
path: root/sys/netinet6/in6.h
Commit message (Collapse)AuthorAgeFilesLines
* o Conditionalize sections for POSIX.1-2001 compatibility.Mike Barcroft2002-05-231-31/+49
| | | | | | | | | | | | | o Use POSIX spelling for types, where possible. o Define size_t in the __BSD_VISIBLE case (this isn't really needed for standards conformance, but follows the tradition of not requiring <sys/types.h> as a prerequisite). o Use _BYTE_ORDER and friends instead of BYTE_ORDER and friends, since there may not be enough pollution in order for the latter to work. o Add an XXX note about the missing IPPROTO_IPV6 macro. Notes: svn path=/head/; revision=97181
* just merged cosmetic changes from KAME to ease sync between KAME and FreeBSD.SUZUKI Shinsuke2002-04-191-12/+12
| | | | | | | | | | (based on freebsd4-snap-20020128) Reviewed by: ume MFC after: 1 week Notes: svn path=/head/; revision=95023
* Unconditionalize the definition of INET_ADDRSTRLEN andMike Barcroft2002-04-101-2/+0
| | | | | | | | INET6_ADDRSTRLEN. Doing this helps expose bogus redefinitions in 3rd party software. Notes: svn path=/head/; revision=94357
* put an extern for ip6_protox in here where it is only used for kernel compilingDarren Reed2002-03-191-0/+1
| | | | Notes: svn path=/head/; revision=92700
* o Add INET_ADDRSTRLEN and INET6_ADDRSTRLEN defines to <arpa/inet.h>Mike Barcroft2002-03-101-0/+2
| | | | | | | | | | for POSIX.1-2001 conformance. o Add magic to <netinet/in.h> and <netinet6/in6.h> to prevent redefining INET_ADDRSTRLEN and INET6_ADDRSTRLEN. o Add a note about missing typedefs in <arpa/inet.h>. Notes: svn path=/head/; revision=91984
* Make faith loadable, unloadable, and clonable.Brooks Davis2001-09-251-0/+2
| | | | Notes: svn path=/head/; revision=83934
* remove IN6_IS_ADDR_ANY macro (outside of standard, #if 0'ed for a long time)Hajimu UMEMOTO2001-06-241-7/+0
| | | | | | | | Obtained from: KAME MFC after: 10 days Notes: svn path=/head/; revision=78725
* Sync with recent KAME.Hajimu UMEMOTO2001-06-111-65/+118
| | | | | | | | | | | | | | | | | | | | | This work was based on kame-20010528-freebsd43-snap.tgz and some critical problem after the snap was out were fixed. There are many many changes since last KAME merge. TODO: - The definitions of SADB_* in sys/net/pfkeyv2.h are still different from RFC2407/IANA assignment because of binary compatibility issue. It should be fixed under 5-CURRENT. - ip6po_m member of struct ip6_pktopts is no longer used. But, it is still there because of binary compatibility issue. It should be removed under 5-CURRENT. Reviewed by: itojun Obtained from: KAME MFC after: 3 weeks Notes: svn path=/head/; revision=78064
* warn that setsockopt/sysctl # spaces are shared among *BSD, and should betterJun-ichiro itojun Hagino2000-08-271-0/+2
| | | | | | | be consulted with KAME guys if you want a number. Notes: svn path=/head/; revision=65124
* split net.inet6.ip6.rtexpire (and others) from net.inet.ip.*.Jun-ichiro itojun Hagino2000-07-051-1/+7
| | | | | | | From: Andrzej Bialecki <abial@webgiro.com> Notes: svn path=/head/; revision=62604
* sync with kame tree as of july00. tons of bug fixes/improvements.Jun-ichiro itojun Hagino2000-07-041-158/+161
| | | | | | | | | | API changes: - additional IPv6 ioctls - IPsec PF_KEY API was changed, it is mandatory to upgrade setkey(8). (also syntax change) Notes: svn path=/head/; revision=62587
* Fixed missing prototype for inet6_rthdr_reverse().Bruce Evans2000-05-111-0/+2
| | | | Notes: svn path=/head/; revision=60393
* Backout the previous change to __KAME_VERSION (FreeBSD4.x addition),Yoshinobu Inoue2000-03-131-1/+1
| | | | | | | because this is now 5.0-current. Notes: svn path=/head/; revision=57972
* Change __KAME_VERSION value. Added the word "FreeBSD4.x" to identify theYoshinobu Inoue2000-03-121-1/+1
| | | | | | | | | | system with other platform and/or other version of FreeBSD, which is also integrated KAME code based on another date. Approved by: jkh Notes: svn path=/head/; revision=57943
* Forbid include of soem inet6 header files from wrong placeYoshinobu Inoue2000-02-101-0/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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 Notes: svn path=/head/; revision=57120
* wrapped prototype declarations by __P(())Yoshinobu Inoue2000-01-151-6/+8
| | | | | | | Submitted by: bde Notes: svn path=/head/; revision=56018
* udp IPv6 support, IPv6/IPv4 tunneling support in kernel,Yoshinobu Inoue1999-12-071-64/+2
| | | | | | | | | | | | | 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 Notes: svn path=/head/; revision=54263
* there's no memcmp() in kernel, use bcmp() instead.Jun-ichiro itojun Hagino1999-11-291-0/+8
| | | | | | | | in userland memcmp() is preferred for ANSI preference. (from KAME repository) Notes: svn path=/head/; revision=53877
* KAME netinet6 basic part(no IPsec,no V6 Multicast Forwarding, no UDP/TCPYoshinobu Inoue1999-11-221-19/+16
| | | | | | | | | | | | | 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 Notes: svn path=/head/; revision=53541
* KAME related header files additions and merges.Yoshinobu Inoue1999-11-051-0/+639
(only those which don't affect c source files so much) Reviewed by: cvs-committers Obtained from: KAME project Notes: svn path=/head/; revision=52904