Lines Matching refs:udphdr
4934 struct udphdr * udp;
4988 udp = (struct udphdr *)(info_p->ip_hdr + info_p->ip_hlen
7898 struct udphdr udp;
7900 minlen += sizeof(struct udphdr);
7919 sizeof(struct udphdr), &udp);
7937 offset += sizeof(struct udphdr);
8654 struct udphdr udphdr;
8658 error = mbuf_copydata(m, offset, sizeof(struct udphdr), &udphdr);
8665 if (udphdr.uh_sport != HTONS_IPPORT_BOOTPC ||
8666 udphdr.uh_dport != HTONS_IPPORT_BOOTPS) {
8671 offset += sizeof(struct udphdr) + offsetof(struct dhcp, dp_flags);
8686 if (udphdr.uh_sum != 0) {
8691 mnr->mnr_ip_udp_csum = udphdr.uh_sum + delta;
9406 error = mbuf_copyback(*data, offset + offsetof(struct udphdr, uh_sum),
9417 offset += sizeof(struct udphdr);