Lines Matching refs:esp
180 hdrsiz = sizeof(struct esp) + ivlen + maxpad; in esp_hdrsiz()
248 struct esp *esp; in esp_output() local
367 esplen = sizeof(struct esp); in esp_output()
371 esplen = sizeof(struct esp); in esp_output()
533 esp = (struct esp *)(void *)((caddr_t)udp + sizeof(struct udphdr)); in esp_output()
535 esp = mtod(n, struct esp *); in esp_output()
541 esp = mtod(md, struct esp *); in esp_output()
544 esp = (struct esp *)(void *)((caddr_t)udp + sizeof(struct udphdr)); in esp_output()
546 esp = mtod(md, struct esp *); in esp_output()
570 esp->esp_spi = spi; in esp_output()
573 nesp = (struct newesp *)esp; in esp_output()
975 struct newesp *esp = NULL; in esp_kpipe_output() local
1193 esp = (struct newesp *)(void *)(dbaddr + iphlen); in esp_kpipe_output()
1194 ASSERT(IS_P2ALIGNED(esp, sizeof(uint32_t))); in esp_kpipe_output()
1195 esp->esp_spi = sav->spi; in esp_kpipe_output()
1196 esp->esp_seq = htonl(os_atomic_inc(&sav->replay[traffic_class]->seq, relaxed)); in esp_kpipe_output()
1223 esp, iv, ivlen, dst_payload, plen + extendsiz)) != 0)) { in esp_kpipe_output()
1243 if (__improbable((err = esp_auth_data(sav, (uint8_t *)esp, in esp_kpipe_output()