Lines Matching defs:ipcomp
68 #include <netipsec/ipcomp.h>
200 struct ipcomp *ipcomp;
218 ipcomp = (struct ipcomp *)addr;
219 if (ipcomp->comp_nxt == IPPROTO_IPCOMP) {
346 nproto = ((struct ipcomp *) addr)->comp_nxt;
572 struct ipcomp *ipcomp;
587 ipcomp = (struct ipcomp *)(mtod(mo, caddr_t) + roff);
594 ipcomp->comp_nxt = mtod(m, struct ip *)->ip_p;
599 ipcomp->comp_nxt = mtod(m, struct ip6_hdr *)->ip6_nxt;
603 ipcomp->comp_flags = 0;
604 ipcomp->comp_cpi = htons((u_int16_t) ntohl(sav->spi));