Searched refs:h_source (Results 26 - 50 of 189) sorted by relevance

12345678

/linux-master/tools/testing/selftests/bpf/progs/
H A Dtest_xdp_loop.c70 memcpy(new_eth->h_source, old_eth->h_dest, sizeof(new_eth->h_source));
H A Dtest_tc_neigh_fib.c135 __builtin_memcpy(eth->h_source, fib_params.smac, ETH_ALEN);
H A Dtest_xdp_dynptr.c72 memcpy(new_eth->h_source, old_eth->h_dest, sizeof(new_eth->h_source));
/linux-master/net/hsr/
H A Dhsr_framereg.c214 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(&eth_hdr(skb)->h_source, node->macaddress_A, ETH_ALEN);
449 * ethhdr->h_source address and skb->mac_header set.
H A Dhsr_slave.c45 if (hsr_addr_is_self(port->hsr, eth_hdr(skb)->h_source)) {
/linux-master/net/batman-adv/
H A Drouting.c194 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 Dbat_v_elp.c517 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 Dsoft-interface.c247 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 Dnetwork-coding.c1104 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 Dbat_v_ogm.c706 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 Dsend.c92 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 Deth.c96 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 Den_selftest.c69 eth_zero_addr(ethh->h_source);
/linux-master/samples/bpf/
H A Dxdp_fwd_kern.c139 memcpy(eth->h_source, fib_params.smac, ETH_ALEN);
H A Dxdp_router_ipv4.bpf.c169 __builtin_memcpy(eth->h_source, src_mac, ETH_ALEN);
/linux-master/net/netfilter/ipset/
H A Dip_set_hash_mac.c85 ether_addr_copy(e.ether, eth_hdr(skb)->h_source);
H A Dip_set_hash_ipmac.c97 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 Dnft_reject_netdev.c22 eth_hdr(oldskb)->h_source, eth_hdr(oldskb)->h_dest,
/linux-master/include/uapi/linux/
H A Dif_ether.h175 unsigned char h_source[ETH_ALEN]; /* source ether addr */ member in struct:ethhdr
/linux-master/drivers/infiniband/core/
H A Dlag.c74 memcpy(eth->h_source, smac, ETH_ALEN);
/linux-master/drivers/scsi/qedf/
H A Dqedf_fip.c36 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 Dlg-vl600.c179 memcpy(ethhdr->h_source,
186 eth_zero_addr(ethhdr->h_source);
/linux-master/include/net/netfilter/
H A Dnf_flow_table.h149 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 Dmtk_ppe_offload.c297 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 Dwow.c116 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);

Completed in 260 milliseconds

12345678