Home
last modified time | relevance | path

Searched refs:msghdr (Results 1 – 25 of 64) sorted by relevance

123

/dragonfly/sys/kern/
H A Dsysv_msg.c181 if (msghdr->msg_spot < 0 || msghdr->msg_spot >= msginfo.msgseg) in msg_freehdr()
191 msghdr->msg_ts = 0; in msg_freehdr()
196 free_msghdrs = msghdr; in msg_freehdr()
256 struct msg *msghdr; in sys_msgctl() local
268 msghdr = msghdr->msg_next; in sys_msgctl()
466 struct msg *msghdr; in sys_msgsnd() local
799 struct msg *msghdr; in sys_msgrcv() local
846 msghdr = NULL; in sys_msgrcv()
931 if (msghdr != NULL) in sys_msgrcv()
1006 msghdr->msg_ts); in sys_msgrcv()
[all …]
/dragonfly/lib/libc/sysvipc/
H A Dmsg.c196 if (msghdr->msg_spot < 0 || msghdr->msg_spot >= msginfo.msgseg) { in msg_freehdr()
205 msghdr->msg_spot = next; in msg_freehdr()
209 msghdr->msg_ts = 0; in msg_freehdr()
379 struct msg *msghdr; in sysvipc_msgsnd() local
500 msghdr->msg_spot = -1; in sysvipc_msgsnd()
501 msghdr->msg_ts = msgsz; in sysvipc_msgsnd()
523 memcpy(&msghdr->msg_type, auxmsgp, sizeof(msghdr->msg_type)); in sysvipc_msgsnd()
542 next = msghdr->msg_spot; in sysvipc_msgsnd()
595 struct msg *msghdr; in sysvipc_msgrcv() local
771 msghdr->msg_ts); in sysvipc_msgrcv()
[all …]
H A Dsockets.c133 struct msghdr msg; in send_fd()
186 struct msghdr msg; in receive_fd()
250 struct msghdr msg; in send_msg_with_cred()
264 memset(&msg, 0, sizeof(struct msghdr)); in send_msg_with_cred()
286 struct msghdr msg = { .msg_name = NULL }; in receive_msg_with_cred()
/dragonfly/contrib/dhcpcd/src/
H A Dprivsep-inet.h35 ssize_t ps_inet_cmd(struct dhcpcd_ctx *, struct ps_msghdr *, struct msghdr *);
36 ssize_t ps_inet_dispatch(void *, struct ps_msghdr *, struct msghdr *);
42 ssize_t ps_inet_sendbootp(struct interface *, const struct msghdr *);
51 ssize_t ps_inet_sendnd(struct interface *, const struct msghdr *);
55 ssize_t ps_inet_senddhcp6(struct interface *, const struct msghdr *);
H A Dprivsep-inet.c217 ps_inet_validudp(struct msghdr *msg, uint16_t sport, uint16_t dport) in ps_inet_validudp()
237 ps_inet_validnd(struct msghdr *msg) in ps_inet_validnd()
263 struct ps_msghdr *psm, struct msghdr *msg) in ps_inet_sendmsg()
316 ps_inet_dispatch(void *arg, struct ps_msghdr *psm, struct msghdr *msg) in ps_inet_dispatch()
521 ps_inet_cmd(struct dhcpcd_ctx *ctx, struct ps_msghdr *psm, struct msghdr *msg) in ps_inet_cmd()
611 ps_inet_in_docmd(struct ipv4_addr *ia, uint16_t cmd, const struct msghdr *msg) in ps_inet_in_docmd()
643 ps_inet_sendbootp(struct interface *ifp, const struct msghdr *msg) in ps_inet_sendbootp()
684 ps_inet_sendnd(struct interface *ifp, const struct msghdr *msg) in ps_inet_sendnd()
691 ps_inet_sendnd(struct interface *ifp, const struct msghdr *msg) in ps_inet_sendnd()
701 ps_inet_in6_docmd(struct ipv6_addr *ia, uint16_t cmd, const struct msghdr *msg) in ps_inet_in6_docmd()
[all …]
H A Dprivsep.h99 sizeof(struct msghdr) + \
209 int ps_unrollmsg(struct msghdr *, struct ps_msghdr *, const void *, size_t);
211 struct ps_msghdr *, const struct msghdr *);
215 const struct msghdr *);
220 ssize_t (*callback)(void *, struct ps_msghdr *, struct msghdr *), void *);
H A Dprivsep-bpf.h33 struct ps_msghdr *, struct msghdr *);
35 struct ps_msghdr *, struct msghdr *);
H A Dprivsep-root.h59 ssize_t ps_root_os(struct dhcpcd_ctx *, struct ps_msghdr *, struct msghdr *,
72 ssize_t ps_root_sendnetlink(struct dhcpcd_ctx *, int, struct msghdr *);
H A Dprivsep.c835 ps_unrollmsg(struct msghdr *msg, struct ps_msghdr *psm, in ps_unrollmsg()
882 struct ps_msghdr *psm, const struct msghdr *msg) in ps_sendpsmmsg()
949 struct msghdr msg = { in ps_sendpsmdata()
959 const struct msghdr *msg) in ps_sendmsg()
1011 struct msghdr msg = { in ps_sendcmd()
1019 ps_sendcmdmsg(int fd, uint16_t cmd, const struct msghdr *msg) in ps_sendcmdmsg()
1078 struct msghdr msg = { in ps_recvmsg()
1123 ssize_t (*callback)(void *, struct ps_msghdr *, struct msghdr *), in ps_recvpsmsg() argument
1130 struct msghdr msg = { .msg_iov = iov, .msg_iovlen = 1 }; in ps_recvpsmsg()
H A Dprivsep-bpf.c104 ps_bpf_recvmsgcb(void *arg, struct ps_msghdr *psm, struct msghdr *msg) in ps_bpf_recvmsgcb()
182 ps_bpf_cmd(struct dhcpcd_ctx *ctx, struct ps_msghdr *psm, struct msghdr *msg) in ps_bpf_cmd()
275 struct ps_msghdr *psm, struct msghdr *msg) in ps_bpf_dispatch()
/dragonfly/usr.sbin/pflogd/
H A Dprivsep_fdpass.c52 struct msghdr msg; in send_fd()
88 struct msghdr msg; in receive_fd()
/dragonfly/test/testcases/io/sendfd_1/
H A Dsendfd_1.c36 struct msghdr msg; in sendfd()
69 struct msghdr msg; in recvfd()
/dragonfly/lib/libthread_xu/thread/
H A Dthr_syscalls.c114 extern ssize_t __sys_recvmsg(int, struct msghdr *, int);
118 extern ssize_t __sys_sendmsg(int, const struct msghdr *, int);
144 ssize_t __recvmsg(int, struct msghdr *, int);
146 ssize_t __sendmsg(int, const struct msghdr *, int);
549 __recvmsg(int s, struct msghdr *m, int f) in __recvmsg()
580 __sendmsg(int s, const struct msghdr *m, int f) in __sendmsg()
/dragonfly/test/socket/recvmsg/cloexec/
H A Drecvmsg_cloexec.c72 struct msghdr msg; in sendfd()
105 struct msghdr msg; in recvfd()
/dragonfly/test/debug/
H A Dfdpassing.c77 struct msghdr msg; in sendfd()
109 struct msghdr msg; in recvfd()
/dragonfly/usr.sbin/traceroute6/
H A Dtraceroute6.c294 static int wait_for_reply(int, struct msghdr *);
299 static int packet_ok(struct msghdr *, int, int);
300 static void print(struct msghdr *, int);
307 static struct msghdr rcvmhdr;
806 wait_for_reply(int sock, struct msghdr *mhdr) in wait_for_reply()
968 packet_ok(struct msghdr *mhdr, int cc, int seq) in packet_ok()
1152 print(struct msghdr *mhdr, int cc) in print()
/dragonfly/crypto/openssh/
H A Dmonitor_fdpass.c55 struct msghdr msg; in mm_send_fd()
115 struct msghdr msg; in mm_receive_fd()
/dragonfly/sys/sys/
H A Dsocket.h406 struct msghdr { struct
556 ssize_t recvmsg(int, struct msghdr *, int);
558 ssize_t sendmsg(int, const struct msghdr *, int);
/dragonfly/test/unix/passdesc/
H A Dpassdesc.c22 struct msghdr msg; in test_send_desc()
58 struct msghdr msg; in test_recv_desc()
/dragonfly/sbin/ping6/
H A Dping6.c215 struct msghdr smsghdr;
226 int get_hoplim(struct msghdr *);
228 int get_pathmtu(struct msghdr *);
247 void pr_pack(u_char *, int, struct msghdr *);
248 void pr_exthdrs(struct msghdr *);
907 struct msghdr m; in main()
1291 pr_pack(u_char *buf, int cc, struct msghdr *mhdr) in pr_pack()
1569 pr_exthdrs(struct msghdr *mhdr) in pr_exthdrs()
1882 get_hoplim(struct msghdr *mhdr) in get_hoplim()
1901 get_rcvpktinfo(struct msghdr *mhdr) in get_rcvpktinfo()
[all …]
/dragonfly/contrib/wpa_supplicant/src/crypto/
H A Dcrypto_linux.c453 struct msghdr msg; in linux_af_alg_skcipher_oper()
544 struct msghdr msg; in rc4_skip()
614 struct msghdr msg; in des_encrypt()
681 struct msghdr msg; in aes_128_cbc_oper()
790 struct msghdr msg; in aes_unwrap()
867 struct msghdr msg; in crypto_cipher_init()
934 struct msghdr msg; in crypto_cipher_oper()
/dragonfly/usr.sbin/nscd/
H A Dnscdcli.c133 struct msghdr cred_hdr; in send_credentials()
147 memset(&cred_hdr, 0, sizeof(struct msghdr)); in send_credentials()
/dragonfly/usr.sbin/rtsold/
H A Drtsol.c64 static struct msghdr rcvmhdr;
65 static struct msghdr sndmhdr;
/dragonfly/contrib/wpa_supplicant/src/l2_packet/
H A Dl2_packet_privsep.c32 struct msghdr msg; in wpa_priv_cmd()
65 struct msghdr msg; in l2_packet_send()
/dragonfly/test/unix/loopdesc/
H A Dloopdesc.c14 struct msghdr msg; in test_sendto_self()

123