Home
last modified time | relevance | path

Searched refs:mac (Results 1 – 18 of 18) sorted by relevance

/net/llc/
Dllc_s_ac.c60 rc = llc_mac_hdr_init(skb, ev->saddr.mac, ev->daddr.mac); in llc_sap_action_send_ui()
83 rc = llc_mac_hdr_init(skb, ev->saddr.mac, ev->daddr.mac); in llc_sap_action_send_xid_c()
137 rc = llc_mac_hdr_init(skb, ev->saddr.mac, ev->daddr.mac); in llc_sap_action_send_test_c()
Dllc_sap.c247 memcpy(ev->saddr.mac, skb->dev->dev_addr, IFHWADDRLEN); in llc_build_and_send_test_pkt()
248 memcpy(ev->daddr.mac, dmac, IFHWADDRLEN); in llc_build_and_send_test_pkt()
273 memcpy(ev->saddr.mac, skb->dev->dev_addr, IFHWADDRLEN); in llc_build_and_send_xid_pkt()
274 memcpy(ev->daddr.mac, dmac, IFHWADDRLEN); in llc_build_and_send_xid_pkt()
320 llc_mac_match(llc->laddr.mac, laddr->mac)) { in llc_lookup_dgram()
376 llc_pdu_decode_da(skb, laddr.mac); in llc_sap_handler()
379 if (llc_mac_multicast(laddr.mac)) { in llc_sap_handler()
Dllc_c_ac.c209 rc = llc_mac_hdr_init(nskb, llc->dev->dev_addr, llc->daddr.mac); in llc_conn_ac_send_disc_cmd_p_set_x()
236 rc = llc_mac_hdr_init(nskb, llc->dev->dev_addr, llc->daddr.mac); in llc_conn_ac_send_dm_rsp_f_set_p()
260 rc = llc_mac_hdr_init(nskb, llc->dev->dev_addr, llc->daddr.mac); in llc_conn_ac_send_dm_rsp_f_set_1()
294 rc = llc_mac_hdr_init(nskb, llc->dev->dev_addr, llc->daddr.mac); in llc_conn_ac_send_frmr_rsp_f_set_x()
321 rc = llc_mac_hdr_init(nskb, llc->dev->dev_addr, llc->daddr.mac); in llc_conn_ac_resend_frmr_rsp_f_set_0()
351 rc = llc_mac_hdr_init(nskb, llc->dev->dev_addr, llc->daddr.mac); in llc_conn_ac_resend_frmr_rsp_f_set_p()
372 rc = llc_mac_hdr_init(skb, llc->dev->dev_addr, llc->daddr.mac); in llc_conn_ac_send_i_cmd_p_set_1()
389 rc = llc_mac_hdr_init(skb, llc->dev->dev_addr, llc->daddr.mac); in llc_conn_ac_send_i_cmd_p_set_0()
406 rc = llc_mac_hdr_init(skb, llc->dev->dev_addr, llc->daddr.mac); in llc_conn_ac_send_i_xxx_x_set_0()
438 rc = llc_mac_hdr_init(nskb, llc->dev->dev_addr, llc->daddr.mac); in llc_conn_ac_resend_i_xxx_x_set_0_or_send_rr()
[all …]
Dllc_if.c88 memcpy(daddr.mac, dmac, sizeof(daddr.mac)); in llc_establish_connection()
89 memcpy(laddr.mac, lmac, sizeof(laddr.mac)); in llc_establish_connection()
Dllc_conn.c500 llc_mac_match(llc->laddr.mac, laddr->mac) && in __llc_lookup_established()
501 llc_mac_match(llc->daddr.mac, daddr->mac)) { in __llc_lookup_established()
546 (llc_mac_match(llc->laddr.mac, laddr->mac) || in llc_lookup_listener()
547 llc_mac_null(llc->laddr.mac))) { in llc_lookup_listener()
725 llc_pdu_decode_sa(skb, saddr.mac); in llc_conn_handler()
727 llc_pdu_decode_da(skb, daddr.mac); in llc_conn_handler()
Daf_llc.c266 memcpy(llc->laddr.mac, llc->dev->dev_addr, IFHWADDRLEN); in llc_ui_autobind()
333 memcpy(laddr.mac, addr->sllc_mac, IFHWADDRLEN); in llc_ui_bind()
343 memcpy(llc->laddr.mac, addr->sllc_mac, IFHWADDRLEN); in llc_ui_bind()
428 memcpy(llc->daddr.mac, addr->sllc_mac, IFHWADDRLEN); in llc_ui_connect()
929 memcpy(&sllc.sllc_mac, &llc->daddr.mac, IFHWADDRLEN); in llc_ui_getname()
Dllc_proc.c135 llc_ui_format_mac(seq, llc->daddr.mac); in llc_seq_socket_show()
/net/mac80211/
Dcfg.c357 int idx, u8 *mac, struct station_info *sinfo) in ieee80211_dump_station() argument
368 memcpy(mac, sta->sta.addr, ETH_ALEN); in ieee80211_dump_station()
378 u8 *mac, struct station_info *sinfo) in ieee80211_get_station() argument
388 sta = sta_info_get(local, mac); in ieee80211_get_station()
683 u8 *mac, struct station_parameters *params) in ieee80211_add_station() argument
704 if (compare_ether_addr(mac, dev->dev_addr) == 0) in ieee80211_add_station()
707 if (is_multicast_ether_addr(mac)) in ieee80211_add_station()
710 sta = sta_info_alloc(sdata, mac, GFP_KERNEL); in ieee80211_add_station()
730 sta = sta_info_get(local, mac); in ieee80211_add_station()
747 u8 *mac) in ieee80211_del_station() argument
[all …]
Ddebugfs_sta.c178 u8 mac[3*ETH_ALEN]; in ieee80211_sta_debugfs_add() local
185 snprintf(mac, sizeof(mac), "%pM", sta->sta.addr); in ieee80211_sta_debugfs_add()
196 sta->debugfs.dir = debugfs_create_dir(mac, stations_dir); in ieee80211_sta_debugfs_add()
Dutil.c455 void (*iterator)(void *data, u8 *mac, in ieee80211_iterate_active_interfaces() argument
489 void (*iterator)(void *data, u8 *mac, in ieee80211_iterate_active_interfaces_atomic() argument
/net/bridge/netfilter/
Debt_snat.c27 memcpy(eth_hdr(skb)->h_source, info->mac, ETH_ALEN); in ebt_snat_tg()
38 if (skb_store_bits(skb, sizeof(_ah), info->mac,ETH_ALEN)) in ebt_snat_tg()
Debt_among.c18 const char *mac, __be32 ip) in ebt_mac_wormhash_contains() argument
28 int key = ((const unsigned char *)mac)[5]; in ebt_mac_wormhash_contains()
30 memcpy(((char *) cmp) + 2, mac, 6); in ebt_mac_wormhash_contains()
Debt_dnat.c25 memcpy(eth_hdr(skb)->h_dest, info->mac, ETH_ALEN); in ebt_dnat_tg()
Debt_arpreply.c55 *diptr, shp, info->mac, shp); in ebt_arpreply_tg()
/net/bridge/
Dbr_fdb.c67 static inline int br_mac_hash(const unsigned char *mac) in br_mac_hash() argument
70 u32 key = get_unaligned((u32 *)(mac + 2)); in br_mac_hash()
/net/ipv4/netfilter/
Dipt_ULOG.c232 memcpy(pm->mac, skb_mac_header(skb), in->hard_header_len); in ipt_ulog_packet()
/net/ax25/
Daf_ax25.c1650 const unsigned char *mac = skb_mac_header(skb); in ax25_recvmsg() local
1652 ax25_addr_parse(mac + 1, skb->data - mac - 1, &src, NULL, in ax25_recvmsg()
/net/netfilter/
DKconfig638 tristate '"mac" address match support'