Lines Matching refs:udphdr
279 unsigned short ptype, struct iphdr *ip __unused, struct udphdr *udp __unused)
380 static uint16_t udpchksum(struct iphdr *ip, struct udphdr *udp)
406 struct udphdr *udp;
409 udp = (struct udphdr *)((char *)buf + sizeof(struct iphdr));
434 struct iphdr *ip __unused, struct udphdr *udp __unused)
456 struct iphdr *ip, struct udphdr *udp)
526 struct udphdr *udp)
535 &nic.packet[ETH_HLEN + sizeof(struct iphdr) + sizeof(struct udphdr)];
537 sizeof(struct udphdr) + sizeof(struct bootp_t) - BOOTP_VENDOR_LEN);
623 struct udphdr *udp)
632 &nic.packet[ETH_HLEN + sizeof(struct iphdr) + sizeof(struct udphdr)];
634 sizeof(struct udphdr) + sizeof(struct dhcp_t) - DHCP_OPT_LEN);
886 struct udphdr *udp;
957 (nic.packetlen >= ETH_HLEN + sizeof(struct iphdr) + sizeof(struct udphdr))) {
958 udp = (struct udphdr *)&nic.packet[ETH_HLEN + sizeof(struct iphdr)];