freebsd-skq/sys/netipsec
bz dee4e0c849 MFC:
rev. 1.3 src/sys/netipsec/xform.h, rev. 1.12 src/sys/netipsec/xform_ipip.c

  Fix more stack corruptions on amd64.

  Vararg functions have a different calling convention than regular
  functions on amd64. Casting a varag function to a regular one to
  match the function pointer declaration will hide the varargs from
  the caller and we will end up with an incorrectly setup stack.

  Entirely remove the varargs from these functions and change the
  functions to match the declaration of the function pointers.
  Remove the now unnecessary casts.

  Also change static struct ipprotosw[] to two independent
  protosw/ip6protosw definitions to remove an unnecessary cast.

PR:				amd64/95008
Submitted and tested by:	Mats Palmgren
Reviewed by:			rwatson
Approved by:			re (mux)
2006-04-01 15:22:44 +00:00
..
ah_var.h
ah.h
esp_var.h
esp.h
ipcomp_var.h
ipcomp.h
ipip_var.h
ipsec6.h
ipsec_input.c
ipsec_mbuf.c MFC: promote fast ipsec's m_clone routine for public use; it is renamed 2006-03-23 23:24:33 +00:00
ipsec_osdep.h
ipsec_output.c
ipsec.c
ipsec.h MFC: promote fast ipsec's m_clone routine for public use; it is renamed 2006-03-23 23:24:33 +00:00
key_debug.c
key_debug.h
key_var.h
key.c
key.h
keydb.h
keysock.c
keysock.h
xform_ah.c MFC: promote fast ipsec's m_clone routine for public use; it is renamed 2006-03-23 23:24:33 +00:00
xform_esp.c MFC: promote fast ipsec's m_clone routine for public use; it is renamed 2006-03-23 23:24:33 +00:00
xform_ipcomp.c MFC: promote fast ipsec's m_clone routine for public use; it is renamed 2006-03-23 23:24:33 +00:00
xform_ipip.c MFC: 2006-04-01 15:22:44 +00:00
xform_tcp.c
xform.h MFC: 2006-04-01 15:22:44 +00:00