freebsd_amp_hwpstate/sys/netinet
Yoshinobu Inoue 1aa540eb03 Forbid include of soem inet6 header files from wrong place
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
2000-02-10 19:33:58 +00:00
..
libalias The flags PKT_ALIAS_PUNCH_FW and PKT_ALIAS_PROXY_ONLY were both 2000-02-02 23:49:32 +00:00
fil.c Bring over ipfilter v3_3_8 kernel sources, including merging the 2000-02-09 20:56:36 +00:00
icmp6.h Forbid include of soem inet6 header files from wrong place 2000-02-10 19:33:58 +00:00
icmp_var.h Change #ifdef KERNEL to #ifdef _KERNEL in the public headers. "KERNEL" 1999-12-29 04:46:21 +00:00
if_atm.c
if_atm.h
if_ether.c
if_ether.h Change #ifdef KERNEL to #ifdef _KERNEL in the public headers. "KERNEL" 1999-12-29 04:46:21 +00:00
if_fddi.h Change #ifdef KERNEL to #ifdef _KERNEL in the public headers. "KERNEL" 1999-12-29 04:46:21 +00:00
igmp.c
igmp.h
igmp_var.h Change #ifdef KERNEL to #ifdef _KERNEL in the public headers. "KERNEL" 1999-12-29 04:46:21 +00:00
in.c Change struct sockaddr_storage member name, because following change 2000-01-13 14:52:53 +00:00
in.h Forbid include of soem inet6 header files from wrong place 2000-02-10 19:33:58 +00:00
in_cksum.c
in_gif.c
in_gif.h add forward declarations, and small cosmetic changes. 2000-01-15 05:20:40 +00:00
in_hostcache.c
in_hostcache.h Change #ifdef KERNEL to #ifdef _KERNEL in the public headers. "KERNEL" 1999-12-29 04:46:21 +00:00
in_pcb.c
in_pcb.h Change #ifdef KERNEL to #ifdef _KERNEL in the public headers. "KERNEL" 1999-12-29 04:46:21 +00:00
in_proto.c
in_rmx.c
in_systm.h Change #ifdef KERNEL to #ifdef _KERNEL in the public headers. "KERNEL" 1999-12-29 04:46:21 +00:00
in_var.h Change #ifdef KERNEL to #ifdef _KERNEL in the public headers. "KERNEL" 1999-12-29 04:46:21 +00:00
ip.h
ip6.h Forbid include of soem inet6 header files from wrong place 2000-02-10 19:33:58 +00:00
ip_auth.c Bring over ipfilter v3_3_8 kernel sources, including merging the 2000-02-09 20:56:36 +00:00
ip_auth.h Bring over ipfilter v3_3_8 kernel sources, including merging the 2000-02-09 20:56:36 +00:00
ip_compat.h Bring over ipfilter v3_3_8 kernel sources, including merging the 2000-02-09 20:56:36 +00:00
ip_divert.c prevent kernel panic which happens when either of IPSEC and IPDIVERT 2000-01-08 12:53:48 +00:00
ip_dummynet.c Support for stateful (dynamic) ipfw rules. They are very 2000-02-10 14:17:40 +00:00
ip_dummynet.h Support for stateful (dynamic) ipfw rules. They are very 2000-02-10 14:17:40 +00:00
ip_ecn.c
ip_ecn.h Change #ifdef KERNEL to #ifdef _KERNEL in the public headers. "KERNEL" 1999-12-29 04:46:21 +00:00
ip_fil.c Bring over ipfilter v3_3_8 kernel sources, including merging the 2000-02-09 20:56:36 +00:00
ip_fil.h Bring over ipfilter v3_3_8 kernel sources, including merging the 2000-02-09 20:56:36 +00:00
ip_flow.c
ip_flow.h
ip_frag.c Bring over ipfilter v3_3_8 kernel sources, including merging the 2000-02-09 20:56:36 +00:00
ip_frag.h Bring over ipfilter v3_3_8 kernel sources, including merging the 2000-02-09 20:56:36 +00:00
ip_ftp_pxy.c Bring over ipfilter v3_3_8 kernel sources, including merging the 2000-02-09 20:56:36 +00:00
ip_fw.c Move definition of fw_enable from ip_fw.c to ip_input.c 2000-02-10 17:56:01 +00:00
ip_fw.h Support for stateful (dynamic) ipfw rules. They are very 2000-02-10 14:17:40 +00:00
ip_icmp.c Mitigate the stream.c attacks 2000-01-28 06:13:09 +00:00
ip_icmp.h Change #ifdef KERNEL to #ifdef _KERNEL in the public headers. "KERNEL" 1999-12-29 04:46:21 +00:00
ip_input.c Move definition of fw_enable from ip_fw.c to ip_input.c 2000-02-10 17:56:01 +00:00
ip_log.c Bring over ipfilter v3_3_8 kernel sources, including merging the 2000-02-09 20:56:36 +00:00
ip_mroute.c
ip_mroute.h Change #ifdef KERNEL to #ifdef _KERNEL in the public headers. "KERNEL" 1999-12-29 04:46:21 +00:00
ip_nat.c Bring over ipfilter v3_3_8 kernel sources, including merging the 2000-02-09 20:56:36 +00:00
ip_nat.h Bring over ipfilter v3_3_8 kernel sources, including merging the 2000-02-09 20:56:36 +00:00
ip_output.c Support the net.inet.ip.fw.enable variable, part of 2000-02-10 14:19:53 +00:00
ip_proxy.c Bring over ipfilter v3_3_8 kernel sources, including merging the 2000-02-09 20:56:36 +00:00
ip_proxy.h Bring over ipfilter v3_3_8 kernel sources, including merging the 2000-02-09 20:56:36 +00:00
ip_raudio_pxy.c Bring over ipfilter v3_3_8 kernel sources, including merging the 2000-02-09 20:56:36 +00:00
ip_rcmd_pxy.c Bring over ipfilter v3_3_8 kernel sources, including merging the 2000-02-09 20:56:36 +00:00
ip_state.c Bring over ipfilter v3_3_8 kernel sources, including merging the 2000-02-09 20:56:36 +00:00
ip_state.h Bring over ipfilter v3_3_8 kernel sources, including merging the 2000-02-09 20:56:36 +00:00
ip_var.h Change #ifdef KERNEL to #ifdef _KERNEL in the public headers. "KERNEL" 1999-12-29 04:46:21 +00:00
ipl.h Bring over ipfilter v3_3_8 kernel sources, including merging the 2000-02-09 20:56:36 +00:00
ipprotosw.h
mlfk_ipl.c Bring over ipfilter v3_3_8 kernel sources, including merging the 2000-02-09 20:56:36 +00:00
raw_ip.c
tcp.h tcp updates to support IPv6. 2000-01-09 19:17:30 +00:00
tcp_debug.c Sorry in this just befor code freeze commit. 2000-01-29 11:49:07 +00:00
tcp_debug.h Sorry in this just befor code freeze commit. 2000-01-29 11:49:07 +00:00
tcp_fsm.h
tcp_input.c Mitigate the stream.c attacks 2000-01-28 06:13:09 +00:00
tcp_output.c Avoid kernel panic when tcp rfc1323 and rfc1644 options are enabled 2000-02-09 00:34:40 +00:00
tcp_reass.c Mitigate the stream.c attacks 2000-01-28 06:13:09 +00:00
tcp_seq.h Change #ifdef KERNEL to #ifdef _KERNEL in the public headers. "KERNEL" 1999-12-29 04:46:21 +00:00
tcp_subr.c Fix the bug that IPv4 ttl is not initialized when AF_INET6 socket is used 2000-01-25 01:05:18 +00:00
tcp_timer.c tcp updates to support IPv6. 2000-01-09 19:17:30 +00:00
tcp_timer.h Change #ifdef KERNEL to #ifdef _KERNEL in the public headers. "KERNEL" 1999-12-29 04:46:21 +00:00
tcp_timewait.c Fix the bug that IPv4 ttl is not initialized when AF_INET6 socket is used 2000-01-25 01:05:18 +00:00
tcp_usrreq.c tcp updates to support IPv6. 2000-01-09 19:17:30 +00:00
tcp_var.h tcp updates to support IPv6. 2000-01-09 19:17:30 +00:00
tcpip.h
udp.h
udp_usrreq.c
udp_var.h Change #ifdef KERNEL to #ifdef _KERNEL in the public headers. "KERNEL" 1999-12-29 04:46:21 +00:00