Searched refs:iphdr (Results 1 – 8 of 8) sorted by relevance
105 - sizeof (struct iphdr) \276 struct iphdr struct325 struct iphdr ip;339 struct iphdr ip;379 struct iphdr ip;402 #define TFTP_MIN_PACKET (sizeof(struct iphdr) + sizeof(struct udphdr) + 4)406 struct iphdr ip;
111 static unsigned short udpchksum (struct iphdr *packet);201 struct iphdr *ip; in udp_transmit()207 ip = (struct iphdr *) buf; in udp_transmit()208 udp = (struct udphdr *) ((unsigned long) buf + sizeof (struct iphdr)); in udp_transmit()219 ip->chksum = ipchksum ((unsigned short *) buf, sizeof (struct iphdr)); in udp_transmit()222 udp->len = htons (len - sizeof (struct iphdr)); in udp_transmit()714 udpchksum (struct iphdr *packet) in udpchksum()720 rval = (len - sizeof (struct iphdr)) + IP_UDP; in udpchksum()742 struct iphdr *ip; in await_reply()747 unsigned int protohdrlen = (ETH_HLEN + sizeof (struct iphdr) in await_reply()[all …]
948 static void pr_iph(struct iphdr *ip);1135 struct iphdr *ip; in parse_reply()1140 ip = (struct iphdr *)buf; in parse_reply()1176 struct iphdr * iph = (struct iphdr *)(&icp[1]); in parse_reply()1179 if (cc < 8+sizeof(struct iphdr)+8 || in parse_reply()1243 pr_options(buf + sizeof(struct iphdr), hlen); in parse_reply()1324 pr_iph((struct iphdr*)(icp + 1)); in pr_icmph()1329 pr_iph((struct iphdr*)(icp + 1)); in pr_icmph()1352 pr_iph((struct iphdr*)(icp + 1)); in pr_icmph()1371 pr_iph((struct iphdr*)(icp + 1)); in pr_icmph()[all …]
33 struct iphdr iph;
82 struct iphdr { struct
246 struct iphdr *ipiph;252 struct iphdr *iph;
206 sizeof(struct iphdr) + 248 struct iphdr *ip;252 ip = (struct iphdr *)(x.lbuf + sizeof(*udp));
668 iphdr for Linux