Home
last modified time | relevance | path

Searched refs:iphdr (Results 1 – 10 of 10) sorted by relevance

/f-stack/dpdk/examples/bpf/
H A Dt1.c44 struct iphdr *iphdr = (void *)(ether_header + 1); in entry() local
45 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()
/f-stack/freebsd/net/
H A Dif_gif.h61 struct ip *iphdr; member
76 #define gif_iphdr gif_uhdr.iphdr
H A Dif_gre.h100 struct greip *iphdr; member
126 #define gre_iphdr gre_uhdr.iphdr
H A Dif_spppsubr.c516 u_char *iphdr; in sppp_input() local
615 &iphdr, &hlen)) <= 0) { in sppp_input()
635 bcopy(iphdr, mtod(m, u_char *), hlen); in sppp_input()
646 &iphdr, &hlen) != 0) { in sppp_input()
/f-stack/tools/compat/include/net/
H A Dif_gif.h61 struct ip *iphdr; member
76 #define gif_iphdr gif_uhdr.iphdr
H A Dif_gre.h100 struct greip *iphdr; member
126 #define gre_iphdr gre_uhdr.iphdr
/f-stack/dpdk/drivers/net/tap/
H A Dtap_bpf_program.c153 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()
/f-stack/freebsd/netinet/libalias/
H A Dalias_local.h387 ip_next(struct ip *iphdr) in ip_next() argument
389 char *p = (char *)iphdr; in ip_next()
390 return (&p[iphdr->ip_hl * 4]); in ip_next()
/f-stack/dpdk/examples/ipv4_multicast/
H A Dmain.c296 struct rte_ipv4_hdr *iphdr; in mcast_forward() local
306 iphdr = (struct rte_ipv4_hdr *) in mcast_forward()
308 RTE_ASSERT(iphdr != NULL); in mcast_forward()
310 dest_addr = rte_be_to_cpu_32(iphdr->dst_addr); in mcast_forward()
/f-stack/dpdk/doc/guides/sample_app_ug/
H A Dipv4_multicast.rst149 iphdr = (struct rte_ipv4_hdr *)rte_pktmbuf_adj(m, sizeof(struct rte_ether_hdr));
150 RTE_ASSERT(iphdr != NULL);
151 dest_addr = rte_be_to_cpu_32(iphdr->dst_addr);