Searched refs:udphdr (Results 1 – 7 of 7) sorted by relevance
77 if (size - sizeof(struct ip) - sizeof(struct udphdr) < 0) { in main()115 struct udphdr* udp = (struct udphdr*)(datagram + sizeof(struct ip)); in main()
10 struct udphdr { struct
424 sizeof(struct udphdr),434 sizeof(struct udphdr),1478 struct udphdr *const outudp = (struct udphdr *) outp; in udp_prep()1495 struct udphdr *const udp = (struct udphdr *) data; in udp_check()1504 struct udphdr *const outudp = (struct udphdr *) outp; in udplite_prep()1521 struct udphdr *const udp = (struct udphdr *) data; in udplite_check()
312 tucso = hdr_len + offsetof(struct udphdr, uh_sum); in em_transmit_checksum_setup()
1795 struct udphdr *uh; in fxp_rxcsum()1842 if (pktlen < (hlen + sizeof(struct udphdr))) in fxp_rxcsum()1844 uh = (struct udphdr *)((caddr_t)ip + hlen); in fxp_rxcsum()
3103 struct udphdr *uh; in msk_rxcsum()3164 if (pktlen < (hlen + sizeof(struct udphdr))) in msk_rxcsum()3166 uh = (struct udphdr *)((caddr_t)ip + hlen); in msk_rxcsum()
1374 offsetof(struct udphdr, uh_sum)); in vmxnet3_isc_txd_encap()