| 734 | } |
| 735 | |
| 736 | static void |
| 737 | ipsec6_setspidx_ipaddr(const struct mbuf *m, struct secpolicyindex *spidx) |
| 738 | { |
| 739 | |
| 740 | ipsec6_setsockaddrs(m, &spidx->src, &spidx->dst); |
| 741 | spidx->prefs = sizeof(struct in6_addr) << 3; |
| 742 | spidx->prefd = sizeof(struct in6_addr) << 3; |
| 743 | } |
| 744 | |
| 745 | static struct secpolicy * |
| 746 | ipsec6_getpolicy(const struct mbuf *m, struct inpcb *inp, u_int dir, |
no test coverage detected