/freebsd-11-stable/sys/dev/qlxgbe/ |
H A D | ql_hw.c | 269 CTLFLAG_RD, &ha->hw.mac.xmt_frames, 274 CTLFLAG_RD, &ha->hw.mac.xmt_bytes, 279 CTLFLAG_RD, &ha->hw.mac.xmt_mcast_pkts, 284 CTLFLAG_RD, &ha->hw.mac.xmt_bcast_pkts, 289 CTLFLAG_RD, &ha->hw.mac.xmt_pause_frames, 294 CTLFLAG_RD, &ha->hw.mac.xmt_cntrl_pkts, 299 CTLFLAG_RD, &ha->hw.mac.xmt_pkt_lt_64bytes, 304 CTLFLAG_RD, &ha->hw.mac.xmt_pkt_lt_127bytes, 309 CTLFLAG_RD, &ha->hw.mac.xmt_pkt_lt_255bytes, 314 CTLFLAG_RD, &ha->hw.mac [all...] |
/freebsd-11-stable/sys/mips/atheros/ |
H A D | ar71xx_chip.c | 278 ar71xx_chip_get_eth_pll(unsigned int mac, int speed) argument 293 printf("%s%d: invalid speed %d\n", __func__, mac, speed);
|
H A D | qca953x_chip.c | 234 qca953x_chip_get_eth_pll(unsigned int mac, int speed) argument 249 printf("%s%d: invalid speed %d\n", __func__, mac, speed);
|
H A D | qca955x_chip.c | 241 qca955x_chip_get_eth_pll(unsigned int mac, int speed) argument 256 printf("%s%d: invalid speed %d\n", __func__, mac, speed);
|
/freebsd-11-stable/sys/gnu/dev/bwn/phy_n/ |
H A D | if_bwn_radio_2055.h | 276 void b2055_upload_inittab(struct bwn_mac *mac, 282 bwn_nphy_get_chantabent_rev2(struct bwn_mac *mac,
|
/freebsd-11-stable/sys/net80211/ |
H A D | ieee80211_input.c | 438 const uint8_t mac[IEEE80211_ADDR_LEN], int subtype, int arg) 455 ni = ieee80211_tmp_node(vap, mac); 860 uint8_t mac[IEEE80211_ADDR_LEN], uint8_t *ssid) 863 ether_sprintf(mac), tag); 916 const uint8_t mac[IEEE80211_ADDR_LEN], 925 if_printf(vap->iv_ifp, "[%s] %s\n", ether_sprintf(mac), buf); 966 const uint8_t mac[IEEE80211_ADDR_LEN], 971 if_printf(vap->iv_ifp, "[%s] discard ", ether_sprintf(mac)); 437 ieee80211_send_error(struct ieee80211_node *ni, const uint8_t mac[IEEE80211_ADDR_LEN], int subtype, int arg) argument 859 ieee80211_ssid_mismatch(struct ieee80211vap *vap, const char *tag, uint8_t mac[IEEE80211_ADDR_LEN], uint8_t *ssid) argument 915 ieee80211_note_mac(const struct ieee80211vap *vap, const uint8_t mac[IEEE80211_ADDR_LEN], const char *fmt, ...) argument 965 ieee80211_discard_mac(const struct ieee80211vap *vap, const uint8_t mac[IEEE80211_ADDR_LEN], const char *type, const char *fmt, ...) argument
|
H A D | ieee80211_input.h | 57 uint8_t mac[IEEE80211_ADDR_LEN], uint8_t *ssid); 258 const uint8_t mac[IEEE80211_ADDR_LEN], int subtype, int arg);
|
H A D | ieee80211_ioctl.c | 1267 mlmedebug(struct ieee80211vap *vap, const uint8_t mac[IEEE80211_ADDR_LEN], argument 1290 IEEE80211_MSG_STATE | IEEE80211_MSG_AUTH, mac, 1295 IEEE80211_NOTE_MAC(vap, IEEE80211_MSG_ANY, mac, 1299 IEEE80211_NOTE_MAC(vap, ops[op].mask, mac, 1302 IEEE80211_NOTE_MAC(vap, ops[op].mask, mac, 1337 const uint8_t mac[IEEE80211_ADDR_LEN], struct mlmeop *mlmeop) 1344 if (!IEEE80211_ADDR_EQ(mac, vap->iv_ifp->if_broadcastaddr)) { 1346 ni = ieee80211_find_node_locked(nt, mac); 1366 const uint8_t mac[IEEE80211_ADDR_LEN], int reason) 1388 error = setmlme_dropsta(vap, mac, 1336 setmlme_dropsta(struct ieee80211vap *vap, const uint8_t mac[IEEE80211_ADDR_LEN], struct mlmeop *mlmeop) argument 1365 setmlme_common(struct ieee80211vap *vap, int op, const uint8_t mac[IEEE80211_ADDR_LEN], int reason) argument 1500 const uint8_t *mac; member in struct:scanlookup 1526 setmlme_assoc_sta(struct ieee80211vap *vap, const uint8_t mac[IEEE80211_ADDR_LEN], int ssid_len, const uint8_t ssid[IEEE80211_NWID_LEN]) argument 1551 setmlme_assoc_adhoc(struct ieee80211vap *vap, const uint8_t mac[IEEE80211_ADDR_LEN], int ssid_len, const uint8_t ssid[IEEE80211_NWID_LEN]) argument 1617 uint8_t mac[IEEE80211_ADDR_LEN]; local [all...] |
/freebsd-11-stable/sys/dev/qlnx/qlnxe/ |
H A D | ecore_l2_api.h | 160 unsigned char mac[ETH_ALEN]; member in struct:ecore_filter_ucast 173 unsigned char mac[ECORE_MAX_MC_ADDRS][ETH_ALEN]; member in struct:ecore_filter_mcast
|
H A D | ecore_vfpf_if.h | 375 u8 mac[ETH_ALEN]; member in struct:vfpf_q_mac_vlan_filter 491 u8 mac[ETH_ALEN]; member in struct:vfpf_ucast_filter_tlv 604 /* Alert the VF that suggested mac was sent by the PF. 620 u8 mac[ETH_ALEN]; member in struct:ecore_bulletin_content
|
/freebsd-11-stable/sys/dev/mlx4/mlx4_ib/ |
H A D | mlx4_ib_ah.c | 89 rdma_get_mcast_mac(&in6, ah->av.eth.mac); 91 memcpy(ah->av.eth.mac, ah_attr->dmac, ETH_ALEN);
|
/freebsd-11-stable/contrib/wpa/src/eap_peer/ |
H A D | eap_eke.c | 34 u8 mac; /* forced MAC or 0 to allow all supported */ member in struct:eap_eke_data 121 pos = os_strstr(phase1, "mac="); 123 data->mac = atoi(pos + 4); 124 wpa_printf(MSG_DEBUG, "EAP-EKE: Forced mac %u", 125 data->mac); 188 static int eap_eke_supp_mac(u8 mac) argument 190 return mac == EAP_EKE_MAC_HMAC_SHA1 || 191 mac == EAP_EKE_MAC_HMAC_SHA2_256; 262 wpa_printf(MSG_DEBUG, "EAP-EKE: Proposal #%u: dh=%u encr=%u prf=%u mac=%u", 278 if ((data->mac [all...] |
H A D | eap_sim.c | 725 if (!attr->mac || !attr->rand) { 728 !attr->mac ? " AT_MAC" : "", 803 if (eap_sim_verify_mac(data->k_aut, reqData, attr->mac, data->nonce_mt, 891 if (attr->mac == NULL) { 897 if (eap_sim_verify_mac(data->k_aut, reqData, attr->mac, (u8 *) "", 0)) 968 if (eap_sim_verify_mac(data->k_aut, reqData, attr->mac, (u8 *) "", 0)) 986 if (attr->mac) 987 os_memcpy(data->reauth_mac, attr->mac, EAP_SIM_MAC_LEN); 991 os_memcpy(data->reauth_mac, attr->mac, EAP_SIM_MAC_LEN);
|
/freebsd-11-stable/contrib/wpa/src/crypto/ |
H A D | sha256-internal.c | 22 * @mac: Buffer for the hash 26 u8 *mac) 38 if (sha256_done(&ctx, mac)) 25 sha256_vector(size_t num_elem, const u8 *addr[], const size_t *len, u8 *mac) argument
|
/freebsd-11-stable/contrib/wpa/src/p2p/ |
H A D | p2p_build.c | 431 void p2p_buf_add_advertisement_id(struct wpabuf *buf, u32 id, const u8 *mac) argument 433 if (!buf || !mac) 440 wpabuf_put_data(buf, mac, ETH_ALEN); 442 id, MAC2STR(mac)); 665 void p2p_buf_add_session_id(struct wpabuf *buf, u32 id, const u8 *mac) argument 667 if (!buf || !mac) 674 wpabuf_put_data(buf, mac, ETH_ALEN); 676 id, MAC2STR(mac));
|
/freebsd-11-stable/sys/arm/cavium/cns11xx/ |
H A D | if_ece.c | 1033 uint8_t *mac) 1039 mac); 1044 uint8_t *mac) 1049 mac); 1054 * in the documentation. To be safe, all mac addresses are put to a 1065 char mac[ETHER_ADDR_LEN]; local 1070 table_end = read_mac_entry(ec, mac, 1); 1073 memcmp(mac, vlan0_mac, ETHER_ADDR_LEN) == 0) { 1075 table_end = read_mac_entry(ec, mac, 0); 1082 memcpy(temp->mac_addr, mac, ETHER_ADDR_LE 1032 remove_mac_entry(struct ece_softc *sc, uint8_t *mac) argument 1043 add_mac_entry(struct ece_softc *sc, uint8_t *mac) argument 1301 set_mac_address(struct ece_softc *sc, const char *mac, int mac_len) argument [all...] |
/freebsd-11-stable/sys/security/mac/ |
H A D | mac_framework.h | 71 struct mac; 272 int mac_execve_enter(struct image_params *imgp, struct mac *mac_p); 298 struct mac *extmac); 300 struct mac *extmac); 302 struct mac *extmac);
|
H A D | mac_internal.h | 73 SDT_PROVIDER_DECLARE(mac); /* MAC Framework-level events. */ variable 212 int mac_check_structmac_consistent(struct mac *mac);
|
/freebsd-11-stable/sys/netinet6/ |
H A D | nd6_nbr.c | 411 caddr_t mac; local 532 if (nonce == NULL && (mac = nd6_ifptomac(ifp))) { 544 bcopy(mac, (caddr_t)(nd_opt + 1), ifp->if_addrlen); 943 caddr_t mac = NULL; local 1028 mac = (*carp_macmatch6_p)(ifp, m, taddr6); 1029 if (mac == NULL) 1030 mac = nd6_ifptomac(ifp); 1035 mac = LLADDR(sdl); 1038 if (tlladdr && mac) { 1051 bcopy(mac, (caddr_ [all...] |
/freebsd-11-stable/tools/tools/net80211/wesside/wesside/ |
H A D | wesside.c | 339 void set_if_mac(unsigned char* mac, unsigned char *name) { argument 354 memcpy(ifr.ifr_addr.sa_data, mac, 6); 475 char* mac2str(unsigned char* mac) { argument 479 mac[0], mac[1], mac[2], mac[3], mac[4], mac[5]); 1050 time_print("Auth rejected... trying to spoof mac 1563 unsigned char mac[6]; local 2709 str2mac(unsigned char* dst, unsigned char* mac) argument [all...] |
/freebsd-11-stable/contrib/wpa/src/eap_server/ |
H A D | eap_server_aka.c | 880 if (attr->mac || attr->iv || attr->encr_data) { 921 const u8 *mac, const u8 *extra, 925 return eap_sim_verify_mac_sha256(data->k_aut, req, mac, extra, 927 return eap_sim_verify_mac(data->k_aut, req, mac, extra, extra_len); 943 attr->kdf_count == 1 && attr->mac == NULL) { 972 if (attr->mac == NULL || 973 eap_aka_verify_mac(data, respData, attr->mac, NULL, 0)) { 1078 if (attr->mac == NULL || 1079 eap_aka_verify_mac(data, respData, attr->mac, data->nonce_s, 919 eap_aka_verify_mac(struct eap_aka_data *data, const struct wpabuf *req, const u8 *mac, const u8 *extra, size_t extra_len) argument
|
/freebsd-11-stable/sys/arm/xscale/ixp425/ |
H A D | if_npe.c | 242 static int npe_setportaddress(struct npe_softc *, const uint8_t mac[]); 430 const uint8_t *mac; local 439 mac = LLADDR((struct sockaddr_dl *) ifma->ifma_addr); 441 clr[i] |= mac[i]; 442 set[i] &= mac[i]; 682 if (!override_addr(dev, "mac", &macbase)) 687 device_printf(dev, "cannot map mac registers 0x%x:0x%x\n", 1563 npe_setportaddress(struct npe_softc *sc, const uint8_t mac[ETHER_ADDR_LEN]) argument 1569 | (mac[0] << 8) 1570 | (mac[ [all...] |
/freebsd-11-stable/sys/dev/mwl/ |
H A D | mwlhal.h | 97 const uint8_t mac[6]); 450 * Plumb a unicast/group key. The mac address identifies 454 const uint8_t mac[6]); 457 * Plumb a unicast/group key. The mac address identifies 461 const uint8_t mac[6]);
|
/freebsd-11-stable/sys/arm/ti/cpsw/ |
H A D | if_cpsw.c | 2328 uint8_t *mac) 2341 if ((((ale_entry[1] >> 8) & 0xFF) == mac[0]) && 2342 (((ale_entry[1] >> 0) & 0xFF) == mac[1]) && 2343 (((ale_entry[0] >>24) & 0xFF) == mac[2]) && 2344 (((ale_entry[0] >>16) & 0xFF) == mac[3]) && 2345 (((ale_entry[0] >> 8) & 0xFF) == mac[4]) && 2346 (((ale_entry[0] >> 0) & 0xFF) == mac[5])) { 2364 ale_entry[0] = mac[2] << 24 | mac[3] << 16 | mac[ 2327 cpsw_ale_mc_entry_set(struct cpsw_softc *sc, uint8_t portmap, int vlan, uint8_t *mac) argument 2422 uint8_t *mac; local [all...] |
/freebsd-11-stable/contrib/groff/src/roff/troff/ |
H A D | div.h | 74 macro *mac; member in class:macro_diversion
|