freebsd-dev/sys/netipsec
Hans Petter Selasky f0188618f2 Fix multiple incorrect SYSCTL arguments in the kernel:
- Wrong integer type was specified.

- Wrong or missing "access" specifier. The "access" specifier
sometimes included the SYSCTL type, which it should not, except for
procedural SYSCTL nodes.

- Logical OR where binary OR was expected.

- Properly assert the "access" argument passed to all SYSCTL macros,
using the CTASSERT macro. This applies to both static- and dynamically
created SYSCTLs.

- Properly assert the the data type for both static and dynamic
SYSCTLs. In the case of static SYSCTLs we only assert that the data
pointed to by the SYSCTL data pointer has the correct size, hence
there is no easy way to assert types in the C language outside a
C-function.

- Rewrote some code which doesn't pass a constant "access" specifier
when creating dynamic SYSCTL nodes, which is now a requirement.

- Updated "EXAMPLES" section in SYSCTL manual page.

MFC after:	3 days
Sponsored by:	Mellanox Technologies
2014-10-21 07:31:21 +00:00
..
ah_var.h Migrate structs ahstat, espstat, ipcompstat, ipipstat, pfkeystat, 2013-07-09 10:08:13 +00:00
ah.h
esp_var.h Migrate structs ahstat, espstat, ipcompstat, ipipstat, pfkeystat, 2013-07-09 10:08:13 +00:00
esp.h
ipcomp_var.h Migrate structs ahstat, espstat, ipcompstat, ipipstat, pfkeystat, 2013-07-09 10:08:13 +00:00
ipcomp.h
ipip_var.h Migrate structs ahstat, espstat, ipcompstat, ipipstat, pfkeystat, 2013-07-09 10:08:13 +00:00
ipsec6.h Fixed IPv4-in-IPv6 and IPv6-in-IPv4 IPsec tunnels. 2014-05-28 12:45:27 +00:00
ipsec_input.c Do not strip outer header when operating in transport mode. 2014-10-02 02:00:21 +00:00
ipsec_mbuf.c Use IPSECSTAT_INC() and IPSEC6STAT_INC() macros for ipsec statistics 2013-06-20 09:55:53 +00:00
ipsec_output.c Mechanically convert to if_inc_counter(). 2014-09-19 10:18:14 +00:00
ipsec.c Remove _IP_VHL* macros and related ifdefs. 2014-04-16 05:31:54 +00:00
ipsec.h Fix multiple incorrect SYSCTL arguments in the kernel: 2014-10-21 07:31:21 +00:00
key_debug.c Fix style bug: rename the refcount field of m_ext to ext_cnt, to match 2014-07-11 14:34:29 +00:00
key_debug.h
key_var.h Remove more constants related to static sysctl nodes. The MAXID constants 2014-02-25 18:44:33 +00:00
key.c Only do a ports check if this is a NAT-T SA. Otherwise other 2014-05-24 09:29:23 +00:00
key.h Optimisation in IPSEC(4): 2011-03-31 15:23:32 +00:00
keydb.h
keysock.c Change pr_output's prototype to avoid the need for explicit casts. 2014-08-15 02:43:02 +00:00
keysock.h Change pr_output's prototype to avoid the need for explicit casts. 2014-08-15 02:43:02 +00:00
xform_ah.c Provide includes that are needed in these files, and before were read 2013-10-26 18:18:50 +00:00
xform_esp.c Provide includes that are needed in these files, and before were read 2013-10-26 18:18:50 +00:00
xform_ipcomp.c Migrate structs ahstat, espstat, ipcompstat, ipipstat, pfkeystat, 2013-07-09 10:08:13 +00:00
xform_ipip.c Merge 'struct ip6protosw' and 'struct protosw' into one. Now we have 2014-08-08 01:57:15 +00:00
xform_tcp.c
xform.h Merge 'struct ip6protosw' and 'struct protosw' into one. Now we have 2014-08-08 01:57:15 +00:00