freebsd-dev/sys/netinet6
John Baldwin 44731cab3b Change the suser() API to take advantage of td_ucred as well as do a
general cleanup of the API.  The entire API now consists of two functions
similar to the pre-KSE API.  The suser() function takes a thread pointer
as its only argument.  The td_ucred member of this thread must be valid
so the only valid thread pointers are curthread and a few kernel threads
such as thread0.  The suser_cred() function takes a pointer to a struct
ucred as its first argument and an integer flag as its second argument.
The flag is currently only used for the PRISON_ROOT flag.

Discussed on:	smp@
2002-04-01 21:31:13 +00:00
..
ah6.h
ah_core.c
ah_input.c Corrected arguments to key_allocsa called from 2002-03-25 10:46:24 +00:00
ah_output.c
ah.h
dest6.c
esp6.h
esp_core.c - use des_ecb3_encrypt(). 2002-03-05 21:12:41 +00:00
esp_input.c Corrected arguments to key_allocsa called from 2002-03-25 10:46:24 +00:00
esp_output.c
esp_rijndael.c
esp_rijndael.h
esp.h
frag6.c
icmp6.c Remove duplicate extern declarations to silence warnings. 2002-03-19 19:45:41 +00:00
icmp6.h
in6_cksum.c
in6_gif.c Fix warnings in the gif(4) driver so it compiles with -Werror. 2002-02-26 20:11:33 +00:00
in6_gif.h
in6_ifattach.c
in6_ifattach.h
in6_pcb.c Change the suser() API to take advantage of td_ucred as well as do a 2002-04-01 21:31:13 +00:00
in6_pcb.h Fix warnings caused by discarding const. 2002-02-27 02:44:45 +00:00
in6_prefix.c Fix warnings caused by discarding const. 2002-02-27 02:44:45 +00:00
in6_prefix.h
in6_proto.c
in6_rmx.c
in6_src.c Change the suser() API to take advantage of td_ucred as well as do a 2002-04-01 21:31:13 +00:00
in6_var.h
in6.c Change the suser() API to take advantage of td_ucred as well as do a 2002-04-01 21:31:13 +00:00
in6.h put an extern for ip6_protox in here where it is only used for kernel compiling 2002-03-19 15:01:21 +00:00
ip6_ecn.h
ip6_forward.c Remove duplicate extern declarations to silence warnings. 2002-03-19 19:45:41 +00:00
ip6_fw.c o Move NTOHL() and associated macros into <sys/param.h>. These are 2002-02-18 20:35:27 +00:00
ip6_fw.h
ip6_input.c Change the suser() API to take advantage of td_ucred as well as do a 2002-04-01 21:31:13 +00:00
ip6_mroute.c double m_free() - not critical. from niklas@openbsd 2002-03-29 05:14:58 +00:00
ip6_mroute.h
ip6_output.c Change the suser() API to take advantage of td_ucred as well as do a 2002-04-01 21:31:13 +00:00
ip6_var.h
ip6.h
ip6protosw.h put an extern for inet6sw in here and make it active only for kernel compiling 2002-03-19 14:56:59 +00:00
ipcomp6.h
ipcomp_core.c
ipcomp_input.c
ipcomp_output.c
ipcomp.h
ipsec6.h
ipsec.c
ipsec.h
mld6_var.h
mld6.c
nd6_nbr.c Pacify gcc-3.1. 2002-03-19 23:26:37 +00:00
nd6_rtr.c o Move NTOHL() and associated macros into <sys/param.h>. These are 2002-02-18 20:35:27 +00:00
nd6.c In nd6_lookup(), check if rt_llinfo is non-NULL to avoid returning an 2002-04-01 15:15:05 +00:00
nd6.h
pim6_var.h
pim6.h
raw_ip6.c Change the suser() API to take advantage of td_ucred as well as do a 2002-04-01 21:31:13 +00:00
raw_ip6.h
README
route6.c
scope6_var.h
scope6.c 3rd arg to bcmp() was wrong. From: David Wang <dsw@juniper.net> 2002-03-25 10:12:51 +00:00
tcp6_var.h Introduce a syncache, which enables FreeBSD to withstand a SYN flood 2001-11-22 04:50:44 +00:00
udp6_output.c Change the suser() API to take advantage of td_ucred as well as do a 2002-04-01 21:31:13 +00:00
udp6_usrreq.c Change the suser() API to take advantage of td_ucred as well as do a 2002-04-01 21:31:13 +00:00
udp6_var.h

a note to committers about KAME tree
$FreeBSD$
KAME project


FreeBSD IPv6/IPsec tree is from KAMEproject (http://www.kame.net/).
To synchronize KAME tree and FreeBSD better today and in the future,
please understand the following:

- DO NOT MAKE COSTMETIC CHANGES.
  "Cosmetic changes" here includes tabify, untabify, removal of space at EOL,
  minor KNF items, and whatever adds more output lines on "diff freebsd kame".
  To make future synchronization easier. it is critical to preserve certain
  statements in the code.  Also, as KAME tree supports all 4 BSDs (Free, Open,
  Net, BSD/OS) in single shared tree, it is not always possible to backport
  FreeBSD changes into KAME tree.  So again, please do not make cosmetic
  changes.  Even if you think it a right thing, that will bite KAME guys badly
  during upgrade attempts, and prevent us from synchronizing two trees.
  (you don't usually make cosmetic changes against third-party code, do you?)

- REPORT CHANGES/BUGS TO KAME GUYS.
  It is not always possible for KAME guys to watch all the freebsd mailing
  list traffic, as the traffic is HUGE.  So if possible, please, inform
  kame guys of changes you made in IPv6/IPsec related portion.  Contact
  path would be snap-users@kame.net or KAME PR database on www.kame.net.
  (or to core@kame.net if it is necessary to make it confidential)

Thank you for your cooperation and have a happy IPv6 life!


Note: KAME-origin code is in the following locations.
The above notice applies to corresponding manpages too.
The list may not be complete.  If you see $KAME$ in the code, it is from
KAME distribution.  If you see some file that is IPv6/IPsec related, it is
highly possible that the file is from KAME distribution.

include/ifaddrs.h
lib/libc/net
lib/libc/net/getaddrinfo.c
lib/libc/net/getifaddrs.c
lib/libc/net/getnameinfo.c
lib/libc/net/ifname.c
lib/libc/net/ip6opt.c
lib/libc/net/map_v4v6.c
lib/libc/net/name6.c
lib/libftpio
lib/libipsec
sbin/ip6fw
sbin/ping6
sbin/rtsol
share/doc/IPv6
share/man/man4/ip6.4
share/man/man4/inet6.4
sys/crypto (except sys/crypto/rc4)
sys/kern/uipc_mbuf2.c
sys/net/if_faith.[ch]
sys/net/if_gif.[ch]
sys/net/if_stf.[ch]
sys/net/pfkeyv2.h
sys/netinet/icmp6.h
sys/netinet/in_gif.[ch]
sys/netinet/ip6.h
sys/netinet/ip_encap.[ch]
sys/netinet6
sys/netkey
usr.sbin/faithd
usr.sbin/gifconfig
usr.sbin/ifmcstat
usr.sbin/mld6query
usr.sbin/ndp
usr.sbin/pim6dd
usr.sbin/pim6sd
usr.sbin/prefix
usr.sbin/rip6query
usr.sbin/route6d
usr.sbin/rrenumd
usr.sbin/rtadvd
usr.sbin/rtsold
usr.sbin/scope6config
usr.sbin/setkey
usr.sbin/traceroute6