Home
last modified time | relevance | path

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

/drivers/net/ethernet/mellanox/mlx4/
Dresource_tracker.c4200 static int validate_eth_header_mac(int slave, struct _rule_hw *eth_header, in validate_eth_header_mac() argument
4207 if (!is_multicast_ether_addr(eth_header->eth.dst_mac) && in validate_eth_header_mac()
4208 !is_broadcast_ether_addr(eth_header->eth.dst_mac)) { in validate_eth_header_mac()
4211 if (ether_addr_equal((u8 *)&be_mac, eth_header->eth.dst_mac)) in validate_eth_header_mac()
4215 eth_header->eth.dst_mac, slave); in validate_eth_header_mac()
4232 struct mlx4_net_trans_rule_hw_eth *eth_header; in add_eth_header() local
4240 eth_header = (struct mlx4_net_trans_rule_hw_eth *)(ctrl + 1); in add_eth_header()
4246 (struct mlx4_net_trans_rule_hw_ipv4 *)(eth_header + 1); in add_eth_header()
4247 memmove(ip_header, eth_header, in add_eth_header()
4253 (eth_header + 1); in add_eth_header()
[all …]
Dmain.c826 struct _rule_hw *eth_header) in mlx4_handle_eth_header_mcast_prio() argument
828 if (is_multicast_ether_addr(eth_header->eth.dst_mac) || in mlx4_handle_eth_header_mcast_prio()
829 is_broadcast_ether_addr(eth_header->eth.dst_mac)) { in mlx4_handle_eth_header_mcast_prio()
831 (struct mlx4_net_trans_rule_hw_eth *)eth_header; in mlx4_handle_eth_header_mcast_prio()
/drivers/net/wireless/intersil/hostap/
Dhostap_main.c786 .create = eth_header,
/drivers/net/plip/
Dplip.c1032 ret = eth_header(skb, dev, type, daddr, saddr, len); in plip_hard_header()
/drivers/media/dvb-core/
Ddvb_net.c1303 .create = eth_header,