Searched defs:mac (Results 1 - 10 of 10) sorted by relevance

/net/bridge/netfilter/
H A Debt_among.c19 const char *mac, __be32 ip)
29 int key = ((const unsigned char *)mac)[5];
31 ether_addr_copy(((char *) cmp) + 2, mac);
18 ebt_mac_wormhash_contains(const struct ebt_mac_wormhash *wh, const char *mac, __be32 ip) argument
/net/mac80211/
H A Daes_cmac.c40 const u8 *addr[], const size_t *len, u8 *mac)
91 memcpy(mac, pad, CMAC_TLEN);
39 aes_128_cmac_vector(struct crypto_cipher *tfm, size_t num_elem, const u8 *addr[], const size_t *len, u8 *mac) argument
H A Ddebugfs_sta.c542 u8 mac[3*ETH_ALEN]; local
549 snprintf(mac, sizeof(mac), "%pM", sta->sta.addr);
560 sta->debugfs.dir = debugfs_create_dir(mac, stations_dir);
H A Dcfg.c473 int idx, u8 *mac, struct station_info *sinfo)
485 memcpy(mac, sta->sta.addr, ETH_ALEN);
503 const u8 *mac, struct station_info *sinfo)
512 sta = sta_info_get_bss(sdata, mac);
1158 const u8 *mac,
1176 if (ether_addr_equal(mac, sdata->vif.addr))
1179 if (is_multicast_ether_addr(mac))
1182 sta = sta_info_alloc(sdata, mac, GFP_KERNEL);
1228 const u8 *mac)
1234 if (mac)
472 ieee80211_dump_station(struct wiphy *wiphy, struct net_device *dev, int idx, u8 *mac, struct station_info *sinfo) argument
502 ieee80211_get_station(struct wiphy *wiphy, struct net_device *dev, const u8 *mac, struct station_info *sinfo) argument
1157 ieee80211_add_station(struct wiphy *wiphy, struct net_device *dev, const u8 *mac, struct station_parameters *params) argument
1227 ieee80211_del_station(struct wiphy *wiphy, struct net_device *dev, const u8 *mac) argument
1241 ieee80211_change_station(struct wiphy *wiphy, struct net_device *dev, const u8 *mac, struct station_parameters *params) argument
[all...]
H A Dutil.c620 void (*iterator)(void *data, u8 *mac,
656 void (*iterator)(void *data, u8 *mac,
670 void (*iterator)(void *data, u8 *mac,
684 void (*iterator)(void *data, u8 *mac,
618 __iterate_active_interfaces(struct ieee80211_local *local, u32 iter_flags, void (*iterator)(void *data, u8 *mac, struct ieee80211_vif *vif), void *data) argument
654 ieee80211_iterate_active_interfaces( struct ieee80211_hw *hw, u32 iter_flags, void (*iterator)(void *data, u8 *mac, struct ieee80211_vif *vif), void *data) argument
668 ieee80211_iterate_active_interfaces_atomic( struct ieee80211_hw *hw, u32 iter_flags, void (*iterator)(void *data, u8 *mac, struct ieee80211_vif *vif), void *data) argument
682 ieee80211_iterate_active_interfaces_rtnl( struct ieee80211_hw *hw, u32 iter_flags, void (*iterator)(void *data, u8 *mac, struct ieee80211_vif *vif), void *data) argument
/net/mac802154/
H A Dmib.c117 struct mac802154_priv *mac = priv->hw; local
121 if (mac->ops->set_hw_addr_filt &&
122 mac->hw.hw_filt.ieee_addr != priv->extended_addr) {
123 mac->hw.hw_filt.ieee_addr = priv->extended_addr;
/net/bridge/
H A Dbr_fdb.c74 static inline int br_mac_hash(const unsigned char *mac, __u16 vid) argument
77 u32 key = get_unaligned((u32 *)(mac + 2));
88 /* When a static FDB entry is added, the mac address from the entry is
/net/ax25/
H A Daf_ax25.c1642 const unsigned char *mac = skb_mac_header(skb); local
1646 ax25_addr_parse(mac + 1, skb->data - mac - 1, &src, NULL,
/net/batman-adv/
H A Dbridge_loop_avoidance.c255 * @orig: the mac address to be announced within the claim
259 static void batadv_bla_send_claim(struct batadv_priv *bat_priv, uint8_t *mac, argument
288 /* Ethernet SRC/HW SRC: originator mac */
306 * set Ethernet SRC to the clients mac
308 ether_addr_copy(ethhdr->h_source, mac);
310 "bla_send_claim(): CLAIM %pM on vid %d\n", mac,
315 * set HW SRC to the clients mac
317 ether_addr_copy(hw_src, mac);
319 "bla_send_claim(): UNCLAIM %pM on vid %d\n", mac,
324 * set HW SRC to the special mac contain
540 uint8_t mac[ETH_ALEN]; local
558 batadv_bla_add_claim(struct batadv_priv *bat_priv, const uint8_t *mac, const unsigned short vid, struct batadv_bla_backbone_gw *backbone_gw) argument
622 batadv_bla_del_claim(struct batadv_priv *bat_priv, const uint8_t *mac, const unsigned short vid) argument
[all...]
/net/wireless/
H A Drdev-ops.h170 struct net_device *dev, u8 *mac,
174 trace_rdev_add_station(&rdev->wiphy, dev, mac, params);
175 ret = rdev->ops->add_station(&rdev->wiphy, dev, mac, params);
181 struct net_device *dev, u8 *mac)
184 trace_rdev_del_station(&rdev->wiphy, dev, mac);
185 ret = rdev->ops->del_station(&rdev->wiphy, dev, mac);
191 struct net_device *dev, u8 *mac,
195 trace_rdev_change_station(&rdev->wiphy, dev, mac, params);
196 ret = rdev->ops->change_station(&rdev->wiphy, dev, mac, params);
202 struct net_device *dev, const u8 *mac,
169 rdev_add_station(struct cfg80211_registered_device *rdev, struct net_device *dev, u8 *mac, struct station_parameters *params) argument
180 rdev_del_station(struct cfg80211_registered_device *rdev, struct net_device *dev, u8 *mac) argument
190 rdev_change_station(struct cfg80211_registered_device *rdev, struct net_device *dev, u8 *mac, struct station_parameters *params) argument
201 rdev_get_station(struct cfg80211_registered_device *rdev, struct net_device *dev, const u8 *mac, struct station_info *sinfo) argument
212 rdev_dump_station(struct cfg80211_registered_device *rdev, struct net_device *dev, int idx, u8 *mac, struct station_info *sinfo) argument
[all...]

Completed in 179 milliseconds