Searched refs:oh (Results 1 – 3 of 3) sorted by relevance
| /dpdk/lib/ring/ |
| H A D | rte_ring_rts_elem_pvt.h | 75 union __rte_ring_rts_poscnt nh, oh; in __rte_ring_rts_move_prod_head() local 108 nh.val.pos = oh.val.pos + n; in __rte_ring_rts_move_prod_head() 109 nh.val.cnt = oh.val.cnt + 1; in __rte_ring_rts_move_prod_head() 117 &oh.raw, nh.raw, in __rte_ring_rts_move_prod_head() 120 *old_head = oh.val.pos; in __rte_ring_rts_move_prod_head() 133 union __rte_ring_rts_poscnt nh, oh; in __rte_ring_rts_move_cons_head() local 154 *entries = r->prod.tail - oh.val.pos; in __rte_ring_rts_move_cons_head() 163 nh.val.pos = oh.val.pos + n; in __rte_ring_rts_move_cons_head() 164 nh.val.cnt = oh.val.cnt + 1; in __rte_ring_rts_move_cons_head() 172 &oh.raw, nh.raw, in __rte_ring_rts_move_cons_head() [all …]
|
| /dpdk/lib/net/ |
| H A D | rte_ether.h | 358 struct rte_ether_hdr *oh, *nh; in rte_vlan_insert() local 369 oh = rte_pktmbuf_mtod(*m, struct rte_ether_hdr *); in rte_vlan_insert() 375 memmove(nh, oh, 2 * RTE_ETHER_ADDR_LEN); in rte_vlan_insert()
|
| /dpdk/lib/pcapng/ |
| H A D | rte_pcapng.c | 347 struct rte_ether_hdr *nh, *oh; in pcapng_vlan_insert() local 353 if (rte_pktmbuf_data_len(m) < sizeof(*oh)) in pcapng_vlan_insert() 356 oh = rte_pktmbuf_mtod(m, struct rte_ether_hdr *); in pcapng_vlan_insert() 362 memmove(nh, oh, 2 * RTE_ETHER_ADDR_LEN); in pcapng_vlan_insert()
|