Lines Matching refs:udphdr
4828 struct udphdr * udp;
4883 udp = (struct udphdr *)(void *)
7621 struct udphdr udp;
7623 minlen += sizeof(struct udphdr);
7642 sizeof(struct udphdr), &udp);
7660 offset += sizeof(struct udphdr);
8305 struct udphdr udphdr;
8309 error = mbuf_copydata(m, offset, sizeof(struct udphdr), &udphdr);
8316 if (ntohs(udphdr.uh_sport) != IPPORT_BOOTPC ||
8317 ntohs(udphdr.uh_dport) != IPPORT_BOOTPS) {
8322 offset += sizeof(struct udphdr) + offsetof(struct dhcp, dp_flags);
8337 if (udphdr.uh_sum != 0) {
8342 mnr->mnr_ip_udp_csum = udphdr.uh_sum + delta;
8865 error = mbuf_copyback(*data, offset + offsetof(struct udphdr, uh_sum),
8876 offset += sizeof(struct udphdr);