Home
last modified time | relevance | path

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

/linux-6.6.21/net/ethernet/
Deth.c79 int eth_header(struct sk_buff *skb, struct net_device *dev, in eth_header() function
114 EXPORT_SYMBOL(eth_header);
344 .create = eth_header,
/linux-6.6.21/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.c825 struct _rule_hw *eth_header) in mlx4_handle_eth_header_mcast_prio() argument
827 if (is_multicast_ether_addr(eth_header->eth.dst_mac) || in mlx4_handle_eth_header_mcast_prio()
828 is_broadcast_ether_addr(eth_header->eth.dst_mac)) { in mlx4_handle_eth_header_mcast_prio()
830 (struct mlx4_net_trans_rule_hw_eth *)eth_header; in mlx4_handle_eth_header_mcast_prio()
/linux-6.6.21/include/linux/
Detherdevice.h43 int eth_header(struct sk_buff *skb, struct net_device *dev, unsigned short type,
/linux-6.6.21/net/hsr/
Dhsr_device.c233 .create = eth_header,
/linux-6.6.21/net/ipv4/
Dip_tunnel_core.c248 eth_header(skb, skb->dev, ntohs(eh.h_proto), eh.h_source, eh.h_dest, 0); in iptunnel_pmtud_build_icmp()
341 eth_header(skb, skb->dev, ntohs(eh.h_proto), eh.h_source, eh.h_dest, 0); in iptunnel_pmtud_build_icmpv6()
/linux-6.6.21/drivers/net/wireless/intersil/hostap/
Dhostap_main.c786 .create = eth_header,
/linux-6.6.21/drivers/net/plip/
Dplip.c1036 ret = eth_header(skb, dev, type, daddr, saddr, len); in plip_hard_header()
/linux-6.6.21/tools/testing/selftests/bpf/
Dxskxceiver.c785 static void pkt_dump(void *pkt, u32 len, bool eth_header) in pkt_dump() argument
790 if (eth_header) { in pkt_dump()
/linux-6.6.21/include/linux/mlx4/
Ddevice.h1417 struct _rule_hw *eth_header);
/linux-6.6.21/drivers/media/dvb-core/
Ddvb_net.c1303 .create = eth_header,