Changeset 105353 in vbox for trunk/src/VBox/Devices/Network/slirp
- Timestamp:
- Jul 16, 2024 11:47:19 AM (5 months ago)
- Location:
- trunk/src/VBox/Devices/Network/slirp
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Devices/Network/slirp/hostres.c
r98103 r105353 175 175 176 176 177 static voidhostres_async(struct response *res);178 static voidhostres_slirp_reply(struct response *res);177 static DECLCALLBACK(void) hostres_async(struct response *res); 178 static DECLCALLBACK(void) hostres_slirp_reply(struct response *res); 179 179 180 180 … … 205 205 res->end = res->qlen = mlen; 206 206 207 rc = slirp_call_hostres(pData->pvUser, NULL, 0, 208 RTREQFLAGS_VOID | RTREQFLAGS_NO_WAIT, 209 (PFNRT)hostres_async, 1, res); 210 207 rc = slirp_call_hostres(pData->pvUser, NULL, 0, RTREQFLAGS_VOID | RTREQFLAGS_NO_WAIT, (PFNRT)hostres_async, 1, res); 211 208 if (RT_FAILURE(rc)) 212 209 { … … 341 338 free_labels(res->labels); 342 339 343 rc = slirp_call(res->pData->pvUser, NULL, 0, 344 RTREQFLAGS_VOID | RTREQFLAGS_NO_WAIT, 345 (PFNRT)hostres_slirp_reply, 1, res); 346 340 rc = slirp_call(res->pData->pvUser, NULL, 0, RTREQFLAGS_VOID | RTREQFLAGS_NO_WAIT, (PFNRT)hostres_slirp_reply, 1, res); 347 341 if (RT_FAILURE(rc)) 348 342 { -
trunk/src/VBox/Devices/Network/slirp/libslirp.h
r98103 r105353 84 84 85 85 int slirp_call(void *pvUser, PRTREQ *ppReq, RTMSINTERVAL cMillies, 86 unsigned fFlags, PFNRT pfnFunction, unsigned cArgs, ...) ;86 unsigned fFlags, PFNRT pfnFunction, unsigned cArgs, ...) RT_IPRT_CALL_ATTR(5, 6, 7); 87 87 88 88 int slirp_call_hostres(void *pvUser, PRTREQ *ppReq, RTMSINTERVAL cMillies, 89 unsigned fFlags, PFNRT pfnFunction, unsigned cArgs, ...) ;89 unsigned fFlags, PFNRT pfnFunction, unsigned cArgs, ...) RT_IPRT_CALL_ATTR(5, 6, 7); 90 90 91 91
Note:
See TracChangeset
for help on using the changeset viewer.