Searched refs:skdata (Results 1 – 2 of 2) sorted by relevance
209 struct socketdata skdata; in socket_send_fd() local218 memset(&skdata, 0, sizeof(skdata)); in socket_send_fd()219 skdata.data = fd; in socket_send_fd()220 skdata.len = sizeof(skdata.data); in socket_send_fd()221 status = sendtosocket(sockfd, &skdata); in socket_send_fd()234 struct socketdata skdata; in socket_receive_fd() local242 memset(&skdata, 0, sizeof(skdata)); in socket_receive_fd()243 status = receivefromsocket(sockfd, &skdata); in socket_receive_fd()249 fd = (int)skdata.data; in socket_receive_fd()
105 int sendtosocket(int sockfd, struct socketdata *skdata) in sendtosocket() argument116 if (!skdata) { in sendtosocket()135 buffd = skdata->data; in sendtosocket()136 len = skdata->len; in sendtosocket()161 int receivefromsocket(int sockfd, struct socketdata *skdata) in receivefromsocket() argument172 if (!skdata) { in receivefromsocket()210 skdata->data = buffd; in receivefromsocket()211 skdata->len = len; in receivefromsocket()