Home
last modified time | relevance | path

Searched refs:eth_h (Results 1 – 5 of 5) sorted by relevance

/f-stack/dpdk/app/test-pmd/
H A Dicmpecho.c278 struct rte_ether_hdr *eth_h; in reply_to_icmp_echo_rqsts() local
317 eth_type = RTE_BE_TO_CPU_16(eth_h->ether_type); in reply_to_icmp_echo_rqsts()
322 ether_addr_dump(" ETH: src=", &eth_h->s_addr); in reply_to_icmp_echo_rqsts()
323 ether_addr_dump(" dst=", &eth_h->d_addr); in reply_to_icmp_echo_rqsts()
327 ((char *)eth_h + sizeof(struct rte_ether_hdr)); in reply_to_icmp_echo_rqsts()
388 rte_ether_addr_copy(&eth_h->s_addr, &eth_h->d_addr); in reply_to_icmp_echo_rqsts()
391 &eth_h->s_addr); in reply_to_icmp_echo_rqsts()
398 rte_ether_addr_copy(&eth_h->s_addr, in reply_to_icmp_echo_rqsts()
456 rte_ether_addr_copy(&eth_h->s_addr, &eth_addr); in reply_to_icmp_echo_rqsts()
457 rte_ether_addr_copy(&eth_h->d_addr, &eth_h->s_addr); in reply_to_icmp_echo_rqsts()
[all …]
/f-stack/dpdk/drivers/net/bonding/
H A Drte_eth_bond_alb.c85 arp = (struct rte_arp_hdr *)((char *)(eth_h + 1) + offset); in bond_mode_alb_arp_recv()
108 memcmp(client_info->vlan, eth_h + 1, offset) != 0 in bond_mode_alb_arp_recv()
120 memcpy(client_info->vlan, eth_h + 1, offset); in bond_mode_alb_arp_recv()
140 arp = (struct rte_arp_hdr *)((char *)(eth_h + 1) + offset); in bond_mode_alb_arp_xmit()
173 memcpy(client_info->vlan, eth_h + 1, offset); in bond_mode_alb_arp_xmit()
192 memcpy(client_info->vlan, eth_h + 1, offset); in bond_mode_alb_arp_xmit()
209 struct rte_ether_hdr *eth_h; in bond_mode_alb_arp_upd() local
214 eth_h = rte_pktmbuf_mtod(pkt, struct rte_ether_hdr *); in bond_mode_alb_arp_upd()
221 eth_h->ether_type = rte_cpu_to_be_16(RTE_ETHER_TYPE_ARP); in bond_mode_alb_arp_upd()
224 (char *)eth_h + sizeof(struct rte_ether_hdr) in bond_mode_alb_arp_upd()
[all …]
H A Drte_eth_bond_alb.h71 bond_mode_alb_arp_recv(struct rte_ether_hdr *eth_h, uint16_t offset,
88 bond_mode_alb_arp_xmit(struct rte_ether_hdr *eth_h, uint16_t offset,
H A Drte_eth_bond_pmd.c480 eth_h->s_addr.addr_bytes[0], eth_h->s_addr.addr_bytes[1], \
481 eth_h->s_addr.addr_bytes[2], eth_h->s_addr.addr_bytes[3], \
482 eth_h->s_addr.addr_bytes[4], eth_h->s_addr.addr_bytes[5], \
484 eth_h->d_addr.addr_bytes[0], eth_h->d_addr.addr_bytes[1], \
485 eth_h->d_addr.addr_bytes[2], eth_h->d_addr.addr_bytes[3], \
486 eth_h->d_addr.addr_bytes[4], eth_h->d_addr.addr_bytes[5], \
505 uint16_t ether_type = eth_h->ether_type; in mode6_debug()
539 struct rte_ether_hdr *eth_h; in bond_ethdev_rx_burst_alb() local
548 ether_type = eth_h->ether_type; in bond_ethdev_rx_burst_alb()
986 struct rte_ether_hdr *eth_h; in bond_ethdev_tx_burst_alb() local
[all …]
/f-stack/dpdk/drivers/net/ionic/
H A Dionic_rxtx.c842 struct rte_ether_hdr *eth_h = rte_pktmbuf_mtod(rxm, in ionic_rx_clean() local
844 uint16_t ether_type = eth_h->ether_type; in ionic_rx_clean()