NetBSD/sys/netipsec
rtr 6dd8eef044 split PRU_BIND and PRU_LISTEN function out of pr_generic() usrreq
switches and put into separate functions
  xxx_bind(struct socket *, struct mbuf *)
  xxx_listen(struct socket *)

  - always KASSERT(solocked(so)) even if not implemented

  - replace calls to pr_generic() with req = PRU_BIND with call to
    pr_bind()

  - replace calls to pr_generic() with req = PRU_LISTEN with call to
    pr_listen()

  - drop struct lwp * parameter from at_pcbsetaddr(), in_pcbbind() and
    unp_bind() and always use curlwp.

rename existing functions that operate on PCB for consistency (and to
free up their names for xxx_{bind,listen}() PRUs

  - l2cap_{bind,listen}() -> l2cap_{bind,listen}_pcb()
  - sco_{bind,listen}() -> sco_{bind,listen}_pcb()
  - rfcomm_{bind,listen}() -> rfcomm_{bind,listen}_pcb()

patch reviewed by rmind

welcome to netbsd 6.99.48
2014-07-24 15:12:03 +00:00
..
ah_var.h
ah.h
esp_var.h
esp.h
files.netipsec IPSEC has not come in two speeds for a long time now (IPSEC == kame, 2013-06-05 19:01:26 +00:00
ipcomp_var.h
ipcomp.h
ipip_var.h
ipsec6.h
ipsec_input.c Mark a variable __diagused 2014-03-08 12:18:04 +00:00
ipsec_mbuf.c
ipsec_netbsd.c Introduce 2 new variables: ipsec_enabled and ipsec_used. 2014-05-30 01:39:03 +00:00
ipsec_osdep.h
ipsec_output.c - apply some __diagused 2013-11-03 18:37:10 +00:00
ipsec_private.h
ipsec_var.h
ipsec.c Introduce 2 new variables: ipsec_enabled and ipsec_used. 2014-05-30 01:39:03 +00:00
ipsec.h Introduce 2 new variables: ipsec_enabled and ipsec_used. 2014-05-30 01:39:03 +00:00
key_debug.c
key_debug.h
key_var.h
key.c cleanup debugging printfs and fix port endianness printing issue. 2014-06-16 03:34:45 +00:00
key.h Introduce 2 new variables: ipsec_enabled and ipsec_used. 2014-05-30 01:39:03 +00:00
keydb.h PR/47886: Dr. Wolfgang Stukenbrock: IPSEC_NAT_T enabled kernels may access 2013-06-04 22:47:37 +00:00
keysock.c split PRU_BIND and PRU_LISTEN function out of pr_generic() usrreq 2014-07-24 15:12:03 +00:00
keysock.h Add struct pr_usrreqs with a pr_generic function and prepare for the 2014-05-18 14:46:15 +00:00
Makefile
xform_ah.c - apply some __diagused 2013-11-03 18:37:10 +00:00
xform_esp.c - apply some __diagused 2013-11-03 18:37:10 +00:00
xform_ipcomp.c - apply some __diagused 2013-11-03 18:37:10 +00:00
xform_ipip.c - Implement pktqueue interface for lockless IP input queue. 2014-06-05 23:48:16 +00:00
xform_tcp.c
xform.h