Lines Matching defs:msghdr
80 struct msghdr msghdr = {
94 if (BuildControlMessage(&msghdr, fds, fdCount, true) < 0) {
96 if (msghdr.msg_control != NULL) {
97 free(msghdr.msg_control);
98 msghdr.msg_control = NULL;
100 msghdr.msg_controllen = 0;
105 if (TEMP_FAILURE_RETRY(sendmsg(sock, &msghdr, MSG_NOSIGNAL)) < 0) {
107 if (msghdr.msg_control != NULL) {
108 free(msghdr.msg_control);
109 msghdr.msg_control = NULL;
111 msghdr.msg_controllen = 0;
115 if (msghdr.msg_control != NULL) {
116 free(msghdr.msg_control);
117 msghdr.msg_control = NULL;
119 msghdr.msg_controllen = 0;