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

/illumos-gate/usr/src/stand/lib/inet/
H A Dmac_impl.h41 struct mac_type { struct
42 int mac_type; /* if_types.h */ member in struct:mac_type
H A Dmac.h52 extern struct mac_type mac_state; /* in mac.c */
H A Dmac.c57 struct mac_type mac_state;
164 mac_state.mac_type = IFT_ATM;
189 mac_state.mac_type = IFT_FDDI;
213 mac_state.mac_type = IFT_ISO88025;
233 mac_state.mac_type = IFT_IB;
240 mac_state.mac_type = IFT_ETHER;
383 return (mac_state.mac_type);
/illumos-gate/usr/src/uts/common/io/chxge/com/
H A Despi.h46 int t1_espi_init(struct peespi *espi, int mac_type, int nports);
H A Despi.c263 int t1_espi_init(struct peespi *espi, int mac_type, int nports) argument
280 if (mac_type == CHBT_MAC_PM3393)
282 else if (mac_type == CHBT_MAC_VSC7321)
284 else if (mac_type == CHBT_MAC_IXF1010) {
/illumos-gate/usr/src/grub/grub-0.97/netboot/
H A De1000.c149 ((a)->mac_type >= e1000_82543) ? \
154 ((a)->mac_type >= e1000_82543) ? \
159 ((a)->mac_type >= e1000_82543) ? \
164 ((a)->mac_type >= e1000_82543) ? \
344 if(hw->mac_type > e1000_82544) {
474 if(hw->mac_type > e1000_82544) {
658 if(((hw->mac_type == e1000_82546) || (hw->mac_type == e1000_82546_rev_3)) &&
772 if((hw->mac_type == e1000_82541) ||
773 (hw->mac_type
[all...]
H A De1000_hw.h893 e1000_mac_type mac_type; member in struct:e1000_hw
/illumos-gate/usr/src/cmd/cmd-inet/usr.sbin/snoop/
H A Dsnoop_capture.c156 for (interface = &INTERFACES[0]; interface->mac_type != -1; interface++)
157 if (interface->mac_type == dlinfo.di_mactype)
161 if (interface->mac_type == -1) {
653 for (interface = &INTERFACES[0]; interface->mac_type != -1;
655 if (interface->mac_type == device_mac_type)
658 if (interface->mac_type == -1)
705 mac = htonl(interface->mac_type);
707 cap_write_error("mac_type");
H A Dsnoop_filter.c942 switch (interface->mac_type) {
1434 switch (interface->mac_type) {
1455 generate_check(match_types, i, interface->mac_type);
1813 switch (interface->mac_type) {
1900 if (interface->mac_type == DL_ETHER ||
1901 interface->mac_type == DL_CSMACD) {
1915 if (interface->mac_type == DL_ETHER ||
1916 interface->mac_type == DL_CSMACD) {
2215 if (interface->mac_type == DL_IB)
2227 if (interface->mac_type
[all...]
H A Dsnoop_pf.c1038 if ((interface->mac_type == DL_ETHER ||
1039 interface->mac_type == DL_CSMACD) &&
1554 if (interface->mac_type == DL_ETHER) {
1566 if (interface->mac_type == DL_IB) {
1577 if (interface->mac_type == DL_IPNET) {
H A Dsnoop.h274 * The mac_type is one of the supported DLPI media
294 uint_t mac_type; member in struct:interface
/illumos-gate/usr/src/uts/common/sys/
H A Dmac.h617 extern int mac_type(mac_handle_t);
H A Dgldpriv.h239 * The mac_type is one of the supported DLPI media types (see <sys/dlpi.h>).
246 uint_t mac_type; member in struct:__anon7868
/illumos-gate/usr/src/uts/common/io/bnxe/577xx/drivers/common/lm/device/
H A Dlm_stats.c623 if (HAS_MSTAT(pdev) || (pdev->vars.mac_type == MAC_TYPE_BMAC))
627 else if(pdev->vars.mac_type == MAC_TYPE_EMAC)
633 DbgBreakIf((pdev->vars.mac_type != MAC_TYPE_EMAC) && (pdev->vars.mac_type != MAC_TYPE_BMAC));
744 if( MAC_TYPE_NONE == pdev->vars.mac_type )
802 switch( pdev->vars.mac_type )
818 DbgBreakMsg( "mac_type not acceptable\n" ) ;
2527 else if (CHIP_IS_E2(pdev) && (pdev->vars.mac_type == MAC_TYPE_BMAC))
2531 else if (pdev->vars.mac_type == MAC_TYPE_BMAC)
2535 else if(pdev->vars.mac_type
[all...]
H A Dlm_phy.c806 pdev->vars.mac_type = MAC_TYPE_NONE;
902 pdev->vars.mac_type = pdev->vars.link.mac_type;
903 DbgBreakIf(pdev->vars.mac_type >= MAC_TYPE_MAX);
924 pdev->vars.mac_type = MAC_TYPE_NONE;
H A Dlm_resc.c2468 pdev->vars.mac_type = MAC_TYPE_NONE;
H A Dlm_dcbx.c3642 if(pdev->vars.mac_type == MAC_TYPE_EMAC)
/illumos-gate/usr/src/uts/common/inet/sockmods/
H A Dsockmod_pfp.c387 if (mac_type(ps->ps_mh) == DL_ETHER &&
1038 ifreq.ifr_addr.sa_family = pfp_dl_to_arphrd(mac_type(mh));
1058 sock->sdl_type = mac_type(mh);
/illumos-gate/usr/src/uts/common/io/bnxe/577xx/hsi/hw/include/
H A Dclc.h476 u8 mac_type; member in struct:elink_vars
/illumos-gate/usr/src/uts/common/inet/ip/
H A Dip_arp.c64 static arp_m_t *arp_m_lookup(t_uscalar_t mac_type);
347 arp_m_lookup(t_uscalar_t mac_type) argument
352 if (arm->arp_mac_type == mac_type)
H A Dip_if.c130 static ip_m_t *ip_m_lookup(t_uscalar_t mac_type);
5337 * Return a pointer to the mac type info for 'mac_type'
5340 ip_m_lookup(t_uscalar_t mac_type) argument
5345 if (ipm->ip_m_mac_type == mac_type)
/illumos-gate/usr/src/uts/common/io/bnxe/577xx/common/
H A Dbnxe_clc.c1595 if (vars->mac_type == ELINK_MAC_TYPE_EMAC) {
1837 vars->mac_type = ELINK_MAC_TYPE_UMAC;
1997 vars->mac_type = ELINK_MAC_TYPE_XMAC;
2174 vars->mac_type = ELINK_MAC_TYPE_EMAC;
2483 if (vars->mac_type == ELINK_MAC_TYPE_XMAC)
2702 vars->mac_type = ELINK_MAC_TYPE_BMAC;
5405 vars->mac_type = ELINK_MAC_TYPE_XMAC;
5407 vars->mac_type = ELINK_MAC_TYPE_BMAC;
5410 vars->mac_type = ELINK_MAC_TYPE_UMAC;
5412 vars->mac_type
[all...]
/illumos-gate/usr/src/uts/common/io/bnxe/577xx/drivers/common/lm/include/
H A Dlm5710.h2204 mac_type_t mac_type; member in struct:_lm_variables_t
/illumos-gate/usr/src/uts/common/io/mac/
H A Dmac_client.c454 mac_type(mac_handle_t mh) function
/illumos-gate/usr/src/uts/common/io/
H A Dgld.c629 if (mediatype != interfaces[i].mac_type)

Completed in 298 milliseconds