Lines Matching defs:ipcomp
35 /* IP payload compression protocol (IPComp), see RFC 2393 */
65 #include <netipsec/ipcomp.h>
238 * IPComp input callback from the crypto driver.
251 struct ipcomp *ipc;
306 ipc = (struct ipcomp *)(mtod(m, uint8_t *) + skip);
314 DPRINTF("nested ipcomp, IPCA %s/%08lx\n",
322 /* Remove the IPCOMP header */
352 * IPComp output routine, called by ipsec[46]_process_packet()
505 * IPComp output callback from the crypto driver.
518 struct ipcomp * ipcomp;
546 /* Inject IPCOMP header */
550 DPRINTF("failed to inject IPCOMP header for "
556 ipcomp = (struct ipcomp *)(mtod(mo, char *) + roff);
558 /* Initialize the IPCOMP header */
563 ipcomp->comp_nxt = mtod(m, struct ip *)->ip_p;
568 ipcomp->comp_nxt = mtod(m, struct ip6_hdr *)->ip6_nxt;
572 ipcomp->comp_flags = 0;
575 ipcomp->comp_cpi = htons(cpi);
635 .xf_name = "IPcomp",