/net/atm/ |
D | lec.c | 68 const unsigned char *mac_addr); 89 static void lec_arp_update(struct lec_priv *priv, const unsigned char *mac_addr, 359 dev->dev_addr[i] = mesg->content.normal.mac_addr[i]; in lec_atm_send() 377 entry = lec_arp_find(priv, mesg->content.normal.mac_addr); in lec_atm_send() 385 lec_arp_update(priv, mesg->content.normal.mac_addr, in lec_atm_send() 393 lane2_associate_ind(dev, mesg->content.normal.mac_addr, in lec_atm_send() 435 dev->name, mesg->content.proxy.mac_addr); in lec_atm_send() 440 if (br_fdb_test_addr_hook(dev, mesg->content.proxy.mac_addr)) { in lec_atm_send() 510 const unsigned char *mac_addr, const unsigned char *atm_addr, in send_to_lecd() argument 528 if (mac_addr) in send_to_lecd() [all …]
|
D | lec_arpc.h | 17 unsigned char mac_addr[ETH_ALEN]; /* Mac address */ member
|
D | lec.h | 50 void (*associate_indicator) (struct net_device *dev, const u8 *mac_addr,
|
D | mpc.c | 375 static void lane2_assoc_ind(struct net_device *dev, const u8 *mac_addr, in lane2_assoc_ind() argument 449 tlvs = copy_macs(mpc, mac_addr, tlvs, in lane2_assoc_ind()
|
/net/batman-adv/ |
D | distributed-arp-table.c | 363 u8 *mac_addr, unsigned short vid) in batadv_dat_entry_add() argument 371 if (!batadv_compare_eth(dat_entry->mac_addr, mac_addr)) in batadv_dat_entry_add() 372 ether_addr_copy(dat_entry->mac_addr, mac_addr); in batadv_dat_entry_add() 376 &dat_entry->ip, dat_entry->mac_addr, in batadv_dat_entry_add() 387 ether_addr_copy(dat_entry->mac_addr, mac_addr); in batadv_dat_entry_add() 403 &dat_entry->ip, dat_entry->mac_addr, batadv_print_vid(vid)); in batadv_dat_entry_add() 883 &dat_entry->ip, dat_entry->mac_addr, in batadv_dat_cache_seq_print_text() 928 dat_entry->mac_addr) || in batadv_dat_cache_dump_entry() 1234 if (batadv_is_my_client(bat_priv, dat_entry->mac_addr, vid)) { in batadv_dat_snoop_outgoing_arp_request() 1245 dat_entry->mac_addr, vid)) { in batadv_dat_snoop_outgoing_arp_request() [all …]
|
D | types.h | 2341 u8 mac_addr[ETH_ALEN]; member
|
/net/wireless/ |
D | trace.h | 423 bool pairwise, const u8 *mac_addr), 424 TP_ARGS(wiphy, netdev, key_index, pairwise, mac_addr), 428 MAC_ENTRY(mac_addr) 435 MAC_ASSIGN(mac_addr, mac_addr); 441 BOOL_TO_STR(__entry->pairwise), MAC_PR_ARG(mac_addr)) 446 bool pairwise, const u8 *mac_addr), 447 TP_ARGS(wiphy, netdev, key_index, pairwise, mac_addr) 452 bool pairwise, const u8 *mac_addr), 453 TP_ARGS(wiphy, netdev, key_index, pairwise, mac_addr) 458 bool pairwise, const u8 *mac_addr, u8 mode), [all …]
|
D | rdev-ops.h | 76 bool pairwise, const u8 *mac_addr, in rdev_add_key() argument 81 mac_addr, params->mode); in rdev_add_key() 83 mac_addr, params); in rdev_add_key() 90 u8 key_index, bool pairwise, const u8 *mac_addr, void *cookie, in rdev_get_key() argument 94 trace_rdev_get_key(&rdev->wiphy, netdev, key_index, pairwise, mac_addr); in rdev_get_key() 96 mac_addr, cookie, callback); in rdev_get_key() 103 bool pairwise, const u8 *mac_addr) in rdev_del_key() argument 106 trace_rdev_del_key(&rdev->wiphy, netdev, key_index, pairwise, mac_addr); in rdev_del_key() 108 mac_addr); in rdev_del_key()
|
D | nl80211.c | 3893 const u8 *mac_addr = NULL; in nl80211_get_key() local 3911 mac_addr = nla_data(info->attrs[NL80211_ATTR_MAC]); in nl80211_get_key() 3913 pairwise = !!mac_addr; in nl80211_get_key() 3926 if (!pairwise && mac_addr && !(rdev->wiphy.flags & WIPHY_FLAG_IBSS_RSN)) in nl80211_get_key() 3944 if (mac_addr && in nl80211_get_key() 3945 nla_put(msg, NL80211_ATTR_MAC, ETH_ALEN, mac_addr)) in nl80211_get_key() 3948 err = rdev_get_key(rdev, dev, key_idx, pairwise, mac_addr, &cookie, in nl80211_get_key() 4052 u8 *mac_addr = NULL; in nl80211_set_key() local 4055 mac_addr = nla_data(info->attrs[NL80211_ATTR_MAC]); in nl80211_set_key() 4057 if (!mac_addr || key.idx < 0 || key.idx > 1) { in nl80211_set_key() [all …]
|
D | util.c | 282 bool pairwise, const u8 *mac_addr) in cfg80211_validate_key_settings() argument 287 if (!pairwise && mac_addr && !(rdev->wiphy.flags & WIPHY_FLAG_IBSS_RSN)) in cfg80211_validate_key_settings() 290 if (pairwise && !mac_addr) in cfg80211_validate_key_settings() 1967 int cfg80211_get_station(struct net_device *dev, const u8 *mac_addr, in cfg80211_get_station() argument 1983 return rdev_get_station(rdev, dev, mac_addr, sinfo); in cfg80211_get_station()
|
D | nl80211.h | 35 u8 *mac_addr, u8 *mac_addr_mask);
|
D | pmsr.c | 256 err = nl80211_parse_random_mac(info->attrs, req->mac_addr, in nl80211_pmsr_start() 261 memcpy(req->mac_addr, wdev_address(wdev), ETH_ALEN); in nl80211_pmsr_start()
|
D | core.h | 440 bool pairwise, const u8 *mac_addr);
|
/net/ethernet/ |
D | eth.c | 551 int eth_platform_get_mac_address(struct device *dev, u8 *mac_addr) in eth_platform_get_mac_address() argument 563 ether_addr_copy(mac_addr, addr); in eth_platform_get_mac_address()
|
/net/bridge/ |
D | br_private.h | 52 typedef struct mac_addr mac_addr; typedef 60 struct mac_addr { struct 176 mac_addr addr;
|
D | br_fdb.c | 466 memcpy(fe->mac_addr, f->key.addr.addr, ETH_ALEN); in br_fdb_fillbuf()
|
/net/mac80211/ |
D | cfg.c | 356 const u8 *mac_addr, u8 key_idx) in ieee80211_set_tx() argument 367 sta = sta_info_get_bss(sdata, mac_addr); in ieee80211_set_tx() 386 u8 key_idx, bool pairwise, const u8 *mac_addr, in ieee80211_add_key() argument 400 return ieee80211_set_tx(sdata, mac_addr, key_idx); in ieee80211_add_key() 437 if (mac_addr) { in ieee80211_add_key() 438 sta = sta_info_get_bss(sdata, mac_addr); in ieee80211_add_key() 502 u8 key_idx, bool pairwise, const u8 *mac_addr) in ieee80211_del_key() argument 513 if (mac_addr) { in ieee80211_del_key() 516 sta = sta_info_get_bss(sdata, mac_addr); in ieee80211_del_key() 543 u8 key_idx, bool pairwise, const u8 *mac_addr, in ieee80211_get_key() argument [all …]
|
D | trace.h | 661 const u8 *mac_addr), 663 TP_ARGS(local, sdata, mac_addr), 668 __array(char, mac_addr, ETH_ALEN) 674 memcpy(__entry->mac_addr, mac_addr, ETH_ALEN); 678 LOCAL_PR_ARG, VIF_PR_ARG, __entry->mac_addr)
|
D | scan.c | 380 ether_addr_copy(local->hw_scan_req->req.mac_addr, req->mac_addr); in ieee80211_prep_hw_scan() 740 req->mac_addr, in __ieee80211_start_scan()
|
D | driver-ops.h | 349 const u8 *mac_addr) in drv_sw_scan_start() argument 353 trace_drv_sw_scan_start(local, sdata, mac_addr); in drv_sw_scan_start() 355 local->ops->sw_scan_start(&local->hw, &sdata->vif, mac_addr); in drv_sw_scan_start()
|