Searched refs:PKT_HDR_SIZE (Results 1 – 2 of 2) sorted by relevance
37 #define PKT_HDR_SIZE (sizeof(struct ethhdr) + sizeof(struct iphdr) + \ macro
257 memset32_htonl(pkt + PKT_HDR_SIZE, payload, UDP_PKT_DATA_SIZE); in gen_udp_hdr()795 payload = *((uint32_t *)(pkt + PKT_HDR_SIZE)); in pkt_dump()841 u32 seqnum = ntohl(*((u32 *)(data + PKT_HDR_SIZE))); in is_pkt_valid()