Searched refs:PKT_HDR_SIZE (Results 1 – 3 of 3) sorted by relevance
27 #define PKT_HDR_SIZE (sizeof(struct ethhdr) + sizeof(struct iphdr) + \ macro
228 memset32_htonl(pkt + PKT_HDR_SIZE, payload, UDP_PKT_DATA_SIZE); in gen_udp_hdr()501 payload = *((uint32_t *)(pkt + PKT_HDR_SIZE)); in pkt_dump()518 u32 seqnum = ntohl(*((u32 *)(data + PKT_HDR_SIZE))); in is_pkt_valid()
740 #define PKT_HDR_SIZE (sizeof(struct ethhdr) + sizeof(struct iphdr) + \ macro786 memset32_htonl(pkt_data + PKT_HDR_SIZE, opt_pkt_fill_pattern, in gen_eth_hdr_data()