Lines Matching refs:udphdr
197 hdrsiz += sizeof(struct udphdr) + 4; in esp_hdrsiz()
215 return sizeof(struct newesp) + esp_max_ivlen() + 17 + AH_MAXSUMSIZE + sizeof(struct udphdr); in esp_hdrsiz()
265 struct udphdr *udp = NULL; in esp_output()
483 udp = mtod(md, struct udphdr *); in esp_output()
510 esphlen += sizeof(struct udphdr); in esp_output()
511 espoff += sizeof(struct udphdr); in esp_output()
532 udp = mtod(n, struct udphdr *); in esp_output()
533 esp = (struct esp *)(void *)((caddr_t)udp + sizeof(struct udphdr)); in esp_output()
543 udp = mtod(md, struct udphdr *); in esp_output()
544 esp = (struct esp *)(void *)((caddr_t)udp + sizeof(struct udphdr)); in esp_output()
906 m->m_pkthdr.csum_data = offsetof(struct udphdr, uh_sum); in esp_output()