Lines Matching refs:msghdr
48 int *GetFdsFromMsg(size_t *outFdCount, pid_t *requestPid, struct msghdr msghdr);
436 struct msghdr msghdr = {}; variable
438 BuildControlMessage(&msghdr, nullptr, 1, 0);
439 if (msghdr.msg_control != nullptr) {
440 free(msghdr.msg_control);
441 msghdr.msg_control = nullptr;
443 BuildControlMessage(&msghdr, fds, -1, 0);
444 if (msghdr.msg_control != nullptr) {
445 free(msghdr.msg_control);
446 msghdr.msg_control = nullptr;
448 BuildControlMessage(&msghdr, fds, -1, 1);
449 if (msghdr.msg_control != nullptr) {
450 free(msghdr.msg_control);
451 msghdr.msg_control = nullptr;
466 struct msghdr msghdr = {}; variable
467 GetFdsFromMsg(&fdCount, &requestPid, msghdr);
468 msghdr.msg_flags = MSG_TRUNC;
469 GetFdsFromMsg(&fdCount, &requestPid, msghdr);
481 if (msghdr.msg_control != nullptr) {
482 free(msghdr.msg_control);