/net/ieee802154/ |
H A D | Makefile | 4 ieee802154-y := netlink.o nl-mac.o nl-phy.o nl_policy.o wpan-class.o
|
/net/llc/ |
H A D | llc_s_ac.c | 60 rc = llc_mac_hdr_init(skb, ev->saddr.mac, ev->daddr.mac); 83 rc = llc_mac_hdr_init(skb, ev->saddr.mac, ev->daddr.mac); 137 rc = llc_mac_hdr_init(skb, ev->saddr.mac, ev->daddr.mac);
|
H A D | llc_if.c | 69 * @lmac: local mac address 70 * @dmac: destination mac address 89 memcpy(daddr.mac, dmac, sizeof(daddr.mac)); 90 memcpy(laddr.mac, lmac, sizeof(laddr.mac));
|
H A D | llc_sap.c | 231 * @dmac: destination mac address 244 memcpy(ev->saddr.mac, skb->dev->dev_addr, IFHWADDRLEN); 245 memcpy(ev->daddr.mac, dmac, IFHWADDRLEN); 257 * @dmac: destination mac address 270 memcpy(ev->saddr.mac, skb->dev->dev_addr, IFHWADDRLEN); 271 memcpy(ev->daddr.mac, dmac, IFHWADDRLEN); 305 llc_mac_match(llc->laddr.mac, laddr->mac); 309 * llc_lookup_dgram - Finds dgram socket for the local sap/mac 314 * mac, an [all...] |
H A D | llc_c_ac.c | 210 rc = llc_mac_hdr_init(nskb, llc->dev->dev_addr, llc->daddr.mac); 237 rc = llc_mac_hdr_init(nskb, llc->dev->dev_addr, llc->daddr.mac); 261 rc = llc_mac_hdr_init(nskb, llc->dev->dev_addr, llc->daddr.mac); 295 rc = llc_mac_hdr_init(nskb, llc->dev->dev_addr, llc->daddr.mac); 322 rc = llc_mac_hdr_init(nskb, llc->dev->dev_addr, llc->daddr.mac); 352 rc = llc_mac_hdr_init(nskb, llc->dev->dev_addr, llc->daddr.mac); 373 rc = llc_mac_hdr_init(skb, llc->dev->dev_addr, llc->daddr.mac); 390 rc = llc_mac_hdr_init(skb, llc->dev->dev_addr, llc->daddr.mac); 407 rc = llc_mac_hdr_init(skb, llc->dev->dev_addr, llc->daddr.mac); 439 rc = llc_mac_hdr_init(nskb, llc->dev->dev_addr, llc->daddr.mac); [all...] |
H A D | llc_conn.c | 481 llc_mac_match(llc->laddr.mac, laddr->mac) && 482 llc_mac_match(llc->daddr.mac, daddr->mac); 486 * __llc_lookup_established - Finds connection for the remote/local sap/mac 492 * mac, remote sap, local mac, and local sap. Returns pointer for 553 llc_mac_match(llc->laddr.mac, laddr->mac); 598 * local mac, an [all...] |
H A D | af_llc.c | 9 * An llc2 connection is (mac + sap), only one llc2 sap connection 10 * is allowed per mac. Though one sap may have multiple mac + sap 279 memcpy(llc->laddr.mac, llc->dev->dev_addr, IFHWADDRLEN); 296 * a specific sap only or mac + sap. 297 * If the user desires to bind to a specific mac + sap, it is possible to 364 memcpy(laddr.mac, addr->sllc_mac, IFHWADDRLEN); 366 rc = -EADDRINUSE; /* mac + sap clash. */ 374 memcpy(llc->laddr.mac, addr->sllc_mac, IFHWADDRLEN); 419 * llc_ui_connect - Connect to a remote llc2 mac [all...] |
H A D | llc_proc.c | 149 llc_ui_format_mac(seq, llc->daddr.mac);
|
/net/bridge/netfilter/ |
H A D | ebt_snat.c | 27 memcpy(eth_hdr(skb)->h_source, info->mac, ETH_ALEN); 38 if (skb_store_bits(skb, sizeof(_ah), info->mac,ETH_ALEN))
|
H A D | ebt_dnat.c | 25 memcpy(eth_hdr(skb)->h_dest, info->mac, ETH_ALEN);
|
H A D | ebt_arpreply.c | 55 *diptr, shp, info->mac, shp);
|
H A D | ebt_among.c | 19 const char *mac, __be32 ip) 29 int key = ((const unsigned char *)mac)[5]; 31 memcpy(((char *) cmp) + 2, mac, 6); 18 ebt_mac_wormhash_contains(const struct ebt_mac_wormhash *wh, const char *mac, __be32 ip) argument
|
/net/mac802154/ |
H A D | mib.c | 120 struct mac802154_priv *mac = priv->hw; local 122 if (mac->ops->set_hw_addr_filt && 123 memcmp(mac->hw.hw_filt.ieee_addr, 125 memcpy(mac->hw.hw_filt.ieee_addr,
|
/net/batman-adv/ |
H A D | bridge_loop_avoidance.c | 255 * @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 memcpy(ethhdr->h_source, mac, ETH_ALEN); 310 "bla_send_claim(): CLAIM %pM on vid %d\n", mac, vid); 314 * set HW SRC to the clients mac 316 memcpy(hw_src, mac, ETH_ALEN); 318 "bla_send_claim(): UNCLAIM %pM on vid %d\n", mac, 323 * set HW SRC to the special mac contain 531 uint8_t mac[ETH_ALEN]; local 549 batadv_bla_add_claim(struct batadv_priv *bat_priv, const uint8_t *mac, const short vid, struct batadv_bla_backbone_gw *backbone_gw) argument 613 batadv_bla_del_claim(struct batadv_priv *bat_priv, const uint8_t *mac, const short vid) argument [all...] |
H A D | vis.c | 301 struct list_head *recv_list, const char *mac) 309 memcpy(entry->mac, mac, ETH_ALEN); 315 /* returns 1 if this mac is in the recv_list */ 318 const char *mac) 324 if (batadv_compare_eth(entry->mac, mac)) { 300 batadv_recv_list_add(struct batadv_priv *bat_priv, struct list_head *recv_list, const char *mac) argument 316 batadv_recv_list_is_in(struct batadv_priv *bat_priv, const struct list_head *recv_list, const char *mac) argument
|
H A D | types.h | 205 * @addr: mac address of neigh node 241 * @orig[ETH_ALEN]: mac address of orig node orginating the broadcast 626 * @orig: originator address of backbone node (mac address of primary iface) 656 * @addr: mac address of claimed non-mesh client 677 * @addr: mac address of non-mesh client 746 * @addr: mac address address of the originator this request was sent to 758 * @addr: mac address of the client in the roaming phase 774 * @addr: the node's mac address 903 * @dst: destination MAC of the link, client mac address for local TT entry 915 * @mac 919 uint8_t mac[ETH_ALEN]; member in struct:batadv_vis_recvlist_node [all...] |
/net/mac80211/ |
H A D | aes_cmac.c | 40 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 D | debugfs_sta.c | 408 u8 mac[3*ETH_ALEN]; local 415 snprintf(mac, sizeof(mac), "%pM", sta->sta.addr); 426 sta->debugfs.dir = debugfs_create_dir(mac, stations_dir);
|
H A D | cfg.c | 737 int idx, u8 *mac, struct station_info *sinfo) 749 memcpy(mac, sta->sta.addr, ETH_ALEN); 767 u8 *mac, struct station_info *sinfo) 776 sta = sta_info_get_bss(sdata, mac); 1354 u8 *mac, struct station_parameters *params) 1371 if (ether_addr_equal(mac, sdata->vif.addr)) 1374 if (is_multicast_ether_addr(mac)) 1377 sta = sta_info_alloc(sdata, mac, GFP_KERNEL); 1421 u8 *mac) 1427 if (mac) 736 ieee80211_dump_station(struct wiphy *wiphy, struct net_device *dev, int idx, u8 *mac, struct station_info *sinfo) argument 766 ieee80211_get_station(struct wiphy *wiphy, struct net_device *dev, u8 *mac, struct station_info *sinfo) argument 1353 ieee80211_add_station(struct wiphy *wiphy, struct net_device *dev, u8 *mac, struct station_parameters *params) argument 1420 ieee80211_del_station(struct wiphy *wiphy, struct net_device *dev, u8 *mac) argument 1434 ieee80211_change_station(struct wiphy *wiphy, struct net_device *dev, u8 *mac, struct station_parameters *params) argument [all...] |
/net/wireless/ |
H A D | trace.h | 391 TP_printk(WIPHY_PR_FMT ", " NETDEV_PR_FMT ", key_index: %u, pairwise: %s, mac addr: " MAC_PR_FMT, 597 TP_PROTO(struct wiphy *wiphy, struct net_device *netdev, u8 *mac, 599 TP_ARGS(wiphy, netdev, mac, params), 617 MAC_ASSIGN(sta_mac, mac); 631 TP_printk(WIPHY_PR_FMT ", " NETDEV_PR_FMT ", station mac: " MAC_PR_FMT 643 TP_PROTO(struct wiphy *wiphy, struct net_device *netdev, u8 *mac, 645 TP_ARGS(wiphy, netdev, mac, params) 649 TP_PROTO(struct wiphy *wiphy, struct net_device *netdev, u8 *mac, 651 TP_ARGS(wiphy, netdev, mac, params) 655 TP_PROTO(struct wiphy *wiphy, struct net_device *netdev, const u8 *mac), [all...] |
H A D | rdev-ops.h | 170 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, 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, 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...] |
/net/tipc/ |
H A D | eth_media.c | 81 struct tipc_media_addr *a, char *mac) 83 memcpy(a->value, mac, ETH_ALEN); 86 a->broadcast = !memcmp(mac, tb_ptr->bcast_addr.value, ETH_ALEN); 80 eth_media_addr_set(const struct tipc_bearer *tb_ptr, struct tipc_media_addr *a, char *mac) argument
|
H A D | ib_media.c | 74 struct tipc_media_addr *a, char *mac) 77 memcpy(a->value, mac, INFINIBAND_ALEN); 79 a->broadcast = !memcmp(mac, tb_ptr->bcast_addr.value, INFINIBAND_ALEN); 73 ib_media_addr_set(const struct tipc_bearer *tb_ptr, struct tipc_media_addr *a, char *mac) argument
|
/net/core/ |
H A D | utils.c | 342 int mac_pton(const char *s, u8 *mac) argument 358 mac[i] = (hex_to_bin(s[i * 3]) << 4) | hex_to_bin(s[i * 3 + 1]);
|
H A D | rtnetlink.c | 958 memset(ivi.mac, 0, sizeof(ivi.mac)); 966 memcpy(vf_mac.mac, ivi.mac, sizeof(ivi.mac)); 1210 ivm->mac);
|