/freebsd-10.0-release/lib/libc/posix1e/ |
H A D | mac_set.c | 36 #include <sys/mac.h> 38 extern int __mac_set_fd(int fd, struct mac *mac_p); 39 extern int __mac_set_file(const char *path_p, struct mac *mac_p); 40 extern int __mac_set_link(const char *path_p, struct mac *mac_p); 41 extern int __mac_set_proc(struct mac *mac_p); 44 mac_set_fd(int fd, struct mac *label) 51 mac_set_file(const char *path, struct mac *label) 58 mac_set_link(const char *path, struct mac *label) 65 mac_set_proc(struct mac *label)
|
H A D | mac_get.c | 36 #include <sys/mac.h> 39 extern int __mac_get_fd(int fd, struct mac *mac_p); 40 extern int __mac_get_file(const char *path_p, struct mac *mac_p); 41 extern int __mac_get_link(const char *path_p, struct mac *mac_p); 42 extern int __mac_get_pid(pid_t pid, struct mac *mac_p); 43 extern int __mac_get_proc(struct mac *mac_p); 46 mac_get_fd(int fd, struct mac *label) 53 mac_get_file(const char *path, struct mac *label) 60 mac_get_link(const char *path, struct mac *label) 67 mac_get_peer(int fd, struct mac *labe [all...] |
H A D | mac.c | 50 #include <sys/mac.h> 295 mac_free(struct mac *mac) argument 298 if (mac->m_string != NULL) 299 free(mac->m_string); 300 free(mac); 306 mac_from_text(struct mac **mac, const char *text) argument 309 *mac = (struct mac *) mallo 326 mac_to_text(struct mac *mac, char **text) argument 336 mac_prepare(struct mac **mac, const char *elements) argument 360 mac_prepare_type(struct mac **mac, const char *name) argument 380 mac_prepare_ifnet_label(struct mac **mac) argument 387 mac_prepare_file_label(struct mac **mac) argument 394 mac_prepare_packet_label(struct mac **mac) argument 401 mac_prepare_process_label(struct mac **mac) argument [all...] |
H A D | mac_exec.c | 36 #include <sys/mac.h> 39 struct mac *mac_p); 42 mac_execve(char *fname, char **argv, char **envv, struct mac *label)
|
/freebsd-10.0-release/sys/boot/arm/at91/boot2/ |
H A D | centipad_board.c | 36 unsigned char mac[6] = { 0x42, 0x53, 0x44, 0, 1, 1 }; variable 47 ReadEEPROM(12 * 1024 + 4, mac, 6); 49 printf("MAC %x:%x:%x:%x:%x:%x\n", mac[0], 50 mac[1], mac[2], mac[3], mac[4], mac[5]); 59 EMAC_SetMACAddress(mac);
|
H A D | kb920x_board.c | 36 unsigned char mac[6] = { 0x42, 0x53, 0x44, 0, 0, 1 }; variable 46 ReadEEPROM(12 * 1024 + 4, mac, 6); 47 printf("MAC %x:%x:%x:%x:%x:%x\n", mac[0], 48 mac[1], mac[2], mac[3], mac[4], mac[5]); 57 EMAC_SetMACAddress(mac);
|
/freebsd-10.0-release/sys/dev/bwi/ |
H A D | bwimac.h | 71 #define MOBJ_WRITE_2(mac, objid, ofs, val) \ 72 bwi_memobj_write_2((mac), (objid), (ofs), (val)) 73 #define MOBJ_WRITE_4(mac, objid, ofs, val) \ 74 bwi_memobj_write_4((mac), (objid), (ofs), (val)) 75 #define MOBJ_READ_2(mac, objid, ofs) \ 76 bwi_memobj_read_2((mac), (objid), (ofs)) 77 #define MOBJ_READ_4(mac, objid, ofs) \ 78 bwi_memobj_read_4((mac), (objid), (ofs)) 80 #define MOBJ_SETBITS_4(mac, objid, ofs, bits) \ 81 MOBJ_WRITE_4((mac), (obji [all...] |
H A D | bwiphy.c | 86 static void bwi_tbl_write_2(struct bwi_mac *mac, uint16_t, uint16_t); 87 static void bwi_tbl_write_4(struct bwi_mac *mac, uint16_t, uint32_t); 135 bwi_phy_write(struct bwi_mac *mac, uint16_t ctrl, uint16_t data) argument 137 struct bwi_softc *sc = mac->mac_sc; 144 bwi_phy_read(struct bwi_mac *mac, uint16_t ctrl) argument 146 struct bwi_softc *sc = mac->mac_sc; 153 bwi_phy_attach(struct bwi_mac *mac) argument 155 struct bwi_softc *sc = mac->mac_sc; 156 struct bwi_phy *phy = &mac->mac_phy; 225 bwi_phy_set_bbp_atten(struct bwi_mac *mac, uint16_ argument 244 bwi_phy_calibrate(struct bwi_mac *mac) argument 266 bwi_tbl_write_2(struct bwi_mac *mac, uint16_t ofs, uint16_t data) argument 278 bwi_tbl_write_4(struct bwi_mac *mac, uint16_t ofs, uint32_t data) argument 293 bwi_nrssi_write(struct bwi_mac *mac, uint16_t ofs, int16_t data) argument 300 bwi_nrssi_read(struct bwi_mac *mac, uint16_t ofs) argument 307 bwi_phy_init_11a(struct bwi_mac *mac) argument 313 bwi_phy_init_11g(struct bwi_mac *mac) argument 428 bwi_phy_init_11b_rev2(struct bwi_mac *mac) argument 436 bwi_phy_init_11b_rev4(struct bwi_mac *mac) argument 505 bwi_phy_init_11b_rev5(struct bwi_mac *mac) argument 607 bwi_phy_init_11b_rev6(struct bwi_mac *mac) argument 750 bwi_phy_config_11g(struct bwi_mac *mac) argument 885 bwi_phy_config_agc(struct bwi_mac *mac) argument 966 bwi_set_gains(struct bwi_mac *mac, const struct bwi_gains *gains) argument [all...] |
H A D | bwirf.c | 77 #define RF_LO_WRITE(mac, lo) bwi_rf_lo_write((mac), (lo)) 105 #define SAVE_RF_REG(mac, regs, n) (regs)->rf_##n = RF_READ((mac), 0x##n) 106 #define RESTORE_RF_REG(mac, regs, n) RF_WRITE((mac), 0x##n, (regs)->rf_##n) 108 #define SAVE_PHY_REG(mac, regs, n) (regs)->phy_##n = PHY_READ((mac), 0x##n) 109 #define RESTORE_PHY_REG(mac, regs, n) PHY_WRITE((mac), 158 bwi_nrssi_11g(struct bwi_mac *mac) argument 173 bwi_get_rf_lo(struct bwi_mac *mac, uint16_t rf_atten, uint16_t bbp_atten) argument 184 bwi_rf_lo_isused(struct bwi_mac *mac, const struct bwi_rf_lo *lo) argument 196 bwi_rf_write(struct bwi_mac *mac, uint16_t ctrl, uint16_t data) argument 205 bwi_rf_read(struct bwi_mac *mac, uint16_t ctrl) argument 224 bwi_rf_attach(struct bwi_mac *mac) argument 339 bwi_rf_set_chan(struct bwi_mac *mac, u_int chan, int work_around) argument 370 bwi_rf_get_gains(struct bwi_mac *mac) argument 525 bwi_rf_init(struct bwi_mac *mac) argument 540 bwi_rf_off_11a(struct bwi_mac *mac) argument 552 bwi_rf_off_11bg(struct bwi_mac *mac) argument 558 bwi_rf_off_11g_rev5(struct bwi_mac *mac) argument 565 bwi_rf_work_around(struct bwi_mac *mac, u_int chan) argument 587 bwi_rf_lo_find(struct bwi_mac *mac, const struct bwi_tpctl *tpctl) argument 629 bwi_rf_lo_adjust(struct bwi_mac *mac, const struct bwi_tpctl *tpctl) argument 638 bwi_rf_lo_write(struct bwi_mac *mac, const struct bwi_rf_lo *lo) argument 649 bwi_rf_gain_max_reached(struct bwi_mac *mac, int idx) argument 674 bwi_phy812_value(struct bwi_mac *mac, uint16_t lpd) argument 746 bwi_rf_init_bcm2050(struct bwi_mac *mac) argument 1008 bwi_rf_calibval(struct bwi_mac *mac) argument 1083 bwi_rf_map_txpower(struct bwi_mac *mac) argument 1259 bwi_rf_lo_update_11g(struct bwi_mac *mac) argument 1393 bwi_rf_lo_devi_measure(struct bwi_mac *mac, uint16_t ctrl) argument 1426 bwi_rf_get_tp_ctrl2(struct bwi_mac *mac) argument 1452 _bwi_rf_lo_update_11g(struct bwi_mac *mac, uint16_t orig_rf7a) argument 1549 bwi_rf_lo_measure_11g(struct bwi_mac *mac, const struct bwi_rf_lo *src_lo, struct bwi_rf_lo *dst_lo, uint8_t devi_ctrl) argument 1639 bwi_rf_calc_nrssi_slope_11b(struct bwi_mac *mac) argument 1752 bwi_rf_set_nrssi_ofs_11g(struct bwi_mac *mac) argument 1907 bwi_rf_calc_nrssi_slope_11g(struct bwi_mac *mac) argument 2086 bwi_rf_init_sw_nrssi_table(struct bwi_mac *mac) argument 2106 bwi_rf_init_hw_nrssi_table(struct bwi_mac *mac, uint16_t adjust) argument 2126 bwi_rf_set_nrssi_thr_11b(struct bwi_mac *mac) argument 2183 bwi_rf_set_nrssi_thr_11g(struct bwi_mac *mac) argument 2224 bwi_rf_clear_tssi(struct bwi_mac *mac) argument 2273 bwi_rf_on_11a(struct bwi_mac *mac) argument 2279 bwi_rf_on_11bg(struct bwi_mac *mac) argument 2294 bwi_rf_set_ant_mode(struct bwi_mac *mac, int ant_mode) argument 2370 bwi_rf_get_latest_tssi(struct bwi_mac *mac, int8_t tssi[], uint16_t ofs) argument 2390 bwi_rf_tssi2dbm(struct bwi_mac *mac, int8_t tssi, int8_t *txpwr) argument 2411 bwi_rf_calc_rssi_bcm2050(struct bwi_mac *mac, const struct bwi_rxbuf_hdr *hdr) argument 2481 bwi_rf_calc_rssi_bcm2053(struct bwi_mac *mac, const struct bwi_rxbuf_hdr *hdr) argument 2497 bwi_rf_calc_rssi_bcm2060(struct bwi_mac *mac, const struct bwi_rxbuf_hdr *hdr) argument 2508 bwi_rf_calc_noise_bcm2050(struct bwi_mac *mac) argument 2532 bwi_rf_calc_noise_bcm2053(struct bwi_mac *mac) argument 2546 bwi_rf_calc_noise_bcm2060(struct bwi_mac *mac) argument 2553 bwi_rf_lo_measure_11b(struct bwi_mac *mac) argument 2573 bwi_rf_lo_update_11b(struct bwi_mac *mac) argument [all...] |
H A D | bwimac.c | 118 bwi_tmplt_write_4(struct bwi_mac *mac, uint32_t ofs, uint32_t val) argument 120 struct bwi_softc *sc = mac->mac_sc; 122 if (mac->mac_flags & BWI_MAC_F_BSWAP) 130 bwi_hostflags_write(struct bwi_mac *mac, uint64_t flags) argument 135 MOBJ_WRITE_2(mac, BWI_COMM_MOBJ, BWI_COMM_MOBJ_HFLAGS_LO, val); 138 MOBJ_WRITE_2(mac, BWI_COMM_MOBJ, BWI_COMM_MOBJ_HFLAGS_MI, val); 144 bwi_hostflags_read(struct bwi_mac *mac) argument 151 val = MOBJ_READ_2(mac, BWI_COMM_MOBJ, BWI_COMM_MOBJ_HFLAGS_MI); 154 val = MOBJ_READ_2(mac, BWI_COMM_MOBJ, BWI_COMM_MOBJ_HFLAGS_LO); 161 bwi_memobj_read_2(struct bwi_mac *mac, uint16_ argument 178 bwi_memobj_read_4(struct bwi_mac *mac, uint16_t obj_id, uint16_t ofs0) argument 203 bwi_memobj_write_2(struct bwi_mac *mac, uint16_t obj_id, uint16_t ofs0, uint16_t v) argument 221 bwi_memobj_write_4(struct bwi_mac *mac, uint16_t obj_id, uint16_t ofs0, uint32_t v) argument 242 bwi_mac_lateattach(struct bwi_mac *mac) argument 285 bwi_mac_init(struct bwi_mac *mac) argument 455 bwi_mac_reset(struct bwi_mac *mac, int link_phy) argument 503 bwi_mac_set_tpctl_11bg(struct bwi_mac *mac, const struct bwi_tpctl *new_tpctl) argument 543 bwi_mac_test(struct bwi_mac *mac) argument 594 bwi_mac_setup_tpctl(struct bwi_mac *mac) argument 695 bwi_mac_dummy_xmit(struct bwi_mac *mac) argument 760 bwi_mac_init_tpctl_11bg(struct bwi_mac *mac) argument 829 bwi_mac_detach(struct bwi_mac *mac) argument 882 bwi_mac_fw_alloc(struct bwi_mac *mac) argument 987 bwi_mac_fw_free(struct bwi_mac *mac) argument 1016 bwi_mac_fw_load(struct bwi_mac *mac) argument 1094 bwi_mac_gpio_init(struct bwi_mac *mac) argument 1129 bwi_mac_gpio_fini(struct bwi_mac *mac) argument 1146 bwi_mac_fw_load_iv(struct bwi_mac *mac, const struct firmware *fw) argument 1224 bwi_mac_fw_init(struct bwi_mac *mac) argument 1244 bwi_mac_opmode_init(struct bwi_mac *mac) argument 1315 bwi_mac_hostflags_init(struct bwi_mac *mac) argument 1344 bwi_mac_bss_param_init(struct bwi_mac *mac) argument 1404 bwi_mac_set_retry_lim(struct bwi_mac *mac, const struct bwi_retry_lim *lim) argument 1420 bwi_mac_set_ackrates(struct bwi_mac *mac, const struct ieee80211_rate_table *rt, const struct ieee80211_rateset *rs) argument 1452 bwi_mac_start(struct bwi_mac *mac) argument 1467 bwi_mac_stop(struct bwi_mac *mac) argument 1497 bwi_mac_config_ps(struct bwi_mac *mac) argument 1531 bwi_mac_reset_hwkeys(struct bwi_mac *mac) argument 1538 bwi_mac_shutdown(struct bwi_mac *mac) argument 1565 bwi_mac_get_property(struct bwi_mac *mac) argument 1618 bwi_mac_updateslot(struct bwi_mac *mac, int shslot) argument 1638 struct bwi_mac *mac; local 1758 bwi_mac_adjust_tpctl(struct bwi_mac *mac, int rf_atten_adj, int bbp_atten_adj) argument 1814 bwi_mac_calibrate_txpower(struct bwi_mac *mac, enum bwi_txpwrcb_type type) argument 1929 bwi_mac_lock(struct bwi_mac *mac) argument 1953 bwi_mac_unlock(struct bwi_mac *mac) argument 1975 bwi_mac_set_promisc(struct bwi_mac *mac, int promisc) argument [all...] |
/freebsd-10.0-release/sys/dev/cxgb/common/ |
H A D | cxgb_xgmac.c | 39 static inline int macidx(const struct cmac *mac) argument 41 return mac->offset / (XGMAC0_1_BASE_ADDR - XGMAC0_0_BASE_ADDR); 45 * Returns a reasonable A_XGM_RESET_CTRL value for the mac specified. 47 static inline int xgm_reset_ctrl(const struct cmac *mac) argument 49 adapter_t *adap = mac->adapter; 53 int cfg = t3_read_reg(adap, A_XGM_PORT_CFG + mac->offset); 66 static void xaui_serdes_reset(struct cmac *mac) argument 74 adapter_t *adap = mac->adapter; 75 u32 ctrl = A_XGM_SERDES_CTRL0 + mac->offset; 77 t3_write_reg(adap, ctrl, adap->params.vpd.xauicfg[macidx(mac)] | 96 t3b_pcs_reset(struct cmac *mac) argument 107 t3c_pcs_force_los(struct cmac *mac) argument 140 t3_mac_init(struct cmac *mac) argument 220 t3_mac_reset(struct cmac *mac, int portspeed) argument 314 set_addr_filter(struct cmac *mac, int idx, const u8 *addr) argument 334 t3_mac_set_address(struct cmac *mac, unsigned int idx, u8 addr[6]) argument 358 t3_mac_set_num_ucast(struct cmac *mac, unsigned char n) argument 366 t3_mac_disable_exact_filters(struct cmac *mac) argument 377 t3_mac_enable_exact_filters(struct cmac *mac) argument 410 t3_mac_set_rx_mode(struct cmac *mac, struct t3_rx_mode *rm) argument 463 t3_mac_set_mtu(struct cmac *mac, unsigned int mtu) argument 558 t3_mac_set_speed_duplex_fc(struct cmac *mac, int speed, int duplex, int fc) argument 636 t3_mac_enable(struct cmac *mac, int which) argument 688 t3_mac_disable(struct cmac *mac, int which) argument 711 t3b2_mac_watchdog_task(struct cmac *mac) argument 788 t3_mac_update_stats(struct cmac *mac) argument [all...] |
H A D | cxgb_vsc7323.c | 286 const struct mac_stats *t3_vsc7323_update_stats(struct cmac *mac) argument 292 ret = t3_elmr_blk_read(mac->adapter, 293 ELMR_STAT(mac->ext_port, STATS0_START), 296 ret = t3_elmr_blk_read(mac->adapter, 297 ELMR_STAT(mac->ext_port, STATS1_START), 305 rx_ucast = mac->stats.rx_frames - mac->stats.rx_mcast_frames - 306 mac->stats.rx_bcast_frames; 308 tx_ucast = mac->stats.tx_frames - mac [all...] |
/freebsd-10.0-release/tools/tools/net80211/scripts/mesh/ |
H A D | topology.line | 14 ifconfig $WLAN mac:allow 19 ifconfig $WLAN mac:add $NODE2_MAC 23 ifconfig $WLAN mac:add $NODE1_MAC mac:add $NODE3_MAC 27 ifconfig $WLAN mac:add $NODE2_MAC mac:add $NODE4_MAC 31 ifconfig $WLAN mac:add $NODE3_MAC mac:add $NODE5_MAC 35 ifconfig $WLAN mac:add $NODE4_MAC
|
H A D | topology.star | 13 ifconfig $WLAN mac:allow 18 ifconfig $WLAN mac:add $NODE3_MAC 22 ifconfig $WLAN mac:add $NODE3_MAC 26 ifconfig $WLAN mac:add $NODE1_MAC mac:add $NODE2_MAC mac:add \ 27 $NODE4_MAC mac:add $NODE5_MAC 31 ifconfig $WLAN mac:add $NODE3_MAC 35 ifconfig $WLAN mac:add $NODE3_MAC
|
H A D | topology.tree | 23 ifconfig $WLAN mac:allow 28 ifconfig $WLAN mac:add $NODE2_MAC mac:add $NODE3_MAC 32 ifconfig $WLAN mac:add $NODE1_MAC mac:add $NODE4_MAC 36 ifconfig $WLAN mac:add $NODE1_MAC mac:add $NODE5_MAC 40 ifconfig $WLAN mac:add $NODE2_MAC 44 ifconfig $WLAN mac:add $NODE3_MAC
|
H A D | topology.ring | 16 ifconfig $WLAN mac:allow 21 ifconfig $WLAN mac:add $NODE2_MAC mac:add $NODE5_MAC 25 ifconfig $WLAN mac:add $NODE1_MAC mac:add $NODE3_MAC 29 ifconfig $WLAN mac:add $NODE2_MAC mac:add $NODE4_MAC 33 ifconfig $WLAN mac:add $NODE3_MAC mac:add $NODE5_MAC 37 ifconfig $WLAN mac [all...] |
/freebsd-10.0-release/crypto/openssh/ |
H A D | mac.c | 1 /* $OpenBSD: mac.c,v 1.24 2013/06/03 00:03:18 dtucker Exp $ */ 42 #include "mac.h" 114 mac_setup_by_alg(Mac *mac, const struct macalg *macalg) argument 118 mac->type = macalg->type; 119 if (mac->type == SSH_EVP) { 120 mac->evp_md = macalg->mdfunc(); 121 if ((evp_len = EVP_MD_size(mac->evp_md)) <= 0) 122 fatal("mac %s len %d", mac->name, evp_len); 123 mac 135 mac_setup(Mac *mac, char *name) argument 152 mac_init(Mac *mac) argument 175 mac_compute(Mac *mac, u_int32_t seqno, u_char *data, int datalen) argument 213 mac_clear(Mac *mac) argument [all...] |
/freebsd-10.0-release/sys/dev/bwn/ |
H A D | if_bwn.c | 923 struct bwn_mac *mac; local 950 mac = (struct bwn_mac *)malloc(sizeof(*mac), M_DEVBUF, 952 if (mac == NULL) 954 mac->mac_sc = sc; 955 mac->mac_status = BWN_MAC_STATUS_UNINIT; 957 mac->mac_flags |= BWN_MAC_FLAG_BADFRAME_PREEMP; 959 TASK_INIT(&mac->mac_hwreset, 0, bwn_hwreset, mac); 960 TASK_INIT(&mac 1113 bwn_phy_detach(struct bwn_mac *mac) argument 1124 struct bwn_mac *mac = sc->sc_curmac; local 1291 struct bwn_mac *mac = sc->sc_curmac; local 1345 struct bwn_mac *mac = sc->sc_curmac; local 1377 struct bwn_mac *mac = sc->sc_curmac; local 1397 bwn_pio_tx_start(struct bwn_mac *mac, struct ieee80211_node *ni, struct mbuf *m) argument 1467 bwn_pio_select(struct bwn_mac *mac, uint8_t prio) argument 1488 bwn_dma_tx_start(struct bwn_mac *mac, struct ieee80211_node *ni, struct mbuf *m) argument 1596 bwn_attach_core(struct bwn_mac *mac) argument 1718 bwn_reset_core(struct bwn_mac *mac, uint32_t flags) argument 1747 bwn_phy_getinfo(struct bwn_mac *mac, int tgshigh) argument 1811 bwn_chiptest(struct bwn_mac *mac) argument 1858 bwn_setup_channels(struct bwn_mac *mac, int have_bg, int have_a) argument 1889 bwn_shm_read_4(struct bwn_mac *mac, uint16_t way, uint16_t offset) argument 1915 bwn_shm_read_2(struct bwn_mac *mac, uint16_t way, uint16_t offset) argument 1939 bwn_shm_ctlword(struct bwn_mac *mac, uint16_t way, uint16_t offset) argument 1951 bwn_shm_write_4(struct bwn_mac *mac, uint16_t way, uint16_t offset, uint32_t value) argument 1974 bwn_shm_write_2(struct bwn_mac *mac, uint16_t way, uint16_t offset, uint16_t value) argument 2055 bwn_phy_g_attach(struct bwn_mac *mac) argument 2118 bwn_phy_g_detach(struct bwn_mac *mac) argument 2130 bwn_phy_g_init_pre(struct bwn_mac *mac) argument 2163 bwn_phy_g_prepare_hw(struct bwn_mac *mac) argument 2333 bwn_phy_g_txctl(struct bwn_mac *mac) argument 2349 bwn_phy_g_init(struct bwn_mac *mac) argument 2357 bwn_phy_g_exit(struct bwn_mac *mac) argument 2371 bwn_phy_g_read(struct bwn_mac *mac, uint16_t reg) argument 2379 bwn_phy_g_write(struct bwn_mac *mac, uint16_t reg, uint16_t value) argument 2387 bwn_phy_g_rf_read(struct bwn_mac *mac, uint16_t reg) argument 2396 bwn_phy_g_rf_write(struct bwn_mac *mac, uint16_t reg, uint16_t value) argument 2405 bwn_phy_g_hwpctl(struct bwn_mac *mac) argument 2412 bwn_phy_g_rf_onoff(struct bwn_mac *mac, int on) argument 2449 bwn_phy_g_switch_channel(struct bwn_mac *mac, uint32_t newchan) argument 2460 bwn_phy_g_get_default_chan(struct bwn_mac *mac) argument 2467 bwn_phy_g_set_antenna(struct bwn_mac *mac, int antenna) argument 2520 bwn_phy_g_im(struct bwn_mac *mac, int mode) argument 2536 bwn_phy_g_recalc_txpwr(struct bwn_mac *mac, int ignore_tssi) argument 2588 bwn_phy_g_set_txpwr(struct bwn_mac *mac) argument 2647 bwn_phy_g_task_15s(struct bwn_mac *mac) argument 2706 bwn_phy_g_task_60s(struct bwn_mac *mac) argument 2725 bwn_phy_switch_analog(struct bwn_mac *mac, int on) argument 2738 struct bwn_mac *mac = sc->sc_curmac; local 2777 struct bwn_mac *mac; local 2799 struct bwn_mac *mac = sc->sc_curmac; local 2820 struct bwn_mac *mac = sc->sc_curmac; local 2843 struct bwn_mac *mac; local 2861 struct bwn_mac *mac; local 2878 struct bwn_mac *mac = sc->sc_curmac; local 2939 uint8_t mac[IEEE80211_ADDR_LEN]; local 3013 struct bwn_mac *mac; local 3059 struct bwn_mac *mac = sc->sc_curmac; local 3131 bwn_core_init(struct bwn_mac *mac) argument 3240 bwn_core_start(struct bwn_mac *mac) argument 3266 bwn_core_exit(struct bwn_mac *mac) argument 3294 bwn_bt_disable(struct bwn_mac *mac) argument 3303 bwn_chip_init(struct bwn_mac *mac) argument 3380 bwn_hf_read(struct bwn_mac *mac) argument 3393 bwn_hf_write(struct bwn_mac *mac, uint64_t value) argument 3405 bwn_set_txretry(struct bwn_mac *mac, int s, int l) argument 3413 bwn_rate_init(struct bwn_mac *mac) argument 3443 bwn_rate_write(struct bwn_mac *mac, uint16_t rate, int ofdm) argument 3503 bwn_set_phytxctl(struct bwn_mac *mac) argument 3515 bwn_pio_init(struct bwn_mac *mac) argument 3532 bwn_pio_set_txqueue(struct bwn_mac *mac, struct bwn_pio_txqueue *tq, int index) argument 3560 bwn_pio_idx2base(struct bwn_mac *mac, int index) argument 3593 bwn_pio_setupqueue_rx(struct bwn_mac *mac, struct bwn_pio_rxqueue *prq, int index) argument 3620 bwn_pio_read_2(struct bwn_mac *mac, struct bwn_pio_txqueue *tq, uint16_t offset) argument 3628 bwn_dma_rxdirectfifo(struct bwn_mac *mac, int idx, uint8_t enable) argument 3652 bwn_dma_mask(struct bwn_mac *mac) argument 3729 bwn_dma_init(struct bwn_mac *mac) argument 3744 bwn_dma_ringsetup(struct bwn_mac *mac, int controller_index, int for_tx, int type) argument 4114 struct bwn_mac *mac = dr->dr_mac; local 4262 struct bwn_mac *mac = dr->dr_mac; local 4292 bwn_dma_tx_reset(struct bwn_mac *mac, uint16_t base, int type) argument 4350 bwn_dma_rx_reset(struct bwn_mac *mac, uint16_t base, int type) argument 4428 bwn_wme_init(struct bwn_mac *mac) argument 4440 bwn_spu_setdelay(struct bwn_mac *mac, int idle) argument 4456 bwn_bt_enable(struct bwn_mac *mac) argument 4477 bwn_set_macaddr(struct bwn_mac *mac) argument 4485 bwn_clear_keys(struct bwn_mac *mac) argument 4504 bwn_crypt_init(struct bwn_mac *mac) argument 4519 bwn_chip_exit(struct bwn_mac *mac) argument 4528 bwn_fw_fillinfo(struct bwn_mac *mac) argument 4542 bwn_gpio_init(struct bwn_mac *mac) argument 4574 bwn_fw_loadinitvals(struct bwn_mac *mac) argument 4600 bwn_phy_init(struct bwn_mac *mac) argument 4630 bwn_set_txantenna(struct bwn_mac *mac, int antenna) argument 4648 bwn_set_opmode(struct bwn_mac *mac) argument 4686 bwn_dma_gettype(struct bwn_mac *mac) argument 4713 bwn_phy_g_init_sub(struct bwn_mac *mac) argument 4820 bwn_has_hwpctl(struct bwn_mac *mac) argument 4829 bwn_phy_init_b5(struct bwn_mac *mac) argument 4925 bwn_loopback_calcgain(struct bwn_mac *mac) argument 5082 bwn_rf_init_bcm2050(struct bwn_mac *mac) argument 5304 bwn_phy_init_b6(struct bwn_mac *mac) argument 5416 bwn_phy_init_a(struct bwn_mac *mac) argument 5441 bwn_wa_write_noisescale(struct bwn_mac *mac, const uint16_t *nst) argument 5450 bwn_wa_agc(struct bwn_mac *mac) argument 5530 bwn_wa_grev1(struct bwn_mac *mac) argument 5604 bwn_wa_grev26789(struct bwn_mac *mac) argument 5684 bwn_wa_init(struct bwn_mac *mac) argument 5746 bwn_ofdmtab_write_2(struct bwn_mac *mac, uint16_t table, uint16_t offset, uint16_t value) argument 5763 bwn_ofdmtab_write_4(struct bwn_mac *mac, uint16_t table, uint16_t offset, uint32_t value) argument 5782 bwn_gtab_write(struct bwn_mac *mac, uint16_t table, uint16_t offset, uint16_t value) argument 5791 bwn_dummy_transmission(struct bwn_mac *mac, int ofdm, int paon) argument 5857 bwn_ram_write(struct bwn_mac *mac, uint16_t offset, uint32_t val) argument 5873 bwn_lo_write(struct bwn_mac *mac, struct bwn_loctl *ctl) argument 5886 bwn_lo_calcfeed(struct bwn_mac *mac, uint16_t lna, uint16_t pga, uint16_t trsw_rx) argument 5937 bwn_lo_txctl_regtable(struct bwn_mac *mac, uint16_t *value, uint16_t *pad_mix_gain) argument 5972 bwn_lo_measure_txctl_values(struct bwn_mac *mac) argument 6070 bwn_lo_get_powervector(struct bwn_mac *mac) argument 6091 bwn_lo_measure_gain_values(struct bwn_mac *mac, int16_t max_rx_gain, int use_trsw_rx) argument 6153 bwn_lo_save(struct bwn_mac *mac, struct bwn_lo_g_value *sav) argument 6270 bwn_lo_restore(struct bwn_mac *mac, struct bwn_lo_g_value *sav) argument 6337 bwn_lo_probe_loctl(struct bwn_mac *mac, struct bwn_loctl *probe, struct bwn_lo_g_sm *d) argument 6402 bwn_lo_probe_sm(struct bwn_mac *mac, struct bwn_loctl *loctl, int *rxgain) argument 6467 bwn_lo_calibset(struct bwn_mac *mac, const struct bwn_bbatt *bbatt, const struct bwn_rfatt *rfatt) argument 6513 bwn_lo_get_calib(struct bwn_mac *mac, const struct bwn_bbatt *bbatt, const struct bwn_rfatt *rfatt) argument 6536 bwn_phy_g_dc_lookup_init(struct bwn_mac *mac, uint8_t update) argument 6608 bwn_lo_g_adjust(struct bwn_mac *mac) argument 6624 bwn_lo_g_init(struct bwn_mac *mac) argument 6635 bwn_mac_suspend(struct bwn_mac *mac) argument 6669 bwn_mac_enable(struct bwn_mac *mac) argument 6694 bwn_psctl(struct bwn_mac *mac, uint32_t flags) argument 6723 bwn_nrssi_read(struct bwn_mac *mac, uint16_t offset) argument 6731 bwn_nrssi_threshold(struct bwn_mac *mac) argument 6780 bwn_nrssi_slope_11g(struct bwn_mac *mac) argument 6957 bwn_nrssi_offset(struct bwn_mac *mac) argument 7107 bwn_set_all_gains(struct bwn_mac *mac, int16_t first, int16_t second, int16_t third) argument 7140 bwn_set_original_gains(struct bwn_mac *mac) argument 7173 bwn_phy_hwpctl_init(struct bwn_mac *mac) argument 7232 bwn_hwpctl_early_init(struct bwn_mac *mac) argument 7263 bwn_hwpctl_init_gphy(struct bwn_mac *mac) argument 7321 bwn_phy_g_switch_chan(struct bwn_mac *mac, int channel, uint8_t spu) argument 7358 bwn_phy_g_set_txpwr_sub(struct bwn_mac *mac, const struct bwn_bbatt *bbatt, const struct bwn_rfatt *rfatt, uint8_t txctl) argument 7394 bwn_phy_g_set_bbatt(struct bwn_mac *mac, uint16_t bbatt) argument 7412 bwn_rf_2050_rfoverval(struct bwn_mac *mac, uint16_t reg, uint32_t lpd) argument 7533 bwn_spu_workaround(struct bwn_mac *mac, uint8_t channel) argument 7545 bwn_fw_gets(struct bwn_mac *mac, enum bwn_fwtype type) argument 7688 bwn_fw_get(struct bwn_mac *mac, enum bwn_fwtype type, const char *name, struct bwn_fwfile *bfw) argument 7745 bwn_release_firmware(struct bwn_mac *mac) argument 7765 bwn_fw_loaducode(struct bwn_mac *mac) argument 7878 bwn_fwcaps_read(struct bwn_mac *mac) argument 7887 bwn_fwinitvals_write(struct bwn_mac *mac, const struct bwn_fwinitvals *ivals, size_t count, size_t array_size) argument 7941 bwn_switch_channel(struct bwn_mac *mac, int chan) argument 7992 bwn_wme_load(struct bwn_mac *mac) argument 8008 bwn_wme_loadparams(struct bwn_mac *mac, const struct wmeParams *p, uint16_t shm_offset) argument 8049 bwn_mac_write_bssid(struct bwn_mac *mac) argument 8071 bwn_mac_setfilter(struct bwn_mac *mac, uint16_t offset, const uint8_t *macaddr) argument 8095 bwn_key_dowrite(struct bwn_mac *mac, uint8_t index, uint8_t algorithm, const uint8_t *key, size_t key_len, const uint8_t *mac_addr) argument 8121 bwn_key_macwrite(struct bwn_mac *mac, uint8_t index, const uint8_t *addr) argument 8157 bwn_key_write(struct bwn_mac *mac, uint8_t index, uint8_t algorithm, const uint8_t *key) argument 8177 bwn_phy_exit(struct bwn_mac *mac) argument 8186 bwn_dma_free(struct bwn_mac *mac) argument 8203 bwn_core_stop(struct bwn_mac *mac) argument 8228 struct bwn_mac *mac; local 8292 bwn_rf_turnon(struct bwn_mac *mac) argument 8302 bwn_rf_turnoff(struct bwn_mac *mac) argument 8312 bwn_phy_reset(struct bwn_mac *mac) argument 8334 struct bwn_mac *mac = sc->sc_curmac; local 8385 bwn_set_pretbtt(struct bwn_mac *mac) argument 8402 struct bwn_mac *mac = arg; local 8444 struct bwn_mac *mac = arg; local 8558 bwn_restart(struct bwn_mac *mac, const char *msg) argument 8572 bwn_intr_ucode_debug(struct bwn_mac *mac) argument 8604 bwn_intr_tbtt_indication(struct bwn_mac *mac) argument 8616 bwn_intr_atim_end(struct bwn_mac *mac) argument 8627 bwn_intr_beacon(struct bwn_mac *mac) argument 8672 bwn_intr_pmq(struct bwn_mac *mac) argument 8685 bwn_intr_noise(struct bwn_mac *mac) argument 8739 struct bwn_mac *mac = prq->prq_mac; local 8779 bwn_intr_txeof(struct bwn_mac *mac) argument 8812 struct bwn_mac *mac = arg; local 8841 bwn_handle_fwpanic(struct bwn_mac *mac) argument 8854 bwn_load_beacon0(struct bwn_mac *mac) argument 8861 bwn_load_beacon1(struct bwn_mac *mac) argument 8868 bwn_jssi_read(struct bwn_mac *mac) argument 8880 bwn_noise_gensample(struct bwn_mac *mac) argument 8913 struct bwn_mac *mac = dr->dr_mac; local 8983 bwn_handle_txeof(struct bwn_mac *mac, const struct bwn_txstatus *status) argument 9059 struct bwn_mac *mac = prq->prq_mac; local 9178 struct bwn_mac *mac = dr->dr_mac; local 9297 bwn_rxeof(struct bwn_mac *mac, struct mbuf *m, const void *_rxhdr) argument 9387 bwn_dma_handle_txeof(struct bwn_mac *mac, const struct bwn_txstatus *status) argument 9459 bwn_pio_handle_txeof(struct bwn_mac *mac, const struct bwn_txstatus *status) argument 9500 bwn_phy_txpower_check(struct bwn_mac *mac, uint32_t flags) argument 9598 bwn_set_txhdr(struct bwn_mac *mac, struct ieee80211_node *ni, struct mbuf *m, struct bwn_txhdr *txhdr, uint16_t cookie) argument 9827 bwn_antenna_sanitize(struct bwn_mac *mac, uint8_t n) argument 9877 bwn_pio_write_multi_4(struct bwn_mac *mac, struct bwn_pio_txqueue *tq, uint32_t ctl, const void *_data, int len) argument 9914 bwn_pio_write_4(struct bwn_mac *mac, struct bwn_pio_txqueue *tq, uint16_t offset, uint32_t value) argument 9922 bwn_pio_write_multi_2(struct bwn_mac *mac, struct bwn_pio_txqueue *tq, uint16_t ctl, const void *_data, int len) argument 9943 bwn_pio_write_mbuf_2(struct bwn_mac *mac, struct bwn_pio_txqueue *tq, uint16_t ctl, struct mbuf *m0) argument 9976 bwn_set_slot_time(struct bwn_mac *mac, uint16_t time) argument 9986 bwn_dma_select(struct bwn_mac *mac, uint8_t prio) argument 10026 bwn_phy_shm_tssi_read(struct bwn_mac *mac, uint16_t shm_offset) argument 10062 bwn_phy_g_setatt(struct bwn_mac *mac, int *bbattp, int *rfattp) argument 10105 bwn_phy_lock(struct bwn_mac *mac) argument 10118 bwn_phy_unlock(struct bwn_mac *mac) argument 10131 bwn_rf_lock(struct bwn_mac *mac) argument 10141 bwn_rf_unlock(struct bwn_mac *mac) argument 10150 bwn_pio_parse_cookie(struct bwn_mac *mac, uint16_t cookie, struct bwn_pio_txpkt **pack) argument 10189 struct bwn_mac *mac = arg; local 10200 bwn_task_15s(struct bwn_mac *mac) argument 10219 bwn_task_30s(struct bwn_mac *mac) argument 10231 bwn_task_60s(struct bwn_mac *mac) argument 10242 struct bwn_mac *mac = arg; local 10260 bwn_plcp_get_ofdmrate(struct bwn_mac *mac, struct bwn_plcp6 *plcp, uint8_t a) argument 10290 bwn_plcp_get_cckrate(struct bwn_mac *mac, struct bwn_plcp6 *plcp) argument 10309 bwn_rx_radiotap(struct bwn_mac *mac, struct mbuf *m, const struct bwn_rxhdr4 *rxhdr, struct bwn_plcp6 *plcp, int rate, int rssi, int noise) argument 10339 bwn_tsf_read(struct bwn_mac *mac, uint64_t *tsf) argument 10354 bwn_dma_attach(struct bwn_mac *mac) argument 10468 bwn_dma_parse_cookie(struct bwn_mac *mac, const struct bwn_txstatus *status, uint16_t cookie, int *slot) argument 10517 bwn_dma_stop(struct bwn_mac *mac) argument 10544 bwn_pio_stop(struct bwn_mac *mac) argument 10560 bwn_led_attach(struct bwn_mac *mac) argument 10634 bwn_led_newstate(struct bwn_mac *mac, enum ieee80211_state nstate) argument 10696 bwn_led_event(struct bwn_mac *mac, int event) argument 10732 bwn_led_blink_start(struct bwn_mac *mac, int on_dur, int off_dur) argument 10756 struct bwn_mac *mac = arg; local 10771 struct bwn_mac *mac = arg; local 10801 struct bwn_mac *mac = sc->sc_curmac; local 10841 bwn_phy_lp_init_pre(struct bwn_mac *mac) argument 10850 bwn_phy_lp_init(struct bwn_mac *mac) argument 10925 bwn_phy_lp_read(struct bwn_mac *mac, uint16_t reg) argument 10933 bwn_phy_lp_write(struct bwn_mac *mac, uint16_t reg, uint16_t value) argument 10941 bwn_phy_lp_maskset(struct bwn_mac *mac, uint16_t reg, uint16_t mask, uint16_t set) argument 10951 bwn_phy_lp_rf_read(struct bwn_mac *mac, uint16_t reg) argument 10964 bwn_phy_lp_rf_write(struct bwn_mac *mac, uint16_t reg, uint16_t value) argument 10973 bwn_phy_lp_rf_onoff(struct bwn_mac *mac, int on) argument 10999 bwn_phy_lp_switch_channel(struct bwn_mac *mac, uint32_t chan) argument 11023 bwn_phy_lp_get_default_chan(struct bwn_mac *mac) argument 11033 bwn_phy_lp_set_antenna(struct bwn_mac *mac, int antenna) argument 11049 bwn_phy_lp_task_60s(struct bwn_mac *mac) argument 11056 bwn_phy_lp_readsprom(struct bwn_mac *mac) argument 11084 bwn_phy_lp_bbinit(struct bwn_mac *mac) argument 11095 bwn_phy_lp_txpctl_init(struct bwn_mac *mac) argument 11109 bwn_phy_lp_calib(struct bwn_mac *mac) argument 11221 bwn_phy_lp_switch_analog(struct bwn_mac *mac, int on) argument 11234 bwn_phy_lp_b2063_switch_channel(struct bwn_mac *mac, uint8_t chan) argument 11364 bwn_phy_lp_b2062_switch_channel(struct bwn_mac *mac, uint8_t chan) argument 11440 bwn_phy_lp_set_anafilter(struct bwn_mac *mac, uint8_t channel) argument 11456 bwn_phy_lp_set_gaintbl(struct bwn_mac *mac, uint32_t freq) argument 11484 bwn_phy_lp_digflt_save(struct bwn_mac *mac) argument 11508 bwn_phy_lp_get_txpctlmode(struct bwn_mac *mac) argument 11533 bwn_phy_lp_set_txpctlmode(struct bwn_mac *mac, uint8_t mode) argument 11589 bwn_phy_lp_bugfix(struct bwn_mac *mac) argument 11684 bwn_phy_lp_digflt_restore(struct bwn_mac *mac) argument 11701 bwn_phy_lp_tblinit(struct bwn_mac *mac) argument 11728 bwn_phy_lp_bbinit_r2(struct bwn_mac *mac) argument 11839 bwn_phy_lp_bbinit_r01(struct bwn_mac *mac) argument 12019 bwn_phy_lp_b2062_init(struct bwn_mac *mac) argument 12107 bwn_phy_lp_b2063_init(struct bwn_mac *mac) argument 12129 bwn_phy_lp_rxcal_r2(struct bwn_mac *mac) argument 12192 bwn_phy_lp_rccal_r12(struct bwn_mac *mac) argument 12310 bwn_phy_lp_set_rccap(struct bwn_mac *mac) argument 12346 bwn_phy_lp_b2062_reset_pllbias(struct bwn_mac *mac) argument 12362 bwn_phy_lp_b2062_vco_calib(struct bwn_mac *mac) argument 12371 bwn_phy_lp_b2062_tblinit(struct bwn_mac *mac) argument 12445 bwn_phy_lp_b2063_tblinit(struct bwn_mac *mac) argument 12514 bwn_tab_read_multi(struct bwn_mac *mac, uint32_t typenoffset, int count, void *_data) argument 12553 bwn_tab_write_multi(struct bwn_mac *mac, uint32_t typenoffset, int count, const void *_data) argument 12595 bwn_phy_lp_get_txgain(struct bwn_mac *mac) argument 12618 bwn_phy_lp_get_bbmult(struct bwn_mac *mac) argument 12625 bwn_phy_lp_set_txgain(struct bwn_mac *mac, struct bwn_txgain *tg) argument 12650 bwn_phy_lp_set_bbmult(struct bwn_mac *mac, uint8_t bbmult) argument 12657 bwn_phy_lp_set_trsw_over(struct bwn_mac *mac, uint8_t tx, uint8_t rx) argument 12666 bwn_phy_lp_set_rxgain(struct bwn_mac *mac, uint32_t gain) argument 12721 bwn_phy_lp_set_deaf(struct bwn_mac *mac, uint8_t user) argument 12734 bwn_phy_lp_clear_deaf(struct bwn_mac *mac, uint8_t user) argument 12756 bwn_sqrt(struct bwn_mac *mac, unsigned int x) argument 12807 bwn_phy_lp_calc_rx_iq_comp(struct bwn_mac *mac, uint16_t sample) argument 12861 bwn_phy_lp_tblinit_r01(struct bwn_mac *mac) argument 13056 bwn_phy_lp_tblinit_r2(struct bwn_mac *mac) argument 13279 bwn_phy_lp_tblinit_txgain(struct bwn_mac *mac) argument 13919 bwn_tab_write(struct bwn_mac *mac, uint32_t typeoffset, uint32_t value) argument 13950 bwn_phy_lp_loopback(struct bwn_mac *mac) argument 13984 bwn_phy_lp_set_rxgain_idx(struct bwn_mac *mac, uint16_t idx) argument 13991 bwn_phy_lp_ddfs_turnon(struct bwn_mac *mac, int i_on, int q_on, int incr1, int incr2, int scale_idx) argument 14009 bwn_phy_lp_rx_iq_est(struct bwn_mac *mac, uint16_t sample, uint8_t time, struct bwn_phy_lp_iq_est *ie) argument 14046 bwn_tab_read(struct bwn_mac *mac, uint32_t typeoffset) argument 14078 bwn_phy_lp_ddfs_turnoff(struct bwn_mac *mac) argument 14086 bwn_phy_lp_set_txgain_dac(struct bwn_mac *mac, uint16_t dac) argument 14096 bwn_phy_lp_set_txgain_pa(struct bwn_mac *mac, uint16_t gain) argument 14104 bwn_phy_lp_set_txgain_override(struct bwn_mac *mac) argument 14117 bwn_phy_lp_get_pa_gain(struct bwn_mac *mac) argument 14135 bwn_phy_lp_gaintbl_write_multi(struct bwn_mac *mac, int offset, int count, struct bwn_txgain_entry *table) argument 14145 bwn_phy_lp_gaintbl_write(struct bwn_mac *mac, int offset, struct bwn_txgain_entry data) argument 14156 bwn_phy_lp_gaintbl_write_r2(struct bwn_mac *mac, int offset, struct bwn_txgain_entry te) argument 14180 bwn_phy_lp_gaintbl_write_r01(struct bwn_mac *mac, int offset, struct bwn_txgain_entry te) argument 14196 struct bwn_mac *mac; local [all...] |
/freebsd-10.0-release/contrib/wpa/hostapd/logwatch/ |
H A D | hostapd | 29 if (my ($iface,$mac,$layer,$details) = ($line =~ /(.*?): STA (.*?) (.*?): (.*?)$/i)) { 34 $hostapd{$iface}->{$mac}->{$layer}->{$details}++; 43 foreach my $mac (sort keys %{$hostapd{$iface}}) { 44 print " Client MAC Address $mac:\n"; 45 foreach my $layer (sort keys %{$hostapd{$iface}->{$mac}}) { 47 foreach my $details (sort keys %{$hostapd{$iface}->{$mac}->{$layer}}) { 49 my $count = $hostapd{$iface}->{$mac}->{$layer}->{$details};
|
/freebsd-10.0-release/crypto/openssl/crypto/pkcs12/ |
H A D | p12_mutl.c | 68 unsigned char *mac, unsigned int *maclen) 82 salt = p12->mac->salt->data; 83 saltlen = p12->mac->salt->length; 84 if (!p12->mac->iter) iter = 1; 85 else iter = ASN1_INTEGER_get (p12->mac->iter); 87 EVP_get_digestbyobj (p12->mac->dinfo->algor->algorithm))) { 103 || !HMAC_Final(&hmac, mac, maclen)) 112 /* Verify the mac */ 115 unsigned char mac[EVP_MAX_MD_SIZE]; local 117 if(p12->mac 67 PKCS12_gen_mac(PKCS12 *p12, const char *pass, int passlen, unsigned char *mac, unsigned int *maclen) argument 135 unsigned char mac[EVP_MAX_MD_SIZE]; local [all...] |
/freebsd-10.0-release/sys/security/mac/ |
H A D | mac_syscalls.c | 57 #include <sys/mac.h> 71 #include <security/mac/mac_framework.h> 72 #include <security/mac/mac_internal.h> 73 #include <security/mac/mac_policy.h> 83 struct mac mac; local 88 error = copyin(uap->mac_p, &mac, sizeof(mac)); 92 error = mac_check_structmac_consistent(&mac); 108 elements = malloc(mac 132 struct mac mac; local 167 struct mac mac; local 228 struct mac mac; local 323 struct mac mac; local 374 struct mac mac; local 428 struct mac mac; local 526 struct mac mac; local 578 struct mac mac; local [all...] |
/freebsd-10.0-release/usr.bin/checknr/ |
H A D | checknr.c | 282 char mac[5]; /* The current macro or nroff command */ local 292 strncpy(mac, line+1, 4); 293 if (isspace(mac[0])) { 296 } else if (isspace(mac[1])) { 297 mac[1] = 0; 298 } else if (isspace(mac[2])) { 299 mac[2] = 0; 300 } else if (mac[0] != '\\' || mac[1] != '\"') { 308 checkknown(mac); 403 chkcmd(const char *line __unused, const char *mac) argument 439 nomatch(const char *mac) argument 499 checkknown(const char *mac) argument 519 char *mac; local 548 addmac(const char *mac) argument 579 binsrch(const char *mac) argument [all...] |
/freebsd-10.0-release/sys/dev/e1000/ |
H A D | e1000_api.c | 48 if (hw->mac.ops.init_params) { 49 ret_val = hw->mac.ops.init_params(hw); 55 DEBUGOUT("mac.init_mac_params was NULL\n"); 145 * This function sets the mac type of the adapter based on the 152 struct e1000_mac_info *mac = &hw->mac; local 159 mac->type = e1000_82542; 163 mac->type = e1000_82543; 169 mac->type = e1000_82544; 176 mac [all...] |
/freebsd-10.0-release/contrib/wpa/src/crypto/ |
H A D | md5.h | 15 const u8 *addr[], const size_t *len, u8 *mac); 17 u8 *mac);
|
/freebsd-10.0-release/sys/boot/arm/at91/libat91/ |
H A D | emac_init.c | 73 EMAC_SetMACAddress(unsigned char mac[6]) argument 81 memcpy(localMACAddr, mac, 6); 82 localMAClow = (mac[3] << 24) | (mac[2] << 16) | (mac[1] << 8) | mac[0]; 83 localMAChigh = (mac[5] << 8) | mac[4];
|