* IPSEC_PCBCTL() method implementation for IPv4. */
| 458 | * IPSEC_PCBCTL() method implementation for IPv4. |
| 459 | */ |
| 460 | int |
| 461 | ipsec4_pcbctl(struct inpcb *inp, struct sockopt *sopt) |
| 462 | { |
| 463 | |
| 464 | if (sopt->sopt_name != IP_IPSEC_POLICY) |
| 465 | return (ENOPROTOOPT); |
| 466 | return (ipsec_control_pcbpolicy(inp, sopt)); |
| 467 | } |
| 468 | #endif |
| 469 | |
| 470 | #ifdef INET6 |
nothing calls this directly
no test coverage detected