Move jail staffs from <net/if.h> and <netinet/in.h> to <sys/jail.h>
authorAaron LI <aly@aaronly.me>
Tue, 20 Mar 2018 07:52:54 +0000 (15:52 +0800)
committerAaron LI <aly@aaronly.me>
Thu, 26 Jul 2018 02:01:27 +0000 (10:01 +0800)
commite1c6b0c1ee471ec790888a1edec44099e6601971
tree45a9fd95386c5300b55d29469b82760fd5cfeed5
parent249483dfec1fb7a8da1e2094624856a84033a5b0
Move jail staffs from <net/if.h> and <netinet/in.h> to <sys/jail.h>

* <net/if.h>: Move out prison_if() function prototype to <sys/jail.h>

* <netinet/in.h>: Move out prison_replace_wildcards() and prison_remote_ip()
  function prototypes to <sys/jail.h>

* Include <sys/jail.h> header for those files in need of it

Obtained-from: FreeBSD (r72786)
sys/net/if.c
sys/net/if.h
sys/net/rtsock.c
sys/netinet/in.h
sys/netinet/tcp_usrreq.c
sys/netinet/udp_usrreq.c
sys/netinet6/udp6_output.c
sys/netinet6/udp6_usrreq.c
sys/sys/jail.h