Searched refs:mac (Results 176 - 200 of 546) sorted by relevance

1234567891011>>

/freebsd-10.0-release/sys/opencrypto/
H A Dcryptodev.h148 u_int32_t mac; /* ie. CRYPTO_MD5_HMAC */ member in struct:session_op
152 int mackeylen; /* mac key */
160 u_int32_t mac; /* ie. CRYPTO_MD5_HMAC */ member in struct:session2_op
164 int mackeylen; /* mac key */
181 caddr_t mac; /* must be big enough for chosen MAC */ member in struct:crypt_op
/freebsd-10.0-release/sys/security/mac/
H A Dmac_pipe.c59 #include <security/mac/mac_framework.h>
60 #include <security/mac/mac_internal.h>
61 #include <security/mac/mac_policy.h>
H A Dmac_posix_shm.c54 #include <security/mac/mac_framework.h>
55 #include <security/mac/mac_internal.h>
56 #include <security/mac/mac_policy.h>
H A Dmac_sysv_msg.c62 #include <security/mac/mac_framework.h>
63 #include <security/mac/mac_internal.h>
64 #include <security/mac/mac_policy.h>
H A Dmac_inet.c74 #include <security/mac/mac_framework.h>
75 #include <security/mac/mac_internal.h>
76 #include <security/mac/mac_policy.h>
/freebsd-10.0-release/usr.sbin/bsnmpd/modules/snmp_bridge/
H A Dbridge_snmp.h251 struct tp_entry *bridge_new_addrs(uint8_t *mac, struct bridge_if *bif);
255 struct tp_entry *bridge_addrs_find(uint8_t *mac, struct bridge_if *bif);
318 /* Fetch the bridge mac address. */
319 u_char *bridge_get_basemac(const char *bif_name, u_char *mac, size_t mlen);
/freebsd-10.0-release/sys/dev/ixgbe/
H A Dixgbe_phy.c380 if (hw->mac.ops.acquire_swfw_sync(hw, gssr) == IXGBE_SUCCESS) {
383 hw->mac.ops.release_swfw_sync(hw, gssr);
486 if (hw->mac.ops.acquire_swfw_sync(hw, gssr) == IXGBE_SUCCESS) {
489 hw->mac.ops.release_swfw_sync(hw, gssr);
970 switch (hw->mac.ops.get_media_type(hw)) {
1006 if (hw->mac.ops.get_media_type(hw) != ixgbe_media_type_fiber) {
1020 hw->mac.ops.set_lan_id(hw);
1062 if (hw->mac.type == ixgbe_mac_82598EB) {
1071 } else if (hw->mac.type == ixgbe_mac_82599EB) {
1213 if (hw->mac
[all...]
H A Dixgbe.c1104 ixgbe_set_rar(hw, 0, adapter->hw.mac.addr, 0, IXGBE_RAH_AV);
1106 /* Get the latest mac address, User can use a LAA */
1107 bcopy(IF_LLADDR(adapter->ifp), hw->mac.addr,
1109 ixgbe_set_rar(hw, 0, hw->mac.addr, 0, 1);
1119 if (hw->mac.type != ixgbe_mac_82598EB)
1166 if (hw->mac.type == ixgbe_mac_82599EB)
1170 if (hw->mac.type == ixgbe_mac_X540)
1209 if (hw->mac.type == ixgbe_mac_82598EB) {
1258 if (hw->mac.type == ixgbe_mac_82598EB)
1269 if (hw->mac
4881 struct ixgbe_mac_info *mac = &hw->mac; local
[all...]
/freebsd-10.0-release/crypto/openssl/crypto/evp/
H A De_aes_cbc_hmac_sha1.c247 unsigned char c[32+SHA_DIGEST_LENGTH]; } mac, *pmac; local
250 pmac = (void *)(((size_t)mac.c+31)&((size_t)0-32));
294 len -= SHA_DIGEST_LENGTH; /* amend mac */
309 mac.c[0] = 0;
310 mac.c[1] = (unsigned char)(bitlen>>16);
311 mac.c[2] = (unsigned char)(bitlen>>8);
312 mac.c[3] = (unsigned char)bitlen;
313 bitlen = mac.u[0];
/freebsd-10.0-release/sys/arm/ti/cpsw/
H A Dif_cpsw.c135 static int cpsw_ale_mc_entry_set(struct cpsw_softc *, uint8_t portmap, uint8_t *mac);
1888 cpsw_ale_mc_entry_set(struct cpsw_softc *sc, uint8_t portmap, uint8_t *mac) argument
1902 if ((((ale_entry[1] >> 8) & 0xFF) == mac[0]) &&
1903 (((ale_entry[1] >> 0) & 0xFF) == mac[1]) &&
1904 (((ale_entry[0] >>24) & 0xFF) == mac[2]) &&
1905 (((ale_entry[0] >>16) & 0xFF) == mac[3]) &&
1906 (((ale_entry[0] >> 8) & 0xFF) == mac[4]) &&
1907 (((ale_entry[0] >> 0) & 0xFF) == mac[5])) {
1920 ale_entry[0] = mac[2] << 24 | mac[
1962 uint8_t *mac; local
[all...]
/freebsd-10.0-release/tools/tools/net80211/w00t/prga/
H A Dprga.c57 char mac[6]; member in struct:params
293 memcpy(wh->i_addr2, p->mac, 6);
387 if (memcmp(p->mac, wh->i_addr1, 6) != 0)
452 if (memcmp(wh->i_addr3, p->mac, 6) != 0)
536 memcpy(wh->i_addr2, p->mac, 6);
611 memcpy(p.mac, "\x00\x00\xde\xfa\xce\x0d", 6);
644 if (set_iface_mac(tap, p.mac) == -1)
/freebsd-10.0-release/sys/dev/e1000/
H A Dif_igb.c510 /* Determine hardware and mac info */
554 adapter->hw.mac.autoneg = DO_AUTO_NEG;
605 if (adapter->hw.mac.type >= e1000_i350) {
616 if (adapter->hw.mac.type == e1000_i354)
626 ** mac from that.
631 if (((adapter->hw.mac.type != e1000_i210) &&
632 (adapter->hw.mac.type != e1000_i211)) &&
657 if (!igb_is_valid_ether_addr(adapter->hw.mac.addr)) {
673 adapter->hw.mac.get_link_status = 1;
1298 /* Get the latest mac addres
[all...]
/freebsd-10.0-release/sys/dev/rt/
H A Dif_rt.c158 macaddr_atoi(const char *str, uint8_t *mac) argument
167 memset(mac, 0, ETHER_ADDR_LEN);
173 mac[i] = (amac[i] & 0xff);
194 * generate_mac(uin8_t *mac)
204 generate_mac(uint8_t *mac) argument
222 mac[0] = 'b';
223 mac[1] = 's';
224 mac[2] = 'd';
225 mac[3] = (crc >> 24) ^ ((crc >> 16) & 0xff);
226 mac[
235 ether_request_mac(device_t dev, uint8_t *mac) argument
[all...]
/freebsd-10.0-release/usr.sbin/ancontrol/
H A Dancontrol.c1307 /* default mac and only valid one (from manual) 1.0.0.0.0.0 */
1308 k->mac[0]=1;
1309 k->mac[1]=0;
1310 k->mac[2]=0;
1311 k->mac[3]=0;
1312 k->mac[4]=0;
1313 k->mac[5]=0;
1377 printf("\tThe active transmit key is %d\n", 4 * home + k->mac[0]);
1412 k->mac[0]=atoi(arg);
1413 k->mac[
[all...]
/freebsd-10.0-release/crypto/openssl/crypto/pkcs12/
H A Dpkcs12.h107 PKCS12_MAC_DATA *mac; member in struct:__anon5193
167 #define PKCS12_mac_present(p12) ((p12)->mac ? 1 : 0)
226 unsigned char *mac, unsigned int *maclen);
H A Dp12_asn.c69 ASN1_OPT(PKCS12, mac, PKCS12_MAC_DATA)
/freebsd-10.0-release/sys/dev/ath/
H A Dah_osdep.c81 extern const char* ath_hal_ether_sprintf(const u_int8_t *mac);
134 ath_hal_ether_sprintf(const u_int8_t *mac) argument
136 return ether_sprintf(mac);
/freebsd-10.0-release/sys/dev/gxemul/ether/
H A Dif_gx.c136 uint8_t mac[6]; local
145 GXEMUL_ETHER_DEV_WRITE(GXEMUL_ETHER_DEV_MAC, (uintptr_t)mac);
190 ether_ifattach(ifp, mac);
/freebsd-10.0-release/tools/tools/net80211/wlanstats/
H A Dwlanstats.c387 uint8_t mac[IEEE80211_ADDR_LEN]; member in struct:wlanstatfoo_p
460 IEEE80211_ADDR_COPY(wf->mac, LLADDR(sdl));
468 wf->ireq.i_data = wf->mac;
474 wlan_setstamac(struct wlanstatfoo *wf0, const uint8_t *mac) argument
479 if (mac == NULL) {
489 * mac must be specified on the command line
492 IEEE80211_ADDR_EQ(wf->mac, zeromac))
502 IEEE80211_ADDR_COPY(wf->mac, mac);
511 IEEE80211_ADDR_COPY(wf->u_info.info.is_u.macaddr, wf->mac);
[all...]
/freebsd-10.0-release/contrib/wpa/src/wps/
H A Dwps_upnp_i.h129 u8 mac_addr[ETH_ALEN]; /* mac addr of network i.f. we use */
163 u8 mac[ETH_ALEN]);
/freebsd-10.0-release/crypto/openssh/
H A Dkex.h118 Mac mac; member in struct:Newkeys
/freebsd-10.0-release/sys/boot/fdt/dts/
H A Ddb78100.dts206 local-mac-address = [ 00 00 00 00 00 00 ];
232 local-mac-address = [ 00 00 00 00 00 00 ];
H A Ddreamplug-1001N.dts241 local-mac-address = [ 00 00 00 00 00 00 ];
268 local-mac-address = [ 00 00 00 00 00 00 ];
/freebsd-10.0-release/sys/contrib/dev/ath/ath_hal/ar9300/
H A Dar9300_stub_funcs.h34 uint16_t entry, const uint8_t *mac);
36 const HAL_KEYVAL *k, const uint8_t *mac, int xorKey);
38 extern void ar9300_Stub_GetMacAddress(struct ath_hal *ah, uint8_t *mac);
40 extern void ar9300_Stub_GetBssIdMask(struct ath_hal *ah, uint8_t *mac);
/freebsd-10.0-release/sys/security/mac_ifoff/
H A Dmac_ifoff.c58 #include <security/mac/mac_policy.h>
68 TUNABLE_INT("security.mac.ifoff.enabled", &ifoff_enabled);
73 TUNABLE_INT("security.mac.ifoff.lo_enabled", &ifoff_lo_enabled);
78 TUNABLE_INT("security.mac.ifoff.other_enabled", &ifoff_other_enabled);
84 TUNABLE_INT("security.mac.ifoff.bpfrecv.enabled", &ifoff_bpfrecv_enabled);

Completed in 394 milliseconds

1234567891011>>