MCPcopy Create free account
hub / github.com/F-Stack/f-stack / ipsec6_pcbctl

Function ipsec6_pcbctl

freebsd/netipsec/ipsec_pcb.c:474–481  ·  view source on GitHub ↗

* IPSEC_PCBCTL() method implementation for IPv6. */

Source from the content-addressed store, hash-verified

472 * IPSEC_PCBCTL() method implementation for IPv6.
473 */
474int
475ipsec6_pcbctl(struct inpcb *inp, struct sockopt *sopt)
476{
477
478 if (sopt->sopt_name != IPV6_IPSEC_POLICY)
479 return (ENOPROTOOPT);
480 return (ipsec_control_pcbpolicy(inp, sopt));
481}
482#endif

Callers

nothing calls this directly

Calls 1

ipsec_control_pcbpolicyFunction · 0.85

Tested by

no test coverage detected