Lines Matching refs:udphdr
193 hdrsiz += sizeof(struct udphdr) + 4; in esp_hdrsiz()
211 return sizeof(struct newesp) + esp_max_ivlen() + 17 + AH_MAXSUMSIZE + sizeof(struct udphdr); in esp_hdrsiz()
261 struct udphdr *udp = NULL; in esp_output()
479 udp = mtod(md, struct udphdr *); in esp_output()
506 esphlen += sizeof(struct udphdr); in esp_output()
507 espoff += sizeof(struct udphdr); in esp_output()
528 udp = mtod(n, struct udphdr *); in esp_output()
529 esp = (struct esp *)(void *)((caddr_t)udp + sizeof(struct udphdr)); in esp_output()
539 udp = mtod(md, struct udphdr *); in esp_output()
540 esp = (struct esp *)(void *)((caddr_t)udp + sizeof(struct udphdr)); in esp_output()
902 m->m_pkthdr.csum_data = offsetof(struct udphdr, uh_sum); in esp_output()