Home
last modified time | relevance | path

Searched refs:vh (Results 1 – 6 of 6) sorted by relevance

/dpdk/lib/net/
H A Drte_net.c254 vh = rte_pktmbuf_read(m, off, sizeof(*vh), &vh_copy); in rte_net_get_ptype()
257 off += sizeof(*vh); in rte_net_get_ptype()
259 proto = vh->eth_proto; in rte_net_get_ptype()
265 vh = rte_pktmbuf_read(m, off + sizeof(*vh), sizeof(*vh), in rte_net_get_ptype()
269 off += 2 * sizeof(*vh); in rte_net_get_ptype()
271 proto = vh->eth_proto; in rte_net_get_ptype()
404 vh = rte_pktmbuf_read(m, off, sizeof(*vh), &vh_copy); in rte_net_get_ptype()
407 off += sizeof(*vh); in rte_net_get_ptype()
409 proto = vh->eth_proto; in rte_net_get_ptype()
416 vh = rte_pktmbuf_read(m, off + sizeof(*vh), sizeof(*vh), in rte_net_get_ptype()
[all …]
H A Drte_ether.h328 struct rte_vlan_hdr *vh; in rte_vlan_strip() local
333 vh = (struct rte_vlan_hdr *)(eh + 1); in rte_vlan_strip()
335 m->vlan_tci = rte_be_to_cpu_16(vh->vlan_tci); in rte_vlan_strip()
359 struct rte_vlan_hdr *vh; in rte_vlan_insert() local
378 vh = (struct rte_vlan_hdr *) (nh + 1); in rte_vlan_insert()
379 vh->vlan_tci = rte_cpu_to_be_16((*m)->vlan_tci); in rte_vlan_insert()
/dpdk/lib/pcapng/
H A Drte_pcapng.c348 struct rte_vlan_hdr *vh; in pcapng_vlan_insert() local
365 vh = (struct rte_vlan_hdr *) (nh + 1); in pcapng_vlan_insert()
366 vh->vlan_tci = rte_cpu_to_be_16(tci); in pcapng_vlan_insert()
/dpdk/examples/vhost/
H A Dmain.c1264 struct rte_vlan_hdr *vh = (struct rte_vlan_hdr *) (nh + 1); in virtio_tx_route() local
1267 (vh->vlan_tci != vlan_tag_be)) in virtio_tx_route()
1268 vh->vlan_tci = vlan_tag_be; in virtio_tx_route()
/dpdk/drivers/net/hns3/
H A Dhns3_rxtx.c3747 struct rte_vlan_hdr *vh; in hns3_vld_vlan_chk() local
3775 vh = (struct rte_vlan_hdr *)(eh + 1); in hns3_vld_vlan_chk()
3776 if (vh->eth_proto == rte_cpu_to_be_16(RTE_ETHER_TYPE_VLAN)) in hns3_vld_vlan_chk()
/dpdk/drivers/net/bnx2x/
H A Dbnx2x.c2212 struct rte_vlan_hdr *vh = in bnx2x_tx_encap() local
2218 rte_cpu_to_le_16(ntohs(vh->vlan_tci)); in bnx2x_tx_encap()