Searched refs:pAdapterAddrs (Results 1 – 2 of 2) sorted by relevance
/external/usrsctp/usrsctplib/netinet/ |
D | sctp_userspace.c | 146 PIP_ADAPTER_ADDRESSES pAdapterAddrs, pAdapt; in sctp_userspace_get_mtu_from_ifn() local 152 pAdapterAddrs = NULL; in sctp_userspace_get_mtu_from_ifn() 160 if ((pAdapterAddrs = (PIP_ADAPTER_ADDRESSES) GlobalAlloc(GPTR, AdapterAddrsSize)) == NULL) { in sctp_userspace_get_mtu_from_ifn() 165 …if ((Err = GetAdaptersAddresses(AF_UNSPEC, 0, NULL, pAdapterAddrs, &AdapterAddrsSize)) != ERROR_SU… in sctp_userspace_get_mtu_from_ifn() 170 for (pAdapt = pAdapterAddrs; pAdapt; pAdapt = pAdapt->Next) { in sctp_userspace_get_mtu_from_ifn() 177 if (pAdapterAddrs != NULL) { in sctp_userspace_get_mtu_from_ifn() 178 GlobalFree(pAdapterAddrs); in sctp_userspace_get_mtu_from_ifn()
|
D | sctp_bsd_addr.c | 327 PIP_ADAPTER_ADDRESSES pAdapterAddrs, pAdapt; local 343 if ((pAdapterAddrs = (PIP_ADAPTER_ADDRESSES) GlobalAlloc(GPTR, AdapterAddrsSize)) == NULL) { 348 …if ((Err = GetAdaptersAddresses(AF_INET, 0, NULL, pAdapterAddrs, &AdapterAddrsSize)) != ERROR_SUCC… 350 FREE(pAdapterAddrs); 354 for (pAdapt = pAdapterAddrs; pAdapt; pAdapt = pAdapt->Next) { 375 FREE(pAdapterAddrs); 388 if ((pAdapterAddrs = (PIP_ADAPTER_ADDRESSES) GlobalAlloc(GPTR, AdapterAddrsSize)) == NULL) { 393 …if ((Err = GetAdaptersAddresses(AF_INET6, 0, NULL, pAdapterAddrs, &AdapterAddrsSize)) != ERROR_SUC… 395 FREE(pAdapterAddrs); 399 for (pAdapt = pAdapterAddrs; pAdapt; pAdapt = pAdapt->Next) { [all …]
|