| 565 | } |
| 566 | |
| 567 | static void |
| 568 | ipsec4_setspidx_ipaddr(const struct mbuf *m, struct secpolicyindex *spidx) |
| 569 | { |
| 570 | |
| 571 | ipsec4_setsockaddrs(m, &spidx->src, &spidx->dst); |
| 572 | spidx->prefs = sizeof(struct in_addr) << 3; |
| 573 | spidx->prefd = sizeof(struct in_addr) << 3; |
| 574 | } |
| 575 | |
| 576 | static struct secpolicy * |
| 577 | ipsec4_getpolicy(const struct mbuf *m, struct inpcb *inp, u_int dir, |
no test coverage detected