Searched refs:iphdr (Results 1 – 3 of 3) sorted by relevance
44 struct iphdr *iphdr = (void *)(ether_header + 1); in entry() local45 if (iphdr->protocol != 17 || (iphdr->frag_off & 0x1ffff) != 0 || in entry()46 iphdr->daddr != htonl(0x1020304)) in entry()49 int hlen = iphdr->ihl * 4; in entry()50 struct udphdr *udphdr = (void *)iphdr + hlen; in entry()
153 if (data + off + sizeof(struct iphdr) + sizeof(__u32) in rss_l3_l4()157 __u8 *src_dst_addr = data + off + offsetof(struct iphdr, saddr); in rss_l3_l4()158 __u8 *src_dst_port = data + off + sizeof(struct iphdr); in rss_l3_l4()
305 struct rte_ipv4_hdr *iphdr; in mcast_forward() local315 iphdr = (struct rte_ipv4_hdr *) in mcast_forward()317 RTE_ASSERT(iphdr != NULL); in mcast_forward()319 dest_addr = rte_be_to_cpu_32(iphdr->dst_addr); in mcast_forward()