Searched refs:mac (Results 201 - 225 of 646) sorted by relevance

1234567891011>>

/freebsd-11-stable/tools/tools/net80211/w00t/expand/
H A Dexpand.c67 char mac[6]; member in struct:params
108 if (memcmp(p->mac, sa, 6) == 0)
205 memcpy(wh->i_addr2, p->mac, 6);
351 (memcmp(p->mac, wh->i_addr3, 6) == 0)) {
429 memcpy(p.mac, "\x00\x00\xde\xfa\xce\xd", 6);
460 if (set_iface_mac(tap, p.mac) == -1)
/freebsd-11-stable/sys/dev/ixgbe/
H A Dixgbe_mbx.c493 switch (hw->mac.type) {
634 if (hw->mac.type != ixgbe_mac_82599EB &&
635 hw->mac.type != ixgbe_mac_X550 &&
636 hw->mac.type != ixgbe_mac_X550EM_x &&
637 hw->mac.type != ixgbe_mac_X550EM_a &&
638 hw->mac.type != ixgbe_mac_X540)
H A Dif_sriov.c60 pci_iov_schema_add_unicast_mac(vf_schema, "mac-addr", 0, NULL);
61 pci_iov_schema_add_bool(vf_schema, "mac-anti-spoof",
63 pci_iov_schema_add_bool(vf_schema, "allow-set-mac",
122 ixgbe_vf_mac_changed(struct ixgbe_vf *vf, const uint8_t *mac) argument
124 return (bcmp(mac, vf->ether_addr, ETHER_ADDR_LEN) != 0);
261 if (adapter->hw.mac.type != ixgbe_mac_82599EB)
371 resp[3] = hw->mac.mc_filter_type;
379 uint8_t *mac; local
381 mac = (uint8_t*)&msg[1];
384 if (!(vf->flags & IXGBE_VF_CAP_MAC) && ixgbe_vf_mac_changed(vf, mac)) {
861 const void *mac; local
[all...]
/freebsd-11-stable/contrib/ntp/include/
H A Dntp_types.h47 * On NetBSD for MAC the macro "mac" is defined as 1
49 * optional "mac" member - severe confusion results 8-)
53 #ifdef mac
54 #undef mac macro
/freebsd-11-stable/sys/mips/atheros/
H A Dar91xx_chip.c162 ar91xx_chip_get_eth_pll(unsigned int mac, int speed) argument
177 printf("%s%d: invalid speed %d\n", __func__, mac, speed);
H A Dar933x_chip.c218 ar933x_chip_get_eth_pll(unsigned int mac, int speed) argument
233 printf("%s%d: invalid speed %d\n", __func__, mac, speed);
/freebsd-11-stable/crypto/openssh/regress/
H A Dintegrity.sh10 macs=`${SSH} -Q mac`
24 trace "test $tid: mac $m"
63 *) fail "unexpected error mac $m at $off: $out";;
66 verbose "test $tid: $ecnt errors: mac $emac padding $epad length $elen"
68 fail "$m: no mac errors"
72 fail "$m: expected $expect mac errors, got $emac"
/freebsd-11-stable/sys/dev/qlnx/qlnxe/
H A Decore_vf_api.h103 * @brief Get port mac address for VF
106 * @param port_mac - destination location for port mac
133 * @param mac
137 bool ecore_vf_check_mac(struct ecore_hwfn *p_hwfn, u8 *mac);
145 * @param p_is_forced - out param which indicate in case mac
148 * @return bool - return true if mac exist and false if
222 static OSAL_INLINE bool ecore_vf_check_mac(struct ecore_hwfn OSAL_UNUSED *p_hwfn, u8 OSAL_UNUSED *mac) {return false;} argument
H A Decore_l2.h167 u8 ecore_mcast_bin_from_mac(u8 *mac);
/freebsd-11-stable/sys/dev/mlx5/mlx5_lib/
H A Dmlx5_gid.c125 const u8 *mac, bool vlan, u16 vlan_id)
146 ether_addr_copy(addr_mac, mac);
123 mlx5_core_roce_gid_set(struct mlx5_core_dev *dev, unsigned int index, u8 roce_version, u8 roce_l3_type, const u8 *gid, const u8 *mac, bool vlan, u16 vlan_id) argument
/freebsd-11-stable/tests/sys/opencrypto/
H A Dcryptodev.py54 ('mac', 'I', 0),
65 ('mac', 'I', 0),
86 ('mac', 'P', 0),
158 def __init__(self, cipher=0, key=None, mac=0, mackey=None,
163 ses.mac = mac
180 if not cipher and not mac:
181 raise ValueError('one of cipher or mac MUST be specified.')
211 cop.mac = m.buffer_info()[0]
276 cop.mac
[all...]
/freebsd-11-stable/sys/dev/bwn/
H A Dif_bwn_util.c87 bwn_sqrt(struct bwn_mac *mac, unsigned int x) argument
/freebsd-11-stable/contrib/wpa/src/fst/
H A Dfst_session.h61 int fst_session_set_str_peer_addr(struct fst_session *s, const char *mac,
/freebsd-11-stable/contrib/wpa/src/eap_common/
H A Deap_pax_common.h88 u8 *mac);
/freebsd-11-stable/usr.sbin/iovctl/
H A Dparse.c118 uint8_t mac[ETHER_ADDR_LEN]; local
126 report_config_error(key, obj, "unicast-mac");
137 report_config_error(key, obj, "unicast-mac");
142 report_config_error(key, obj, "unicast-mac");
145 report_config_error(key, obj, "unicast-mac");
148 report_config_error(key, obj, "unicast-mac");
150 mac[i] = value;
157 report_config_error(key, obj, "unicast-mac");
159 if (ETHER_IS_MULTICAST(mac))
163 nvlist_add_binary(config, key, mac, ETHER_ADDR_LE
[all...]
/freebsd-11-stable/sys/kern/
H A Dkern_priv.c43 #include <security/mac/mac_framework.h>
/freebsd-11-stable/sbin/ifconfig/
H A Difmac.c41 #include <sys/mac.h>
/freebsd-11-stable/contrib/unbound/dnscrypt/
H A Ddnscrypt.h88 uint8_t mac[crypto_box_MACBYTES]; member in struct:dnscrypt_query_header
/freebsd-11-stable/sys/net80211/
H A Dieee80211_scan.h191 const uint8_t mac[IEEE80211_ADDR_LEN]);
197 const uint8_t mac[IEEE80211_ADDR_LEN], int reason);
343 const uint8_t mac[IEEE80211_ADDR_LEN],
/freebsd-11-stable/sys/security/mac/
H A Dmac_pipe.c58 #include <security/mac/mac_framework.h>
59 #include <security/mac/mac_internal.h>
60 #include <security/mac/mac_policy.h>
H A Dmac_posix_shm.c53 #include <security/mac/mac_framework.h>
54 #include <security/mac/mac_internal.h>
55 #include <security/mac/mac_policy.h>
H A Dmac_sysv_msg.c61 #include <security/mac/mac_framework.h>
62 #include <security/mac/mac_internal.h>
63 #include <security/mac/mac_policy.h>
/freebsd-11-stable/usr.sbin/bsnmpd/modules/snmp_bridge/
H A Dbridge_snmp.h253 struct tp_entry *bridge_new_addrs(uint8_t *mac, struct bridge_if *bif);
257 struct tp_entry *bridge_addrs_find(uint8_t *mac, struct bridge_if *bif);
320 /* Fetch the bridge mac address. */
321 u_char *bridge_get_basemac(const char *bif_name, u_char *mac, size_t mlen);
/freebsd-11-stable/sys/dev/bxe/
H A Decore_sp.h215 ECORE_CRC32_LE(uint32_t seed, uint8_t *mac, uint32_t len) argument
218 memcpy(((uint8_t *)(&packet_buf[0]))+2, &mac[0], 2);
219 memcpy(&packet_buf[1], &mac[2], 4);
444 uint8_t *mac)
446 ((uint8_t *)fw_hi)[0] = mac[1];
447 ((uint8_t *)fw_hi)[1] = mac[0];
448 ((uint8_t *)fw_mid)[0] = mac[3];
449 ((uint8_t *)fw_mid)[1] = mac[2];
450 ((uint8_t *)fw_lo)[0] = mac[5];
451 ((uint8_t *)fw_lo)[1] = mac[
441 ecore_set_fw_mac_addr(uint16_t *fw_hi, uint16_t *fw_mid, uint16_t *fw_lo, uint8_t *mac) argument
558 uint8_t mac[ETH_ALEN]; member in struct:ecore_mac_ramrod_data
567 uint8_t mac[ETH_ALEN]; member in struct:ecore_vlan_mac_ramrod_data
578 struct ecore_mac_ramrod_data mac; member in union:ecore_classification_ramrod_data
973 uint8_t *mac; member in struct:ecore_mcast_list_elem
977 uint8_t *mac; member in union:ecore_mcast_config_data
[all...]
/freebsd-11-stable/sys/dev/e1000/
H A Dif_igb.h238 #define IGB_RX_PTHRESH ((hw->mac.type == e1000_i354) ? 12 : \
239 ((hw->mac.type <= e1000_82576) ? 16 : 8))
241 #define IGB_RX_WTHRESH ((hw->mac.type == e1000_82576 && \
244 #define IGB_TX_PTHRESH ((hw->mac.type == e1000_i354) ? 20 : 8)
246 #define IGB_TX_WTHRESH ((hw->mac.type != e1000_82575 && \

Completed in 285 milliseconds

1234567891011>>