/dragonfly/sys/kern/ |
H A D | sysv_msg.c | 181 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 D | msg.c | 196 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 D | sockets.c | 133 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 D | privsep-inet.h | 35 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 D | privsep-inet.c | 217 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 D | privsep.h | 99 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 D | privsep-bpf.h | 33 struct ps_msghdr *, struct msghdr *); 35 struct ps_msghdr *, struct msghdr *);
|
H A D | privsep-root.h | 59 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 D | privsep.c | 835 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 D | privsep-bpf.c | 104 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 D | privsep_fdpass.c | 52 struct msghdr msg; in send_fd() 88 struct msghdr msg; in receive_fd()
|
/dragonfly/test/testcases/io/sendfd_1/ |
H A D | sendfd_1.c | 36 struct msghdr msg; in sendfd() 69 struct msghdr msg; in recvfd()
|
/dragonfly/lib/libthread_xu/thread/ |
H A D | thr_syscalls.c | 114 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 D | recvmsg_cloexec.c | 72 struct msghdr msg; in sendfd() 105 struct msghdr msg; in recvfd()
|
/dragonfly/test/debug/ |
H A D | fdpassing.c | 77 struct msghdr msg; in sendfd() 109 struct msghdr msg; in recvfd()
|
/dragonfly/usr.sbin/traceroute6/ |
H A D | traceroute6.c | 294 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 D | monitor_fdpass.c | 55 struct msghdr msg; in mm_send_fd() 115 struct msghdr msg; in mm_receive_fd()
|
/dragonfly/sys/sys/ |
H A D | socket.h | 406 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 D | passdesc.c | 22 struct msghdr msg; in test_send_desc() 58 struct msghdr msg; in test_recv_desc()
|
/dragonfly/sbin/ping6/ |
H A D | ping6.c | 215 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 D | crypto_linux.c | 453 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 D | nscdcli.c | 133 struct msghdr cred_hdr; in send_credentials() 147 memset(&cred_hdr, 0, sizeof(struct msghdr)); in send_credentials()
|
/dragonfly/usr.sbin/rtsold/ |
H A D | rtsol.c | 64 static struct msghdr rcvmhdr; 65 static struct msghdr sndmhdr;
|
/dragonfly/contrib/wpa_supplicant/src/l2_packet/ |
H A D | l2_packet_privsep.c | 32 struct msghdr msg; in wpa_priv_cmd() 65 struct msghdr msg; in l2_packet_send()
|
/dragonfly/test/unix/loopdesc/ |
H A D | loopdesc.c | 14 struct msghdr msg; in test_sendto_self()
|