Searched refs:mac (Results 1 - 25 of 510) sorted by relevance

1234567891011>>

/freebsd-9.3-release/lib/libc/posix1e/
H A Dmac_set.c36 #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 Dmac_get.c36 #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 Dmac.c50 #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 Dmac_exec.c36 #include <sys/mac.h>
39 struct mac *mac_p);
42 mac_execve(char *fname, char **argv, char **envv, struct mac *label)
/freebsd-9.3-release/sys/boot/arm/at91/boot2/
H A Dcentipad_board.c36 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 Dkb920x_board.c36 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-9.3-release/sys/dev/bwi/
H A Dbwimac.h71 #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 Dbwiphy.c85 static void bwi_tbl_write_2(struct bwi_mac *mac, uint16_t, uint16_t);
86 static void bwi_tbl_write_4(struct bwi_mac *mac, uint16_t, uint32_t);
134 bwi_phy_write(struct bwi_mac *mac, uint16_t ctrl, uint16_t data) argument
136 struct bwi_softc *sc = mac->mac_sc;
143 bwi_phy_read(struct bwi_mac *mac, uint16_t ctrl) argument
145 struct bwi_softc *sc = mac->mac_sc;
152 bwi_phy_attach(struct bwi_mac *mac) argument
154 struct bwi_softc *sc = mac->mac_sc;
155 struct bwi_phy *phy = &mac->mac_phy;
224 bwi_phy_set_bbp_atten(struct bwi_mac *mac, uint16_ argument
243 bwi_phy_calibrate(struct bwi_mac *mac) argument
265 bwi_tbl_write_2(struct bwi_mac *mac, uint16_t ofs, uint16_t data) argument
277 bwi_tbl_write_4(struct bwi_mac *mac, uint16_t ofs, uint32_t data) argument
292 bwi_nrssi_write(struct bwi_mac *mac, uint16_t ofs, int16_t data) argument
299 bwi_nrssi_read(struct bwi_mac *mac, uint16_t ofs) argument
306 bwi_phy_init_11a(struct bwi_mac *mac) argument
312 bwi_phy_init_11g(struct bwi_mac *mac) argument
427 bwi_phy_init_11b_rev2(struct bwi_mac *mac) argument
435 bwi_phy_init_11b_rev4(struct bwi_mac *mac) argument
504 bwi_phy_init_11b_rev5(struct bwi_mac *mac) argument
606 bwi_phy_init_11b_rev6(struct bwi_mac *mac) argument
749 bwi_phy_config_11g(struct bwi_mac *mac) argument
884 bwi_phy_config_agc(struct bwi_mac *mac) argument
965 bwi_set_gains(struct bwi_mac *mac, const struct bwi_gains *gains) argument
[all...]
H A Dbwirf.c76 #define RF_LO_WRITE(mac, lo) bwi_rf_lo_write((mac), (lo))
104 #define SAVE_RF_REG(mac, regs, n) (regs)->rf_##n = RF_READ((mac), 0x##n)
105 #define RESTORE_RF_REG(mac, regs, n) RF_WRITE((mac), 0x##n, (regs)->rf_##n)
107 #define SAVE_PHY_REG(mac, regs, n) (regs)->phy_##n = PHY_READ((mac), 0x##n)
108 #define RESTORE_PHY_REG(mac, regs, n) PHY_WRITE((mac),
157 bwi_nrssi_11g(struct bwi_mac *mac) argument
172 bwi_get_rf_lo(struct bwi_mac *mac, uint16_t rf_atten, uint16_t bbp_atten) argument
183 bwi_rf_lo_isused(struct bwi_mac *mac, const struct bwi_rf_lo *lo) argument
195 bwi_rf_write(struct bwi_mac *mac, uint16_t ctrl, uint16_t data) argument
204 bwi_rf_read(struct bwi_mac *mac, uint16_t ctrl) argument
223 bwi_rf_attach(struct bwi_mac *mac) argument
338 bwi_rf_set_chan(struct bwi_mac *mac, u_int chan, int work_around) argument
369 bwi_rf_get_gains(struct bwi_mac *mac) argument
524 bwi_rf_init(struct bwi_mac *mac) argument
539 bwi_rf_off_11a(struct bwi_mac *mac) argument
551 bwi_rf_off_11bg(struct bwi_mac *mac) argument
557 bwi_rf_off_11g_rev5(struct bwi_mac *mac) argument
564 bwi_rf_work_around(struct bwi_mac *mac, u_int chan) argument
586 bwi_rf_lo_find(struct bwi_mac *mac, const struct bwi_tpctl *tpctl) argument
628 bwi_rf_lo_adjust(struct bwi_mac *mac, const struct bwi_tpctl *tpctl) argument
637 bwi_rf_lo_write(struct bwi_mac *mac, const struct bwi_rf_lo *lo) argument
648 bwi_rf_gain_max_reached(struct bwi_mac *mac, int idx) argument
673 bwi_phy812_value(struct bwi_mac *mac, uint16_t lpd) argument
745 bwi_rf_init_bcm2050(struct bwi_mac *mac) argument
1007 bwi_rf_calibval(struct bwi_mac *mac) argument
1082 bwi_rf_map_txpower(struct bwi_mac *mac) argument
1258 bwi_rf_lo_update_11g(struct bwi_mac *mac) argument
1392 bwi_rf_lo_devi_measure(struct bwi_mac *mac, uint16_t ctrl) argument
1425 bwi_rf_get_tp_ctrl2(struct bwi_mac *mac) argument
1451 _bwi_rf_lo_update_11g(struct bwi_mac *mac, uint16_t orig_rf7a) argument
1548 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
1638 bwi_rf_calc_nrssi_slope_11b(struct bwi_mac *mac) argument
1751 bwi_rf_set_nrssi_ofs_11g(struct bwi_mac *mac) argument
1906 bwi_rf_calc_nrssi_slope_11g(struct bwi_mac *mac) argument
2085 bwi_rf_init_sw_nrssi_table(struct bwi_mac *mac) argument
2105 bwi_rf_init_hw_nrssi_table(struct bwi_mac *mac, uint16_t adjust) argument
2125 bwi_rf_set_nrssi_thr_11b(struct bwi_mac *mac) argument
2182 bwi_rf_set_nrssi_thr_11g(struct bwi_mac *mac) argument
2223 bwi_rf_clear_tssi(struct bwi_mac *mac) argument
2272 bwi_rf_on_11a(struct bwi_mac *mac) argument
2278 bwi_rf_on_11bg(struct bwi_mac *mac) argument
2293 bwi_rf_set_ant_mode(struct bwi_mac *mac, int ant_mode) argument
2369 bwi_rf_get_latest_tssi(struct bwi_mac *mac, int8_t tssi[], uint16_t ofs) argument
2389 bwi_rf_tssi2dbm(struct bwi_mac *mac, int8_t tssi, int8_t *txpwr) argument
2410 bwi_rf_calc_rssi_bcm2050(struct bwi_mac *mac, const struct bwi_rxbuf_hdr *hdr) argument
2480 bwi_rf_calc_rssi_bcm2053(struct bwi_mac *mac, const struct bwi_rxbuf_hdr *hdr) argument
2496 bwi_rf_calc_rssi_bcm2060(struct bwi_mac *mac, const struct bwi_rxbuf_hdr *hdr) argument
2507 bwi_rf_calc_noise_bcm2050(struct bwi_mac *mac) argument
2531 bwi_rf_calc_noise_bcm2053(struct bwi_mac *mac) argument
2545 bwi_rf_calc_noise_bcm2060(struct bwi_mac *mac) argument
2552 bwi_rf_lo_measure_11b(struct bwi_mac *mac) argument
2572 bwi_rf_lo_update_11b(struct bwi_mac *mac) argument
[all...]
H A Dbwimac.c117 bwi_tmplt_write_4(struct bwi_mac *mac, uint32_t ofs, uint32_t val) argument
119 struct bwi_softc *sc = mac->mac_sc;
121 if (mac->mac_flags & BWI_MAC_F_BSWAP)
129 bwi_hostflags_write(struct bwi_mac *mac, uint64_t flags) argument
134 MOBJ_WRITE_2(mac, BWI_COMM_MOBJ, BWI_COMM_MOBJ_HFLAGS_LO, val);
137 MOBJ_WRITE_2(mac, BWI_COMM_MOBJ, BWI_COMM_MOBJ_HFLAGS_MI, val);
143 bwi_hostflags_read(struct bwi_mac *mac) argument
150 val = MOBJ_READ_2(mac, BWI_COMM_MOBJ, BWI_COMM_MOBJ_HFLAGS_MI);
153 val = MOBJ_READ_2(mac, BWI_COMM_MOBJ, BWI_COMM_MOBJ_HFLAGS_LO);
160 bwi_memobj_read_2(struct bwi_mac *mac, uint16_ argument
177 bwi_memobj_read_4(struct bwi_mac *mac, uint16_t obj_id, uint16_t ofs0) argument
202 bwi_memobj_write_2(struct bwi_mac *mac, uint16_t obj_id, uint16_t ofs0, uint16_t v) argument
220 bwi_memobj_write_4(struct bwi_mac *mac, uint16_t obj_id, uint16_t ofs0, uint32_t v) argument
241 bwi_mac_lateattach(struct bwi_mac *mac) argument
284 bwi_mac_init(struct bwi_mac *mac) argument
454 bwi_mac_reset(struct bwi_mac *mac, int link_phy) argument
502 bwi_mac_set_tpctl_11bg(struct bwi_mac *mac, const struct bwi_tpctl *new_tpctl) argument
542 bwi_mac_test(struct bwi_mac *mac) argument
593 bwi_mac_setup_tpctl(struct bwi_mac *mac) argument
694 bwi_mac_dummy_xmit(struct bwi_mac *mac) argument
759 bwi_mac_init_tpctl_11bg(struct bwi_mac *mac) argument
828 bwi_mac_detach(struct bwi_mac *mac) argument
881 bwi_mac_fw_alloc(struct bwi_mac *mac) argument
986 bwi_mac_fw_free(struct bwi_mac *mac) argument
1015 bwi_mac_fw_load(struct bwi_mac *mac) argument
1093 bwi_mac_gpio_init(struct bwi_mac *mac) argument
1128 bwi_mac_gpio_fini(struct bwi_mac *mac) argument
1145 bwi_mac_fw_load_iv(struct bwi_mac *mac, const struct firmware *fw) argument
1223 bwi_mac_fw_init(struct bwi_mac *mac) argument
1243 bwi_mac_opmode_init(struct bwi_mac *mac) argument
1314 bwi_mac_hostflags_init(struct bwi_mac *mac) argument
1343 bwi_mac_bss_param_init(struct bwi_mac *mac) argument
1403 bwi_mac_set_retry_lim(struct bwi_mac *mac, const struct bwi_retry_lim *lim) argument
1419 bwi_mac_set_ackrates(struct bwi_mac *mac, const struct ieee80211_rate_table *rt, const struct ieee80211_rateset *rs) argument
1448 bwi_mac_start(struct bwi_mac *mac) argument
1463 bwi_mac_stop(struct bwi_mac *mac) argument
1493 bwi_mac_config_ps(struct bwi_mac *mac) argument
1527 bwi_mac_reset_hwkeys(struct bwi_mac *mac) argument
1534 bwi_mac_shutdown(struct bwi_mac *mac) argument
1561 bwi_mac_get_property(struct bwi_mac *mac) argument
1614 bwi_mac_updateslot(struct bwi_mac *mac, int shslot) argument
1634 struct bwi_mac *mac; local
1754 bwi_mac_adjust_tpctl(struct bwi_mac *mac, int rf_atten_adj, int bbp_atten_adj) argument
1810 bwi_mac_calibrate_txpower(struct bwi_mac *mac, enum bwi_txpwrcb_type type) argument
1925 bwi_mac_lock(struct bwi_mac *mac) argument
1949 bwi_mac_unlock(struct bwi_mac *mac) argument
1971 bwi_mac_set_promisc(struct bwi_mac *mac, int promisc) argument
[all...]
/freebsd-9.3-release/sys/dev/cxgb/common/
H A Dcxgb_xgmac.c39 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 Dcxgb_vsc7323.c286 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-9.3-release/tools/tools/net80211/scripts/mesh/
H A Dtopology.line14 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 Dtopology.star13 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 Dtopology.tree23 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 Dtopology.ring16 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-9.3-release/crypto/openssh/
H A Dmac.c1 /* $OpenBSD: mac.c,v 1.28 2014/02/07 06:55:54 djm Exp $ */
40 #include "mac.h"
114 mac_setup_by_alg(Mac *mac, const struct macalg *macalg) argument
116 mac->type = macalg->type;
117 if (mac->type == SSH_DIGEST) {
118 if ((mac->hmac_ctx = ssh_hmac_start(macalg->alg)) == NULL)
120 mac->key_len = mac->mac_len = ssh_hmac_bytes(macalg->alg);
122 mac->mac_len = macalg->len / 8;
123 mac
132 mac_setup(Mac *mac, char *name) argument
150 mac_init(Mac *mac) argument
172 mac_compute(Mac *mac, u_int32_t seqno, u_char *data, int datalen) argument
211 mac_clear(Mac *mac) argument
[all...]
/freebsd-9.3-release/sys/dev/bwn/
H A Dif_bwn.c923 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-9.3-release/contrib/wpa/hostapd/logwatch/
H A Dhostapd29 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-9.3-release/crypto/openssl/crypto/pkcs12/
H A Dp12_mutl.c69 unsigned char *mac, unsigned int *maclen)
81 salt = p12->mac->salt->data;
82 saltlen = p12->mac->salt->length;
83 if (!p12->mac->iter)
86 iter = ASN1_INTEGER_get(p12->mac->iter);
87 if (!(md_type = EVP_get_digestbyobj(p12->mac->dinfo->algor->algorithm))) {
100 HMAC_Final(&hmac, mac, maclen);
105 /* Verify the mac */
108 unsigned char mac[EVP_MAX_MD_SIZE]; local
110 if (p12->mac
68 PKCS12_gen_mac(PKCS12 *p12, const char *pass, int passlen, unsigned char *mac, unsigned int *maclen) argument
130 unsigned char mac[EVP_MAX_MD_SIZE]; local
[all...]
/freebsd-9.3-release/sys/security/mac/
H A Dmac_syscalls.c57 #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
324 struct mac mac; local
377 struct mac mac; local
433 struct mac mac; local
533 struct mac mac; local
587 struct mac mac; local
[all...]
/freebsd-9.3-release/contrib/wpa/src/crypto/
H A Dmd5.h21 const u8 *addr[], const size_t *len, u8 *mac);
23 u8 *mac);
27 const size_t *len, u8 *mac);
29 size_t data_len, u8 *mac);
/freebsd-9.3-release/usr.bin/checknr/
H A Dchecknr.c282 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-9.3-release/sys/dev/e1000/
H A De1000_api.c48 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-9.3-release/sys/boot/arm/at91/libat91/
H A Demac_init.c73 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];

Completed in 196 milliseconds

1234567891011>>