Lines Matching refs:udphdr
165 if ((sav->flags & SADB_X_EXT_NATT) != 0) hdrsiz += sizeof(struct udphdr) + 4;
180 * sizeof(struct udphdr) in case NAT traversal is used
182 return sizeof(struct newesp) + esp_max_ivlen() + 17 + 16 + sizeof(struct udphdr);
227 struct udphdr *udp = NULL;
384 udp = mtod(md, struct udphdr *);
410 esphlen += sizeof(struct udphdr);
411 espoff += sizeof(struct udphdr);
431 udp = mtod(n, struct udphdr *);
432 esp = (struct esp *)((caddr_t)udp + sizeof(struct udphdr));
442 udp = mtod(md, struct udphdr *);
443 esp = (struct esp *)((caddr_t)udp + sizeof(struct udphdr));