/linux-master/tools/testing/selftests/bpf/progs/ |
H A D | test_xdp_loop.c | 70 memcpy(new_eth->h_source, old_eth->h_dest, sizeof(new_eth->h_source));
|
H A D | test_tc_neigh_fib.c | 135 __builtin_memcpy(eth->h_source, fib_params.smac, ETH_ALEN);
|
H A D | test_xdp_dynptr.c | 72 memcpy(new_eth->h_source, old_eth->h_dest, sizeof(new_eth->h_source));
|
/linux-master/net/hsr/ |
H A D | hsr_framereg.c | 214 if (ether_addr_equal(node->macaddress_A, ethhdr->h_source)) { 219 if (ether_addr_equal(node->macaddress_B, ethhdr->h_source)) { 250 return hsr_add_node(hsr, node_db, ethhdr->h_source, seq_out, 353 ether_addr_copy(node_real->macaddress_B, ethhdr->h_source); 394 memcpy(ð_hdr(skb)->h_source, node->macaddress_A, ETH_ALEN); 449 * ethhdr->h_source address and skb->mac_header set.
|
H A D | hsr_slave.c | 45 if (hsr_addr_is_self(port->hsr, eth_hdr(skb)->h_source)) {
|
/linux-master/net/batman-adv/ |
H A D | routing.c | 194 if (!is_valid_ether_addr(ethhdr->h_source)) 360 if (is_multicast_ether_addr(ethhdr->h_source)) 457 if (is_multicast_ether_addr(ethhdr->h_source)) 671 ethhdr->h_source, unicast_packet->dest); 978 orig_addr_gw = eth_hdr(skb)->h_source; 1188 if (is_multicast_ether_addr(ethhdr->h_source)) 1192 if (batadv_is_my_mac(bat_priv, ethhdr->h_source))
|
H A D | bat_v_elp.c | 517 if (batadv_is_my_mac(bat_priv, ethhdr->h_source)) 530 ethhdr->h_source, ntohl(elp_packet->seqno), 537 batadv_v_elp_neigh_update(bat_priv, ethhdr->h_source, if_incoming,
|
H A D | soft-interface.c | 247 if (!is_multicast_ether_addr(ethhdr->h_source) && 248 !batadv_bla_is_loopdetect_mac(ethhdr->h_source)) { 249 client_added = batadv_tt_local_add(soft_iface, ethhdr->h_source, 475 ethhdr->h_source, vid); 482 batadv_tt_global_is_isolated(bat_priv, ethhdr->h_source, 490 } else if (batadv_is_ap_isolated(bat_priv, ethhdr->h_source,
|
H A D | network-coding.c | 1104 second_source = ethhdr->h_source; 1113 first_source = ethhdr->h_source; 1379 ether_addr_copy(ethhdr->h_source, ethhdr->h_dest); 1422 ethhdr->h_source, nc_node); 1523 ethhdr->h_source, 1572 ethhdr->h_source, 1744 dest = ethhdr->h_source;
|
H A D | bat_v_ogm.c | 706 orig_neigh_node = batadv_v_ogm_orig_get(bat_priv, ethhdr->h_source); 872 ethhdr->h_source, if_incoming->net_dev->name, 893 hardif_neigh = batadv_hardif_neigh_get(if_incoming, ethhdr->h_source); 905 ethhdr->h_source); 1005 if (batadv_is_my_mac(bat_priv, ethhdr->h_source))
|
H A D | send.c | 92 ether_addr_copy(ethhdr->h_source, hard_iface->net_dev->dev_addr); 413 src = ethhdr->h_source; 861 neigh_addr = eth_hdr(skb)->h_source;
|
/linux-master/net/ethernet/ |
H A D | eth.c | 96 memcpy(eth->h_source, saddr, ETH_ALEN); 206 memcpy(haddr, eth->h_source, ETH_ALEN); 231 memcpy(eth->h_source, dev->dev_addr, ETH_ALEN);
|
/linux-master/drivers/net/ethernet/mellanox/mlx4/ |
H A D | en_selftest.c | 69 eth_zero_addr(ethh->h_source);
|
/linux-master/samples/bpf/ |
H A D | xdp_fwd_kern.c | 139 memcpy(eth->h_source, fib_params.smac, ETH_ALEN);
|
H A D | xdp_router_ipv4.bpf.c | 169 __builtin_memcpy(eth->h_source, src_mac, ETH_ALEN);
|
/linux-master/net/netfilter/ipset/ |
H A D | ip_set_hash_mac.c | 85 ether_addr_copy(e.ether, eth_hdr(skb)->h_source);
|
H A D | ip_set_hash_ipmac.c | 97 ether_addr_copy(e.ether, eth_hdr(skb)->h_source); 213 ether_addr_copy(e.ether, eth_hdr(skb)->h_source);
|
/linux-master/net/netfilter/ |
H A D | nft_reject_netdev.c | 22 eth_hdr(oldskb)->h_source, eth_hdr(oldskb)->h_dest,
|
/linux-master/include/uapi/linux/ |
H A D | if_ether.h | 175 unsigned char h_source[ETH_ALEN]; /* source ether addr */ member in struct:ethhdr
|
/linux-master/drivers/infiniband/core/ |
H A D | lag.c | 74 memcpy(eth->h_source, smac, ETH_ALEN);
|
/linux-master/drivers/scsi/qedf/ |
H A D | qedf_fip.c | 36 ether_addr_copy(vlan->eth.h_source, qedf->mac); 193 skb, fiph, eth_hdr->h_source, eth_hdr->h_dest, op,
|
/linux-master/drivers/net/usb/ |
H A D | lg-vl600.c | 179 memcpy(ethhdr->h_source, 186 eth_zero_addr(ethhdr->h_source);
|
/linux-master/include/net/netfilter/ |
H A D | nf_flow_table.h | 149 u8 h_source[ETH_ALEN]; member in struct:flow_offload_tuple::__anon61::__anon63 214 u8 h_source[ETH_ALEN]; member in struct:nf_flow_route::__anon65::__anon68
|
/linux-master/drivers/net/ethernet/mediatek/ |
H A D | mtk_ppe_offload.c | 297 memcpy(data.eth.h_source, match.key->src, ETH_ALEN); 359 if (!is_valid_ether_addr(data.eth.h_source) || 364 data.eth.h_source, data.eth.h_dest);
|
/linux-master/drivers/net/wireless/ath/ath10k/ |
H A D | wow.c | 116 memcpy(new_hdr_pattern->addr3, old_hdr_pattern->h_source, ETH_ALEN); 117 memcpy(new_hdr_mask->addr3, old_hdr_mask->h_source, ETH_ALEN); 134 offsetof(struct ethhdr, h_source);
|