Lines Matching refs:hClient

115 extern uint16_t mac_client_vid(mac_client_handle_t hClient);
116 extern void mac_client_get_resources(mac_client_handle_t hClient, mac_resource_props_t *pResources);
117 extern int mac_client_set_resources(mac_client_handle_t hClient, mac_resource_props_t *pResources);
229 mac_client_handle_t hClient;
830 AssertReturn(!pVNIC->hClient, VERR_INVALID_POINTER);
832 int rc = mac_client_open(pVNIC->hInterface, &pVNIC->hClient,
840 rc = mac_client_set_resources(pVNIC->hClient, &pVNIC->pVNICTemplate->Resources);
853 mac_client_close(pVNIC->hClient, 0 /* flags */);
854 pVNIC->hClient = NULL;
942 mac_client_handle_t hClient;
943 rc = mac_client_open(hInterface, &hClient,
950 pVNICTemplate->uVLANId = mac_client_vid(hClient);
951 mac_client_get_resources(hClient, &pVNICTemplate->Resources);
952 mac_client_close(hClient, 0 /* fFlags */);
1001 pVNIC->hClient = NULL;
1033 if (pVNIC->hClient)
1038 mac_unicast_remove(pVNIC->hClient, pVNIC->hUnicast);
1049 mac_rx_clear(pVNIC->hClient);
1051 mac_client_close(pVNIC->hClient, 0 /* fFlags */);
1052 pVNIC->hClient = NULL;
1259 rc = mac_promisc_add(pVNIC->hClient, MAC_CLIENT_PROMISC_FILTERED, vboxNetFltSolarisRecv, pThis, &pVNIC->hPromisc,
1299 if (pVNIC->hClient)
1302 mac_rx_set(pVNIC->hClient, vboxNetFltSolarisRecv, pThis);
1310 if (pVNIC->hClient)
1313 mac_rx_clear(pVNIC->hClient);
1453 mac_tx_cookie_t pXmitCookie = mac_tx(pVNIC->hClient, pMsg, 0 /* Hint */, MAC_DROP_ON_NO_DESC, NULL /* return message */);
1506 mac_rx_clear(pVNIC->hClient);
1507 mac_unicast_remove(pVNIC->hClient, pVNIC->hUnicast);
1521 rc = mac_unicast_add(pVNIC->hClient, NULL, MAC_UNICAST_PRIMARY, &pVNIC->hUnicast, 0 /* VLAN Id */, &MacDiag);
1535 mac_rx_set(pVNIC->hClient, vboxNetFltSolarisRecv, pThis);
1540 mac_unicast_remove(pVNIC->hClient, pVNIC->hUnicast);