Lines Matching refs:pNATState

157     PNATState               pNATState;
304 slirp_ext_m_free(pThis->pNATState, m, pu8Buf);
350 slirp_ext_m_free(pThis->pNATState, m, pu8Buf);
371 slirp_ext_m_free(pThis->pNATState, (struct mbuf *)pSgBuf->pvAllocator, NULL);
405 slirp_input(pThis->pNATState, m, pSgBuf->cbUsed);
423 m = slirp_ext_m_get(pThis->pNATState, pGso->cbHdrsTotal + pGso->cbMaxSeg, &pvSeg, &cbSeg);
433 slirp_input(pThis->pNATState, m, cbPayload + cbHdrs);
440 slirp_input(pThis->pNATState, m, cbSegFrame);
502 pSgBuf->pvAllocator = slirp_ext_m_get(pThis->pNATState, cbMin,
641 slirp_link_up(pThis->pNATState);
647 slirp_link_down(pThis->pNATState);
710 slirp_remove_redirect(pThis->pNATState, fUdp, hostIp, u16HostPort, guestIp, u16GuestPort);
712 slirp_add_redirect(pThis->pNATState, fUdp, hostIp, u16HostPort, guestIp, u16GuestPort, Mac.au8);
756 HANDLE *phEvents = slirp_get_events(pThis->pNATState);
779 nFDs = slirp_get_nsock(pThis->pNATState);
786 slirp_select_fill(pThis->pNATState, &nFDs, &polls[1]);
793 int cChangedFDs = poll(polls, nFDs + 1, slirp_get_timeout_ms(pThis->pNATState));
811 slirp_select_poll(pThis->pNATState, &polls[1], nFDs);
837 slirp_select_fill(pThis->pNATState, &nFDs);
839 slirp_get_timeout_ms(pThis->pNATState),
852 slirp_select_poll(pThis->pNATState, /* fTimeout=*/true);
857 slirp_select_poll(pThis->pNATState, /* fTimeout=*/false);
1063 slirp_set_ethaddr_and_activate_port_forwarding(pThis->pNATState, Mac.au8, pThis->GuestIP);
1121 slirpReleaseDnsSettings(pThis->pNATState);
1122 slirpInitializeDnsSettings(pThis->pNATState);
1141 int strategy = slirp_host_network_configuration_change_strategy_selector(pThis->pNATState);
1192 slirp_info(pThis->pNATState, pHlp, pszArgs);
1229 slirp_add_host_resolver_mapping(pThis->pNATState, fMatch ? NULL : szHostNameOrPattern, fMatch ? szHostNameOrPattern : NULL, HostIP.s_addr);
1314 if (slirp_add_redirect(pThis->pNATState, fUDP, BindIP, iHostPort, GuestIP, iGuestPort, Mac.au8) < 0)
1340 if (pThis->pNATState)
1342 slirp_term(pThis->pNATState);
1343 slirp_deregister_statistics(pThis->pNATState, pDrvIns);
1349 pThis->pNATState = NULL;
1397 pThis->pNATState = NULL;
1515 rc = slirp_init(&pThis->pNATState, RT_H2N_U32(Network.u), Netmask.u,
1520 slirp_set_dhcp_TFTP_prefix(pThis->pNATState, pThis->pszTFTPPrefix);
1521 slirp_set_dhcp_TFTP_bootfile(pThis->pNATState, pThis->pszBootFile);
1522 slirp_set_dhcp_next_server(pThis->pNATState, pThis->pszNextServer);
1523 slirp_set_dhcp_dns_proxy(pThis->pNATState, !!fDNSProxy);
1524 slirp_set_mtu(pThis->pNATState, MTU);
1525 slirp_set_somaxconn(pThis->pNATState, i32SoMaxConn);
1528 rc = slirp_set_binding_address(pThis->pNATState, pszBindIP);
1540 setter(pThis->pNATState, len); \
1548 slirp_register_statistics(pThis->pNATState, pDrvIns);
1618 slirp_register_external_event(pThis->pNATState, pThis->hWakeupEvent,
1687 slirp_term(pThis->pNATState);
1688 pThis->pNATState = NULL;