Home
last modified time | relevance | path

Searched refs:h_source (Results 1 – 25 of 66) sorted by relevance

123

/linux-3.4.99/drivers/net/wireless/mwifiex/ !
Dsta_rx.c76 - sizeof(rx_pkt_hdr->eth803_hdr.h_source) in mwifiex_process_rx_packet()
79 memcpy(eth_hdr->h_source, rx_pkt_hdr->eth803_hdr.h_source, in mwifiex_process_rx_packet()
80 sizeof(eth_hdr->h_source)); in mwifiex_process_rx_packet()
184 memcpy(ta, rx_pkt_hdr->eth803_hdr.h_source, ETH_ALEN); in mwifiex_process_sta_rx_packet()
/linux-3.4.99/net/batman-adv/ !
Dbat_iv_ogm.c483 memcpy(batman_ogm_packet->prev_sender, ethhdr->h_source, ETH_ALEN); in bat_iv_ogm_forward()
490 if (!compare_eth(router->addr, ethhdr->h_source)) { in bat_iv_ogm_forward()
594 if (compare_eth(tmp_neigh_node->addr, ethhdr->h_source) && in bat_iv_ogm_orig_update()
617 orig_tmp = get_orig_node(bat_priv, ethhdr->h_source); in bat_iv_ogm_orig_update()
622 ethhdr->h_source, if_incoming); in bat_iv_ogm_orig_update()
684 if (((batman_ogm_packet->orig != ethhdr->h_source) && in bat_iv_ogm_orig_update()
857 if (compare_eth(tmp_neigh_node->addr, ethhdr->h_source) && in bat_iv_ogm_update_seqnos()
924 is_single_hop_neigh = (compare_eth(ethhdr->h_source, in bat_iv_ogm_process()
929 ethhdr->h_source, if_incoming->net_dev->name, in bat_iv_ogm_process()
945 if (compare_eth(ethhdr->h_source, in bat_iv_ogm_process()
[all …]
Drouting.c263 if (is_broadcast_ether_addr(ethhdr->h_source)) in recv_bat_ogm_packet()
418 if (is_broadcast_ether_addr(ethhdr->h_source)) in recv_icmp_packet()
595 if (is_broadcast_ether_addr(ethhdr->h_source)) in recv_tt_query()
666 if (is_broadcast_ether_addr(ethhdr->h_source)) in recv_roam_adv()
793 if (is_broadcast_ether_addr(ethhdr->h_source)) in check_unicast_packet()
818 ethhdr->h_source, unicast_packet->dest); in route_unicast_packet()
1028 if (is_broadcast_ether_addr(ethhdr->h_source)) in recv_bcast_packet()
1032 if (is_my_mac(ethhdr->h_source)) in recv_bcast_packet()
Dsend.c60 memcpy(ethhdr->h_source, hard_iface->net_dev->dev_addr, ETH_ALEN); in send_skb_packet()
Dunicast.c304 orig_node = transtable_search(bat_priv, ethhdr->h_source, in unicast_send_skb()
/linux-3.4.99/net/ipv6/netfilter/ !
Dip6t_eui64.c38 memcpy(eui64, eth_hdr(skb)->h_source, 3); in eui64_mt6()
39 memcpy(eui64 + 5, eth_hdr(skb)->h_source + 3, 3); in eui64_mt6()
/linux-3.4.99/net/ethernet/ !
Deth.c95 memcpy(eth->h_source, saddr, ETH_ALEN); in eth_header()
140 memcpy(eth->h_source, dev->dev_addr, ETH_ALEN); in eth_rebuild_header()
224 memcpy(haddr, eth->h_source, ETH_ALEN); in eth_header_parse()
248 memcpy(eth->h_source, dev->dev_addr, ETH_ALEN); in eth_header_cache()
/linux-3.4.99/net/atm/ !
Dlec.h19 unsigned char h_source[ETH_ALEN]; member
28 unsigned char h_source[ETH_ALEN]; member
/linux-3.4.99/net/bridge/ !
Dbr_input.c62 br_fdb_update(br, p, eth_hdr(skb)->h_source); in br_handle_frame_finish()
126 br_fdb_update(p->br, p, eth_hdr(skb)->h_source); in br_handle_local_finish()
156 if (!is_valid_ether_addr(eth_hdr(skb)->h_source)) in br_handle_frame()
Dbr_stp_bpdu.c221 eth_hdr(skb)->h_source, in br_stp_rcv()
/linux-3.4.99/net/bluetooth/bnep/ !
Dcore.c72 if (!compare_ether_addr(dst, s->eh.h_source)) in __bnep_get_session()
374 memcpy(__skb_put(nskb, ETH_ALEN + 2), s->eh.h_source, in bnep_rx_frame()
425 if (compress_src && !compare_ether_addr(eh->h_dest, s->eh.h_source)) in bnep_tx_frame()
428 if (compress_dst && !compare_ether_addr(eh->h_source, s->eh.h_dest)) in bnep_tx_frame()
437 iv[il++] = (struct kvec) { eh->h_source, ETH_ALEN }; in bnep_tx_frame()
584 memcpy(s->eh.h_source, &dst, ETH_ALEN); in bnep_add_connection()
657 memcpy(ci->dst, s->eh.h_source, ETH_ALEN); in __bnep_copy_ci()
/linux-3.4.99/drivers/net/ethernet/freescale/ !
Dgianfar_ethtool.c990 if (!is_broadcast_ether_addr(mask->h_source)) { in gfar_set_ether()
992 if (is_zero_ether_addr(mask->h_source)) { in gfar_set_ether()
996 upper_temp_mask = mask->h_source[0] << 16 in gfar_set_ether()
997 | mask->h_source[1] << 8 in gfar_set_ether()
998 | mask->h_source[2]; in gfar_set_ether()
999 lower_temp_mask = mask->h_source[3] << 16 in gfar_set_ether()
1000 | mask->h_source[4] << 8 in gfar_set_ether()
1001 | mask->h_source[5]; in gfar_set_ether()
1005 value->h_source[0] << 16 | value->h_source[1] in gfar_set_ether()
1006 << 8 | value->h_source[2], in gfar_set_ether()
[all …]
/linux-3.4.99/net/netfilter/ !
Dxt_mac.c39 ret = compare_ether_addr(eth_hdr(skb)->h_source, info->srcaddr) == 0; in mac_mt()
Dxt_AUDIT.c141 eth_hdr(skb)->h_source, eth_hdr(skb)->h_dest, in audit_tg()
/linux-3.4.99/drivers/staging/rtl8712/ !
Dif_ether.h122 unsigned char h_source[ETH_ALEN]; /* source ether addr */ member
/linux-3.4.99/drivers/net/wireless/libertas/ !
Drx.c122 memcpy(p_ethhdr->h_source, p_rx_pkt->eth803_hdr.src_addr, in lbs_process_rxed_packet()
123 sizeof(p_ethhdr->h_source)); in lbs_process_rxed_packet()
/linux-3.4.99/include/linux/ !
Dif_ether.h129 unsigned char h_source[ETH_ALEN]; /* source ether addr */ member
Dif_vlan.h54 unsigned char h_source[ETH_ALEN]; member
/linux-3.4.99/net/bridge/netfilter/ !
Debt_snat.c27 memcpy(eth_hdr(skb)->h_source, info->mac, ETH_ALEN); in ebt_snat_tg()
Debt_among.c143 smac = eth_hdr(skb)->h_source; in ebt_among_mt()
Debt_log.c86 eth_hdr(skb)->h_source, eth_hdr(skb)->h_dest, in ebt_log_packet()
/linux-3.4.99/drivers/net/usb/ !
Dlg-vl600.c198 memcpy(ethhdr->h_source, in vl600_rx_fixup()
205 memset(ethhdr->h_source, 0, ETH_ALEN); in vl600_rx_fixup()
/linux-3.4.99/drivers/net/ethernet/mellanox/mlx4/ !
Den_selftest.c70 memset(ethh->h_source, 0, ETH_ALEN); in mlx4_en_test_loopback_xmit()
/linux-3.4.99/drivers/net/wimax/i2400m/ !
Dnetdev.c443 memcpy(eth_hdr->h_source, i2400m->src_mac_addr, in i2400m_rx_fake_eth_header()
444 sizeof(eth_hdr->h_source)); in i2400m_rx_fake_eth_header()
/linux-3.4.99/net/decnet/ !
Ddn_neigh.c394 memcpy(neigh->ha, &eth_hdr(skb)->h_source, ETH_ALEN); in dn_neigh_router_hello()
453 memcpy(neigh->ha, &eth_hdr(skb)->h_source, ETH_ALEN); in dn_neigh_endnode_hello()

123