* IPSEC_PCBCTL() method implementation for IPv6. */
| 472 | * IPSEC_PCBCTL() method implementation for IPv6. |
| 473 | */ |
| 474 | int |
| 475 | ipsec6_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 |
nothing calls this directly
no test coverage detected