Searched refs:h_source (Results 1 - 25 of 189) sorted by relevance

12345678

/linux-master/net/atm/
H A Dlec.h20 unsigned char h_source[ETH_ALEN]; member in struct:lecdatahdr_8023
29 unsigned char h_source[ETH_ALEN]; member in struct:lecdatahdr_8025
/linux-master/net/ipv6/netfilter/
H A Dip6t_eui64.c35 memcpy(eui64, eth_hdr(skb)->h_source, 3);
36 memcpy(eui64 + 5, eth_hdr(skb)->h_source + 3, 3);
/linux-master/drivers/staging/ks7010/
H A Deap_packet.h11 unsigned char h_source[ETH_ALEN]; /* source ether addr */ member in struct:ether_hdr
/linux-master/samples/bpf/
H A Dparse_simple.c22 unsigned char h_source[ETH_ALEN]; member in struct:eth_hdr
H A Dtest_cgrp2_tc.bpf.c15 unsigned char h_source[ETH_ALEN]; member in struct:eth_hdr
H A Dxdp_adjust_tail_kern.c53 memcpy(eth->h_source, orig_eth->h_dest, ETH_ALEN);
54 memcpy(eth->h_dest, orig_eth->h_source, ETH_ALEN);
H A Dxdp_tx_iptunnel_kern.c72 memcpy(new_eth->h_source, old_eth->h_dest, sizeof(new_eth->h_source));
/linux-master/drivers/net/wireless/marvell/mwifiex/
H A Dsta_rx.c120 - sizeof(rx_pkt_hdr->eth803_hdr.h_source)
123 memcpy(eth->h_source, rx_pkt_hdr->eth803_hdr.h_source,
124 sizeof(eth->h_source));
241 memcpy(ta, rx_pkt_hdr->eth803_hdr.h_source, ETH_ALEN);
H A Duap_txrx.c137 - sizeof(rx_pkt_hdr->eth803_hdr.h_source)
139 memcpy(p_ethhdr->h_source, rx_pkt_hdr->eth803_hdr.h_source,
140 sizeof(p_ethhdr->h_source));
186 src_node = mwifiex_get_sta_entry(priv, rx_pkt_hdr->eth803_hdr.h_source);
290 src_node = mwifiex_get_sta_entry(priv, p_ethhdr->h_source);
398 ether_addr_copy(ta, rx_pkt_hdr->eth803_hdr.h_source);
/linux-master/net/netfilter/
H A Dxt_mac.c36 ret = ether_addr_equal(eth_hdr(skb)->h_source, info->srcaddr);
H A Dnft_flow_offload.c89 u8 h_source[ETH_ALEN]; member in struct:nft_forward_info
111 if (is_zero_ether_addr(info->h_source))
112 memcpy(info->h_source, path->dev->dev_addr, ETH_ALEN);
135 if (is_zero_ether_addr(info->h_source))
136 memcpy(info->h_source, path->dev->dev_addr, ETH_ALEN);
213 memcpy(route->tuple[dir].out.h_source, info.h_source, ETH_ALEN);
/linux-master/tools/testing/selftests/bpf/progs/
H A Dxdp_features.c209 __builtin_memcpy(tmp_mac, eh->h_source, ETH_ALEN);
210 __builtin_memcpy(eh->h_source, eh->h_dest, ETH_ALEN);
261 __builtin_memcpy(tmp_mac, eh->h_source, ETH_ALEN);
262 __builtin_memcpy(eh->h_source, eh->h_dest, ETH_ALEN);
H A Dxdp_redirect_multi_kern.c89 __builtin_memcpy(eth->h_source, mac, ETH_ALEN);
H A Dtest_xdp.c74 memcpy(new_eth->h_source, old_eth->h_dest, sizeof(new_eth->h_source));
/linux-master/drivers/net/ethernet/mediatek/
H A Dmtk_ppe_debugfs.c86 unsigned char h_source[ETH_ALEN]; local
153 *((__be32 *)h_source) = htonl(l2->src_mac_hi);
154 *((__be16 *)&h_source[4]) = htons(l2->src_mac_lo);
161 h_source, h_dest, ntohs(l2->etype),
/linux-master/net/bridge/
H A Dbr_input.c113 br_fdb_find_rcu(br, eth_hdr(skb)->h_source, vid);
120 br_fdb_update(br, p, eth_hdr(skb)->h_source,
131 br_fdb_update(br, p, eth_hdr(skb)->h_source, vid,
141 br_fdb_update(br, p, eth_hdr(skb)->h_source, vid, 0);
241 br_fdb_update(p->br, p, eth_hdr(skb)->h_source, vid, 0);
334 if (!is_valid_ether_addr(eth_hdr(skb)->h_source))
/linux-master/net/batman-adv/
H A Dbridge_loop_avoidance.c389 ether_addr_copy(ethhdr->h_source, mac);
410 ethhdr->h_source, batadv_print_vid(vid));
421 ethhdr->h_source, ethhdr->h_dest,
425 ether_addr_copy(ethhdr->h_source, mac);
428 __func__, ethhdr->h_source, ethhdr->h_dest,
912 __func__, batadv_print_vid(vid), ethhdr->h_source);
1032 backbone_addr = ethhdr->h_source;
1169 __func__, ethhdr->h_source, batadv_print_vid(vid),
1182 ethhdr->h_source, vid))
1187 ethhdr->h_source, hw_sr
[all...]
H A Dbat_iv_ogm.c713 ether_addr_copy(batadv_ogm_packet->prev_sender, ethhdr->h_source);
940 if (batadv_compare_eth(neigh_addr, ethhdr->h_source) &&
972 orig_tmp = batadv_iv_ogm_orig_get(bat_priv, ethhdr->h_source);
977 ethhdr->h_source,
1259 if (batadv_compare_eth(neigh_addr, ethhdr->h_source) &&
1342 if (batadv_compare_eth(ethhdr->h_source, ogm_packet->orig))
1348 ethhdr->h_source);
1360 ethhdr->h_source);
1373 (batadv_compare_eth(router->addr, ethhdr->h_source)))
1384 ethhdr->h_source);
[all...]
/linux-master/net/bridge/netfilter/
H A Debt_snat.c28 ether_addr_copy(eth_hdr(skb)->h_source, info->mac);
H A Dnft_reject_bridge.c30 ether_addr_copy(eth->h_source, eth_hdr(oldskb)->h_dest);
31 ether_addr_copy(eth->h_dest, eth_hdr(oldskb)->h_source);
/linux-master/net/bluetooth/bnep/
H A Dcore.c55 if (ether_addr_equal(dst, s->eh.h_source))
388 __skb_put_data(nskb, s->eh.h_source, ETH_ALEN);
438 if (compress_src && ether_addr_equal(eh->h_dest, s->eh.h_source))
441 if (compress_dst && ether_addr_equal(eh->h_source, s->eh.h_dest))
450 iv[il++] = (struct kvec) { eh->h_source, ETH_ALEN };
597 memcpy(s->eh.h_source, &dst, ETH_ALEN);
680 memcpy(ci->dst, s->eh.h_source, ETH_ALEN);
/linux-master/drivers/net/ethernet/freescale/
H A Dgianfar_ethtool.c979 if (!is_broadcast_ether_addr(mask->h_source)) {
980 if (is_zero_ether_addr(mask->h_source)) {
984 upper_temp_mask = mask->h_source[0] << 16 |
985 mask->h_source[1] << 8 |
986 mask->h_source[2];
987 lower_temp_mask = mask->h_source[3] << 16 |
988 mask->h_source[4] << 8 |
989 mask->h_source[5];
992 gfar_set_attribute(value->h_source[0] << 16 |
993 value->h_source[
[all...]
/linux-master/drivers/net/wireless/intel/iwlwifi/mei/
H A Dnet.c398 memcpy(ethhdr.h_source, ieee80211_get_SA(hdr), ETH_ALEN);
405 eth = skb_push(skb, sizeof(ethhdr.h_dest) + sizeof(ethhdr.h_source));
406 memcpy(eth, &ethhdr, sizeof(ethhdr.h_dest) + sizeof(ethhdr.h_source));
/linux-master/net/sched/
H A Dact_skbmod.c72 ether_addr_copy(eth_hdr(skb)->h_source, p->eth_src);
80 ether_addr_copy(eth_hdr(skb)->h_dest, eth_hdr(skb)->h_source);
81 ether_addr_copy(eth_hdr(skb)->h_source, (u8 *)tmpaddr);
/linux-master/drivers/net/wireless/marvell/libertas/
H A Drx.c120 memcpy(p_ethhdr->h_source, p_rx_pkt->eth803_hdr.src_addr,
121 sizeof(p_ethhdr->h_source));

Completed in 252 milliseconds

12345678