Home
last modified time | relevance | path

Searched refs:mac (Results 1 – 25 of 265) sorted by relevance

1234567891011

/dflybsd-src/sys/dev/netif/bwn/bwn/
H A Dif_bwn_phy_g.c151 static uint16_t bwn_phy_g_txctl(struct bwn_mac *mac);
152 static int bwn_phy_shm_tssi_read(struct bwn_mac *mac, uint16_t shm_offset);
153 static void bwn_phy_g_setatt(struct bwn_mac *mac, int *bbattp, int *rfattp);
154 static void bwn_phy_lock(struct bwn_mac *mac);
155 static void bwn_phy_unlock(struct bwn_mac *mac);
156 static void bwn_rf_lock(struct bwn_mac *mac);
157 static void bwn_rf_unlock(struct bwn_mac *mac);
167 bwn_has_hwpctl(struct bwn_mac *mac) in bwn_has_hwpctl() argument
170 if (mac->mac_phy.hwpctl == 0 || mac->mac_phy.use_hwpctl == NULL) in bwn_has_hwpctl()
172 return (mac->mac_phy.use_hwpctl(mac)); in bwn_has_hwpctl()
[all …]
H A Dif_bwn_phy_lp.c404 bwn_phy_lp_init_pre(struct bwn_mac *mac) in bwn_phy_lp_init_pre() argument
406 struct bwn_phy *phy = &mac->mac_phy; in bwn_phy_lp_init_pre()
413 bwn_phy_lp_init(struct bwn_mac *mac) in bwn_phy_lp_init() argument
432 struct bwn_phy_lp *plp = &mac->mac_phy.phy_lp; in bwn_phy_lp_init()
433 struct bwn_softc *sc = mac->mac_sc; in bwn_phy_lp_init()
439 bwn_phy_lp_readsprom(mac); /* XXX bad place */ in bwn_phy_lp_init()
440 bwn_phy_lp_bbinit(mac); in bwn_phy_lp_init()
443 BWN_PHY_SET(mac, BWN_PHY_4WIRECTL, 0x2); in bwn_phy_lp_init()
445 BWN_PHY_MASK(mac, BWN_PHY_4WIRECTL, 0xfffd); in bwn_phy_lp_init()
448 if (mac->mac_phy.rf_ver == 0x2062) in bwn_phy_lp_init()
[all …]
H A Dif_bwn.c556 struct bwn_mac *mac; in bwn_attach() local
586 mac = kmalloc(sizeof(*mac), M_DEVBUF, M_WAITOK | M_ZERO); in bwn_attach()
587 mac->mac_sc = sc; in bwn_attach()
588 mac->mac_status = BWN_MAC_STATUS_UNINIT; in bwn_attach()
590 mac->mac_flags |= BWN_MAC_FLAG_BADFRAME_PREEMP; in bwn_attach()
592 TASK_INIT(&mac->mac_hwreset, 0, bwn_hwreset, mac); in bwn_attach()
593 TASK_INIT(&mac->mac_intrtask, 0, bwn_intrtask, mac); in bwn_attach()
594 TASK_INIT(&mac->mac_txpower, 0, bwn_txpwr, mac); in bwn_attach()
596 error = bwn_attach_core(mac); in bwn_attach()
599 bwn_led_attach(mac); in bwn_attach()
[all …]
H A Dif_bwn_phy_common.c113 bwn_mac_switch_freq(struct bwn_mac *mac, int spurmode) in bwn_mac_switch_freq() argument
115 struct bwn_softc *sc = mac->mac_sc; in bwn_mac_switch_freq()
121 BWN_WRITE_2(mac, BWN_TSF_CLK_FRAC_LOW, 0x1862); in bwn_mac_switch_freq()
122 BWN_WRITE_2(mac, BWN_TSF_CLK_FRAC_HIGH, 0x6); in bwn_mac_switch_freq()
125 BWN_WRITE_2(mac, BWN_TSF_CLK_FRAC_LOW, 0x3e70); in bwn_mac_switch_freq()
126 BWN_WRITE_2(mac, BWN_TSF_CLK_FRAC_HIGH, 0x6); in bwn_mac_switch_freq()
129 BWN_WRITE_2(mac, BWN_TSF_CLK_FRAC_LOW, 0x6666); in bwn_mac_switch_freq()
130 BWN_WRITE_2(mac, BWN_TSF_CLK_FRAC_HIGH, 0x6); in bwn_mac_switch_freq()
142 BWN_WRITE_2(mac, BWN_TSF_CLK_FRAC_LOW, 0x2082); in bwn_mac_switch_freq()
143 BWN_WRITE_2(mac, BWN_TSF_CLK_FRAC_HIGH, 0x8); in bwn_mac_switch_freq()
[all …]
H A Dif_bwn_phy_g.h35 extern int bwn_phy_g_attach(struct bwn_mac *mac);
36 extern void bwn_phy_g_detach(struct bwn_mac *mac);
37 extern int bwn_phy_g_prepare_hw(struct bwn_mac *mac);
38 extern void bwn_phy_g_init_pre(struct bwn_mac *mac);
39 extern int bwn_phy_g_init(struct bwn_mac *mac);
40 extern void bwn_phy_g_exit(struct bwn_mac *mac);
41 extern uint16_t bwn_phy_g_read(struct bwn_mac *mac, uint16_t reg);
42 extern void bwn_phy_g_write(struct bwn_mac *mac, uint16_t reg, uint16_t value);
43 extern uint16_t bwn_phy_g_rf_read(struct bwn_mac *mac, uint16_t reg);
44 extern void bwn_phy_g_rf_write(struct bwn_mac *mac, uint16_t reg, uint16_t value);
[all …]
H A Dif_bwnvar.h58 #define BWN_ISOLDFMT(mac) ((mac)->mac_fw.rev <= 351) argument
61 #define BWN_HDRSIZE(mac) bwn_tx_hdrsize(mac) argument
68 #define BWN_READ_2(mac, o) (siba_read_2(mac->mac_sc->sc_dev, o)) argument
69 #define BWN_READ_4(mac, o) (siba_read_4(mac->mac_sc->sc_dev, o)) argument
70 #define BWN_WRITE_2(mac, o, v) \ argument
71 (siba_write_2(mac->mac_sc->sc_dev, o, v))
72 #define BWN_WRITE_2_F(mac, o, v) do { \ argument
73 (BWN_WRITE_2(mac, o, v)); \
74 BWN_READ_2(mac, o); \
76 #define BWN_WRITE_SETMASK2(mac, offset, mask, set) \ argument
[all …]
/dflybsd-src/crypto/openssh/
H A Dmac.c106 mac_setup_by_alg(struct sshmac *mac, const struct macalg *macalg) in mac_setup_by_alg() argument
108 mac->type = macalg->type; in mac_setup_by_alg()
109 if (mac->type == SSH_DIGEST) { in mac_setup_by_alg()
110 if ((mac->hmac_ctx = ssh_hmac_start(macalg->alg)) == NULL) in mac_setup_by_alg()
112 mac->key_len = mac->mac_len = ssh_hmac_bytes(macalg->alg); in mac_setup_by_alg()
114 mac->mac_len = macalg->len / 8; in mac_setup_by_alg()
115 mac->key_len = macalg->key_len / 8; in mac_setup_by_alg()
116 mac->umac_ctx = NULL; in mac_setup_by_alg()
119 mac->mac_len = macalg->truncatebits / 8; in mac_setup_by_alg()
120 mac->etm = macalg->etm; in mac_setup_by_alg()
[all …]
/dflybsd-src/sys/dev/netif/ig_hal/
H A De1000_api.c48 if (hw->mac.ops.init_params) { in e1000_init_mac_params()
49 ret_val = hw->mac.ops.init_params(hw); in e1000_init_mac_params()
152 struct e1000_mac_info *mac = &hw->mac; in e1000_set_mac_type() local
159 mac->type = e1000_82542; in e1000_set_mac_type()
163 mac->type = e1000_82543; in e1000_set_mac_type()
169 mac->type = e1000_82544; in e1000_set_mac_type()
176 mac->type = e1000_82540; in e1000_set_mac_type()
180 mac->type = e1000_82545; in e1000_set_mac_type()
185 mac->type = e1000_82545_rev_3; in e1000_set_mac_type()
190 mac->type = e1000_82546; in e1000_set_mac_type()
[all …]
H A De1000_mac.c49 struct e1000_mac_info *mac = &hw->mac; in e1000_init_mac_ops_generic() local
53 mac->ops.init_params = e1000_null_ops_generic; in e1000_init_mac_ops_generic()
54 mac->ops.init_hw = e1000_null_ops_generic; in e1000_init_mac_ops_generic()
55 mac->ops.reset_hw = e1000_null_ops_generic; in e1000_init_mac_ops_generic()
56 mac->ops.setup_physical_interface = e1000_null_ops_generic; in e1000_init_mac_ops_generic()
57 mac->ops.get_bus_info = e1000_null_ops_generic; in e1000_init_mac_ops_generic()
58 mac->ops.set_lan_id = e1000_set_lan_id_multi_port_pcie; in e1000_init_mac_ops_generic()
59 mac->ops.read_mac_addr = e1000_read_mac_addr_generic; in e1000_init_mac_ops_generic()
60 mac->ops.config_collision_dist = e1000_config_collision_dist_generic; in e1000_init_mac_ops_generic()
61 mac->ops.clear_hw_cntrs = e1000_null_mac_generic; in e1000_init_mac_ops_generic()
[all …]
H A De1000_82571.c117 switch (hw->mac.type) { in e1000_init_phy_params_82571()
173 switch (hw->mac.type) { in e1000_init_phy_params_82571()
228 switch (hw->mac.type) { in e1000_init_nvm_params_82571()
260 switch (hw->mac.type) { in e1000_init_nvm_params_82571()
286 struct e1000_mac_info *mac = &hw->mac; in e1000_init_mac_params_82571() local
299 mac->ops.setup_physical_interface = in e1000_init_mac_params_82571()
301 mac->ops.check_for_link = e1000_check_for_fiber_link_generic; in e1000_init_mac_params_82571()
302 mac->ops.get_link_up_info = in e1000_init_mac_params_82571()
310 mac->ops.setup_physical_interface = in e1000_init_mac_params_82571()
312 mac->ops.check_for_link = e1000_check_for_serdes_link_82571; in e1000_init_mac_params_82571()
[all …]
H A De1000_82540.c94 switch (hw->mac.type) { in e1000_init_phy_params_82540()
160 struct e1000_mac_info *mac = &hw->mac; in e1000_init_mac_params_82540() local
183 mac->mta_reg_count = 128; in e1000_init_mac_params_82540()
185 mac->rar_entry_count = E1000_RAR_ENTRIES; in e1000_init_mac_params_82540()
190 mac->ops.get_bus_info = e1000_get_bus_info_pci_generic; in e1000_init_mac_params_82540()
192 mac->ops.set_lan_id = e1000_set_lan_id_multi_port_pci; in e1000_init_mac_params_82540()
194 mac->ops.reset_hw = e1000_reset_hw_82540; in e1000_init_mac_params_82540()
196 mac->ops.init_hw = e1000_init_hw_82540; in e1000_init_mac_params_82540()
198 mac->ops.setup_link = e1000_setup_link_generic; in e1000_init_mac_params_82540()
200 mac->ops.setup_physical_interface = in e1000_init_mac_params_82540()
[all …]
H A De1000_82542.c102 struct e1000_mac_info *mac = &hw->mac; in e1000_init_mac_params_82542() local
110 mac->mta_reg_count = 128; in e1000_init_mac_params_82542()
112 mac->rar_entry_count = E1000_RAR_ENTRIES; in e1000_init_mac_params_82542()
117 mac->ops.get_bus_info = e1000_get_bus_info_82542; in e1000_init_mac_params_82542()
119 mac->ops.set_lan_id = e1000_set_lan_id_multi_port_pci; in e1000_init_mac_params_82542()
121 mac->ops.reset_hw = e1000_reset_hw_82542; in e1000_init_mac_params_82542()
123 mac->ops.init_hw = e1000_init_hw_82542; in e1000_init_mac_params_82542()
125 mac->ops.setup_link = e1000_setup_link_82542; in e1000_init_mac_params_82542()
127 mac->ops.setup_physical_interface = in e1000_init_mac_params_82542()
130 mac->ops.check_for_link = e1000_check_for_fiber_link_generic; in e1000_init_mac_params_82542()
[all …]
H A De1000_82543.c108 phy->ops.read_reg = (hw->mac.type == e1000_82543) in e1000_init_phy_params_82543()
111 phy->ops.reset = (hw->mac.type == e1000_82543) in e1000_init_phy_params_82543()
114 phy->ops.write_reg = (hw->mac.type == e1000_82543) in e1000_init_phy_params_82543()
138 switch (hw->mac.type) { in e1000_init_phy_params_82543()
193 struct e1000_mac_info *mac = &hw->mac; in e1000_init_mac_params_82543() local
209 mac->mta_reg_count = 128; in e1000_init_mac_params_82543()
211 mac->rar_entry_count = E1000_RAR_ENTRIES; in e1000_init_mac_params_82543()
216 mac->ops.get_bus_info = e1000_get_bus_info_pci_generic; in e1000_init_mac_params_82543()
218 mac->ops.set_lan_id = e1000_set_lan_id_multi_port_pci; in e1000_init_mac_params_82543()
220 mac->ops.reset_hw = e1000_reset_hw_82543; in e1000_init_mac_params_82543()
[all …]
H A De1000_vf.c93 struct e1000_mac_info *mac = &hw->mac; in e1000_init_mac_params_vf() local
106 mac->asf_firmware_present = FALSE; in e1000_init_mac_params_vf()
108 mac->arc_subsystem_valid = FALSE; in e1000_init_mac_params_vf()
110 mac->adaptive_ifs = FALSE; in e1000_init_mac_params_vf()
112 mac->mta_reg_count = 128; in e1000_init_mac_params_vf()
114 mac->rar_entry_count = 1; in e1000_init_mac_params_vf()
118 mac->ops.setup_link = e1000_setup_link_vf; in e1000_init_mac_params_vf()
120 mac->ops.get_bus_info = e1000_get_bus_info_pcie_vf; in e1000_init_mac_params_vf()
122 mac->ops.reset_hw = e1000_reset_hw_vf; in e1000_init_mac_params_vf()
124 mac->ops.init_hw = e1000_init_hw_vf; in e1000_init_mac_params_vf()
[all …]
/dflybsd-src/crypto/libressl/crypto/pkcs12/
H A Dp12_mutl.c79 return p12->mac != NULL; in PKCS12_mac_present()
87 if (p12->mac == NULL) { in PKCS12_get0_mac()
100 *pmac = p12->mac->dinfo->digest; in PKCS12_get0_mac()
102 *pmacalg = p12->mac->dinfo->algor; in PKCS12_get0_mac()
104 *psalt = p12->mac->salt; in PKCS12_get0_mac()
106 *piter = p12->mac->iter; in PKCS12_get0_mac()
112 unsigned char *mac, unsigned int *maclen) in PKCS12_gen_mac() argument
126 salt = p12->mac->salt->data; in PKCS12_gen_mac()
127 saltlen = p12->mac->salt->length; in PKCS12_gen_mac()
130 if (p12->mac->iter != NULL) { in PKCS12_gen_mac()
[all …]
/dflybsd-src/sys/dev/netif/ix/
H A Dixgbe_x540.c61 struct ixgbe_mac_info *mac = &hw->mac; in ixgbe_init_ops_X540() local
88 mac->ops.reset_hw = ixgbe_reset_hw_X540; in ixgbe_init_ops_X540()
89 mac->ops.enable_relaxed_ordering = ixgbe_enable_relaxed_ordering_gen2; in ixgbe_init_ops_X540()
90 mac->ops.get_media_type = ixgbe_get_media_type_X540; in ixgbe_init_ops_X540()
91 mac->ops.get_supported_physical_layer = in ixgbe_init_ops_X540()
93 mac->ops.read_analog_reg8 = NULL; in ixgbe_init_ops_X540()
94 mac->ops.write_analog_reg8 = NULL; in ixgbe_init_ops_X540()
95 mac->ops.start_hw = ixgbe_start_hw_X540; in ixgbe_init_ops_X540()
96 mac->ops.get_san_mac_addr = ixgbe_get_san_mac_addr_generic; in ixgbe_init_ops_X540()
97 mac->ops.set_san_mac_addr = ixgbe_set_san_mac_addr_generic; in ixgbe_init_ops_X540()
[all …]
H A Dixgbe_api.c69 if (hw->mac.ops.get_rtrup2tc) in ixgbe_dcb_get_rtrup2tc()
70 hw->mac.ops.get_rtrup2tc(hw, map); in ixgbe_dcb_get_rtrup2tc()
96 switch (hw->mac.type) { in ixgbe_init_shared_code()
119 hw->mac.max_link_up_time = IXGBE_LINK_UP_TIME; in ixgbe_init_shared_code()
158 hw->mac.type = ixgbe_mac_82598EB; in ixgbe_set_mac_type()
176 hw->mac.type = ixgbe_mac_82599EB; in ixgbe_set_mac_type()
181 hw->mac.type = ixgbe_mac_X540; in ixgbe_set_mac_type()
186 hw->mac.type = ixgbe_mac_X550; in ixgbe_set_mac_type()
195 hw->mac.type = ixgbe_mac_X550EM_x; in ixgbe_set_mac_type()
209 hw->mac.type = ixgbe_mac_X550EM_a; in ixgbe_set_mac_type()
[all …]
H A Dixgbe_82599.c63 struct ixgbe_mac_info *mac = &hw->mac; in ixgbe_init_mac_link_ops_82599() local
71 if ((mac->ops.get_media_type(hw) == ixgbe_media_type_fiber) && in ixgbe_init_mac_link_ops_82599()
73 mac->ops.disable_tx_laser = in ixgbe_init_mac_link_ops_82599()
75 mac->ops.enable_tx_laser = in ixgbe_init_mac_link_ops_82599()
77 mac->ops.flap_tx_laser = ixgbe_flap_tx_laser_multispeed_fiber; in ixgbe_init_mac_link_ops_82599()
80 mac->ops.disable_tx_laser = NULL; in ixgbe_init_mac_link_ops_82599()
81 mac->ops.enable_tx_laser = NULL; in ixgbe_init_mac_link_ops_82599()
82 mac->ops.flap_tx_laser = NULL; in ixgbe_init_mac_link_ops_82599()
87 mac->ops.setup_link = ixgbe_setup_mac_link_multispeed_fiber; in ixgbe_init_mac_link_ops_82599()
88 mac->ops.setup_mac_link = ixgbe_setup_mac_link_82599; in ixgbe_init_mac_link_ops_82599()
[all …]
H A Dixgbe_82598.c121 struct ixgbe_mac_info *mac = &hw->mac; in ixgbe_init_ops_82598() local
134 mac->ops.start_hw = ixgbe_start_hw_82598; in ixgbe_init_ops_82598()
135 mac->ops.enable_relaxed_ordering = ixgbe_enable_relaxed_ordering_82598; in ixgbe_init_ops_82598()
136 mac->ops.reset_hw = ixgbe_reset_hw_82598; in ixgbe_init_ops_82598()
137 mac->ops.get_media_type = ixgbe_get_media_type_82598; in ixgbe_init_ops_82598()
138 mac->ops.get_supported_physical_layer = in ixgbe_init_ops_82598()
140 mac->ops.read_analog_reg8 = ixgbe_read_analog_reg8_82598; in ixgbe_init_ops_82598()
141 mac->ops.write_analog_reg8 = ixgbe_write_analog_reg8_82598; in ixgbe_init_ops_82598()
142 mac->ops.set_lan_id = ixgbe_set_lan_id_multi_port_pcie_82598; in ixgbe_init_ops_82598()
143 mac->ops.enable_rx_dma = ixgbe_enable_rx_dma_82598; in ixgbe_init_ops_82598()
[all …]
H A Dixgbe_x550.c56 struct ixgbe_mac_info *mac = &hw->mac; in ixgbe_init_ops_X550() local
63 mac->ops.dmac_config = ixgbe_dmac_config_X550; in ixgbe_init_ops_X550()
64 mac->ops.dmac_config_tcs = ixgbe_dmac_config_tcs_X550; in ixgbe_init_ops_X550()
65 mac->ops.dmac_update_tcs = ixgbe_dmac_update_tcs_X550; in ixgbe_init_ops_X550()
66 mac->ops.setup_eee = NULL; in ixgbe_init_ops_X550()
67 mac->ops.set_source_address_pruning = in ixgbe_init_ops_X550()
69 mac->ops.set_ethertype_anti_spoofing = in ixgbe_init_ops_X550()
72 mac->ops.get_rtrup2tc = ixgbe_dcb_get_rtrup2tc_generic; in ixgbe_init_ops_X550()
82 mac->ops.disable_mdd = ixgbe_disable_mdd_X550; in ixgbe_init_ops_X550()
83 mac->ops.enable_mdd = ixgbe_enable_mdd_X550; in ixgbe_init_ops_X550()
[all …]
/dflybsd-src/usr.sbin/vknetd/
H A Dmac.c47 static struct mac MacAry[NMACS]; in mac_init()
93 mac_t mac; in mac_add() local
98 mac = TAILQ_LAST(&LRUList, mac_list); in mac_add()
99 if (mac->bridge) in mac_add()
100 mac_delete(mac); in mac_add()
106 bcopy(macbuf, mac->macbuf, 6); in mac_add()
107 TAILQ_INSERT_TAIL(&bridge->mac_list, mac, bridge_entry); in mac_add()
109 hashp = &MacHash[machash(mac->macbuf)]; in mac_add()
110 mac->mac_next = *hashp; in mac_add()
111 *hashp = mac; in mac_add()
[all …]
H A Dbridge.c66 mac_t mac; in bridge_del() local
70 while ((mac = TAILQ_FIRST(&bridge->mac_list)) != NULL) in bridge_del()
71 mac_delete(mac); in bridge_del()
85 mac_t mac; in bridge_packet() local
88 mac = mac_find(pkt + 6); in bridge_packet()
89 if (mac == NULL) { in bridge_packet()
91 } else if (mac->bridge != bridge) { in bridge_packet()
92 mac_delete(mac); in bridge_packet()
96 if (mac_broadcast(pkt + 0) == 0 && (mac = mac_find(pkt + 0)) != NULL) { in bridge_packet()
97 if (mac->bridge != bridge && in bridge_packet()
[all …]
/dflybsd-src/contrib/wpa_supplicant/src/crypto/
H A Dcrypto_nettle.c52 const u8 *addr[], const size_t *len, u8 *mac) in nettle_digest_vector() argument
66 alg->digest(ctx, alg->digest_size, mac); in nettle_digest_vector()
72 int md4_vector(size_t num_elem, const u8 *addr[], const size_t *len, u8 *mac) in md4_vector() argument
74 return nettle_digest_vector(&nettle_md4, num_elem, addr, len, mac); in md4_vector()
78 int md5_vector(size_t num_elem, const u8 *addr[], const size_t *len, u8 *mac) in md5_vector() argument
80 return nettle_digest_vector(&nettle_md5, num_elem, addr, len, mac); in md5_vector()
84 int sha1_vector(size_t num_elem, const u8 *addr[], const size_t *len, u8 *mac) in sha1_vector() argument
86 return nettle_digest_vector(&nettle_sha1, num_elem, addr, len, mac); in sha1_vector()
90 int sha256_vector(size_t num_elem, const u8 *addr[], const size_t *len, u8 *mac) in sha256_vector() argument
92 return nettle_digest_vector(&nettle_sha256, num_elem, addr, len, mac); in sha256_vector()
[all …]
H A Dcrypto_gnutls.c21 const u8 *addr[], const size_t *len, u8 *mac) in gnutls_digest_vector() argument
36 memcpy(mac, p, gcry_md_get_algo_dlen(algo)); in gnutls_digest_vector()
42 int md4_vector(size_t num_elem, const u8 *addr[], const size_t *len, u8 *mac) in md4_vector() argument
44 return gnutls_digest_vector(GCRY_MD_MD4, num_elem, addr, len, mac); in md4_vector()
71 int md5_vector(size_t num_elem, const u8 *addr[], const size_t *len, u8 *mac) in md5_vector() argument
73 return gnutls_digest_vector(GCRY_MD_MD5, num_elem, addr, len, mac); in md5_vector()
77 int sha1_vector(size_t num_elem, const u8 *addr[], const size_t *len, u8 *mac) in sha1_vector() argument
79 return gnutls_digest_vector(GCRY_MD_SHA1, num_elem, addr, len, mac); in sha1_vector()
83 int sha256_vector(size_t num_elem, const u8 *addr[], const size_t *len, u8 *mac) in sha256_vector() argument
85 return gnutls_digest_vector(GCRY_MD_SHA256, num_elem, addr, len, mac); in sha256_vector()
[all …]
/dflybsd-src/tools/tools/net80211/w00t/ap/
H A Dap.c41 char mac[6]; member
54 char mac[6]; member
99 memcpy(wh->i_addr2, p->mac, 6); in fill_basic()
165 memcpy(wh->i_addr3, p->mac, 6); in send_beacon()
187 void send_pres(struct params *p, char *mac) in send_pres() argument
197 memcpy(wh->i_addr1, mac, 6); in send_pres()
198 memcpy(wh->i_addr3, p->mac, 6); in send_pres()
235 void send_auth(struct params* p, char *mac) in send_auth() argument
246 memcpy(wh->i_addr1, mac, 6); in send_auth()
247 memcpy(wh->i_addr3, p->mac, 6); in send_auth()
[all …]

1234567891011