Home | History | Annotate | Download | only in netipsec

Lines Matching defs:esp

73 #include <netipsec/esp.h>
149 * + sizeof(esp trailer)
153 size = sizeof(struct esp);
167 * + sizeof(esp trailer)
298 * ESP input processing, called (eventually) through the protocol switch.
307 struct newesp *esp;
322 M_REGION_GET(esp, struct newesp *, m, skip, sizeof(struct newesp));
323 if (esp == NULL) {
332 /* Determine the ESP header length */
334 hlen = sizeof(struct esp) + sav->ivlen;
363 if (esph && sav->replay && !ipsec_chkreplay(ntohl(esp->esp_seq), sav)) {
467 KASSERTMSG(crde != NULL, "null esp crypto descriptor");
506 * ESP input callback from the crypto driver.
609 /* Determine the ESP header length */
611 hlen = sizeof(struct esp) + sav->ivlen;
615 /* Remove the ESP header and IV from the mbuf. */
675 * ESP output routine, called by ipsec[46]_process_packet().
699 /* Determine the ESP header length */
701 hlen = sizeof(struct esp) + sav->ivlen;
770 /* Inject ESP header. */
773 DPRINTF("failed to inject %u byte ESP hdr for SA "
782 /* Initialize ESP header. */
829 /* Build the ESP Trailer. */
940 * ESP output callback from the crypto driver.
1019 .xf_name = "IPsec ESP",