/linux-master/net/bridge/ |
H A D | br_arp_nd_proxy.c | 280 daddr = eth_hdr(request)->h_source; 298 ether_addr_copy(eth_hdr(reply)->h_source, n->ha);
|
H A D | br_stp_bpdu.c | 234 eth_hdr(skb)->h_source,
|
H A D | br_forward.c | 260 const unsigned char *src = eth_hdr(skb)->h_source;
|
/linux-master/net/core/ |
H A D | selftests.c | 96 ether_addr_copy(ehdr->h_source, attr->src); 200 if (!ether_addr_equal_unaligned(ehdr->h_source, src))
|
/linux-master/net/ncsi/ |
H A D | ncsi-cmd.c | 388 memcpy(eh->h_source, nca->ndp->ndev.dev->dev_addr, ETH_ALEN); 390 eth_broadcast_addr(eh->h_source);
|
/linux-master/net/bridge/netfilter/ |
H A D | ebt_among.c | 144 smac = eth_hdr(skb)->h_source;
|
H A D | ebt_log.c | 89 eth_hdr(skb)->h_source, eth_hdr(skb)->h_dest,
|
/linux-master/samples/bpf/ |
H A D | tc_l2_redirect_kern.c | 36 unsigned char h_source[ETH_ALEN]; member in struct:eth_hdr
|
H A D | test_lwt_bpf.c | 172 memcpy(&ehdr.h_source, &smac, 6);
|
/linux-master/drivers/net/netdevsim/ |
H A D | psample.c | 54 eth_random_addr(eth->h_source);
|
/linux-master/drivers/net/ethernet/engleder/ |
H A D | tsnep_rxnfc.c | 213 !is_zero_ether_addr(fsp->m_u.ether_spec.h_source) ||
|
/linux-master/drivers/net/ethernet/mellanox/mlx5/core/en/tc/act/ |
H A D | vlan.c | 79 memcpy(attr->eth.h_source, act->vlan_push_eth.src, ETH_ALEN);
|
/linux-master/arch/powerpc/platforms/ps3/ |
H A D | gelic_udbg.c | 148 memcpy(&h_eth->h_source, &mac, ETH_ALEN);
|
/linux-master/tools/testing/selftests/bpf/prog_tests/ |
H A D | xdp_do_redirect.c | 26 .eth.h_source = {0x66, 0x77, 0x88, 0x99, 0xaa, 0xbb},
|
/linux-master/drivers/net/ethernet/sfc/ |
H A D | ethtool_common.c | 742 ether_addr_copy(mac_entry->h_source, spec.rem_mac); 743 eth_broadcast_addr(mac_mask->h_source); 1095 if (!is_zero_ether_addr(mac_mask->h_source)) { 1096 if (!is_broadcast_ether_addr(mac_mask->h_source)) 1099 ether_addr_copy(spec.rem_mac, mac_entry->h_source);
|
/linux-master/drivers/net/ethernet/sfc/falcon/ |
H A D | ethtool.c | 889 ether_addr_copy(mac_entry->h_source, spec.rem_mac); 890 eth_broadcast_addr(mac_mask->h_source); 1197 if (!is_zero_ether_addr(mac_mask->h_source)) { 1198 if (!is_broadcast_ether_addr(mac_mask->h_source)) 1201 ether_addr_copy(spec.rem_mac, mac_entry->h_source);
|
/linux-master/drivers/net/ethernet/sfc/siena/ |
H A D | ethtool_common.c | 742 ether_addr_copy(mac_entry->h_source, spec.rem_mac); 743 eth_broadcast_addr(mac_mask->h_source); 1096 if (!is_zero_ether_addr(mac_mask->h_source)) { 1097 if (!is_broadcast_ether_addr(mac_mask->h_source)) 1100 ether_addr_copy(spec.rem_mac, mac_entry->h_source);
|
/linux-master/drivers/net/ipvlan/ |
H A D | ipvlan_core.c | 614 ether_addr_equal(eth->h_dest, eth->h_source)) { 685 if (ether_addr_equal(eth->h_source, skb->dev->dev_addr)) {
|
/linux-master/net/hsr/ |
H A D | hsr_forward.c | 378 ether_addr_copy(eth_hdr(skb)->h_source, port->dev->dev_addr); 386 ether_addr_copy(eth_hdr(skb)->h_source,
|
/linux-master/net/netfilter/ |
H A D | nf_flow_table_core.c | 127 memcpy(flow_tuple->out.h_source, route->tuple[dir].out.h_source,
|
/linux-master/net/ipv4/netfilter/ |
H A D | nf_reject_ipv4.c | 303 oeth->h_source, oeth->h_dest, nskb->len) < 0)
|
/linux-master/drivers/net/ethernet/mellanox/mlx5/core/ |
H A D | en_selftest.c | 109 eth_zero_addr(ethh->h_source);
|
H A D | en_fs_ethtool.c | 321 ether_addr_copy(MLX5E_FTE_ADDR_OF(headers_c, smac_47_16), eth_mask->h_source); 322 ether_addr_copy(MLX5E_FTE_ADDR_OF(headers_v, smac_47_16), eth_val->h_source); 565 if (!is_zero_ether_addr(eth_mask->h_source))
|
/linux-master/drivers/net/ethernet/freescale/dpaa2/ |
H A D | dpaa2-ethtool.c | 364 if (!is_zero_ether_addr(eth_mask->h_source)) { 366 ether_addr_copy(key + off, eth_value->h_source); 367 ether_addr_copy(mask + off, eth_mask->h_source);
|
/linux-master/drivers/net/wireless/ath/ath11k/ |
H A D | wow.c | 186 memcpy(new_hdr_pattern->addr3, old_hdr_pattern->h_source, ETH_ALEN); 187 memcpy(new_hdr_mask->addr3, old_hdr_mask->h_source, ETH_ALEN); 204 offsetof(struct ethhdr, h_source);
|