/titanic_41/usr/src/uts/common/sys/ |
H A D | socket.h | 442 struct cmsghdr { struct 469 ((unsigned char *)_CMSG_DATA_ALIGN((struct cmsghdr *)(c) + 1)) 472 (((m)->msg_controllen < sizeof (struct cmsghdr)) ? \ 473 (struct cmsghdr *)0 : (struct cmsghdr *)((m)->msg_control)) 478 ((struct cmsghdr *)(c))->cmsg_len) + sizeof (struct cmsghdr)) > \ 481 ((struct cmsghdr *)0) : \ 482 ((struct cmsghdr *)_CMSG_HDR_ALIGN((char *)(c) + \ 483 ((struct cmsghdr *)(c))->cmsg_len)))) 487 ((unsigned int)_CMSG_HDR_ALIGN(sizeof (struct cmsghdr) + (l))) 491 ((unsigned int)_CMSG_DATA_ALIGN(sizeof (struct cmsghdr)) + (l))
|
H A D | socketvar.h | 739 (struct cmsghdr *)((uintptr_t)(cmsg) + \ 742 #define CMSG_CONTENTLEN(cmsg) ((cmsg)->cmsg_len - sizeof (struct cmsghdr)) 747 ((ssize_t)(cmsg)->cmsg_len >= sizeof (struct cmsghdr)) && \
|
/titanic_41/usr/src/uts/common/sys/ib/clients/rdsv3/ |
H A D | rdsv3_impl.h | 309 ((unsigned char *)_CMSG_DATA_ALIGN((struct cmsghdr *)(c) + 1)) 312 (((m)->msg_controllen < sizeof (struct cmsghdr)) ? \ 313 (struct cmsghdr *)0 : (struct cmsghdr *)((m)->msg_control)) 318 ((struct cmsghdr *)(c))->cmsg_len) + sizeof (struct cmsghdr)) > \ 321 ((struct cmsghdr *)0) : \ 322 ((struct cmsghdr *)_CMSG_HDR_ALIGN((char *)(c) + \ 323 ((struct cmsghdr *)(c))->cmsg_len)))) 327 ((unsigned int)_CMSG_HDR_ALIGN(sizeof (struct cmsghdr) + (l))) 331 ((unsigned int)_CMSG_DATA_ALIGN(sizeof (struct cmsghdr)) + (l))
|
H A D | rdma.h | 93 struct cmsghdr *cmsg); 95 struct cmsghdr *cmsg); 97 struct cmsghdr *cmsg);
|
/titanic_41/usr/src/uts/common/inet/sockmods/ |
H A D | socksctpsubr.c | 220 struct cmsghdr *ocmsg; in sosctp_pack_cmsg() 221 struct cmsghdr *cmsg; in sosctp_pack_cmsg() 226 ocmsg = (struct cmsghdr *)opt; in sosctp_pack_cmsg() 238 ocmsg = (struct cmsghdr *) in sosctp_pack_cmsg() 252 cmsg = (struct cmsghdr *)msg->msg_control; in sosctp_pack_cmsg() 254 ocmsg = (struct cmsghdr *)opt; in sosctp_pack_cmsg() 263 cmsg = (struct cmsghdr *)((uchar_t *)cmsg + in sosctp_pack_cmsg() 266 ocmsg = (struct cmsghdr *) in sosctp_pack_cmsg() 277 struct cmsghdr * 280 struct cmsghdr *cmsg; in sosctp_find_cmsg() [all …]
|
H A D | socksctp.h | 96 extern struct cmsghdr *sosctp_find_cmsg(const uchar_t *control, socklen_t clen,
|
H A D | socksctp.c | 729 struct cmsghdr *cmsg; in sosctp_sendmsg() 929 struct cmsghdr *cmsg; in sosctp_seq_sendmsg() 2116 struct cmsghdr *cmsg; in sctp_assoc_recv() 2119 cmsg = (struct cmsghdr *) in sctp_assoc_recv() 2135 cmsg = (struct cmsghdr *) in sctp_assoc_recv()
|
/titanic_41/usr/src/uts/common/fs/sockfs/ |
H A D | socksubr.c | 84 #define CMSG_CONTENTLEN(cmsg) ((cmsg)->cmsg_len - sizeof (struct cmsghdr)) 89 ((ssize_t)(cmsg)->cmsg_len >= sizeof (struct cmsghdr)) && \ 948 struct cmsghdr *cmsg; in so_closefds() 958 for (cmsg = (struct cmsghdr *)control; in so_closefds() 965 startoff - (int)sizeof (struct cmsghdr)); in so_closefds() 982 struct cmsghdr *cmsg; in so_getfdopt() 1005 for (cmsg = (struct cmsghdr *)control; in so_getfdopt() 1033 struct cmsghdr *cmsg; in so_optlen() 1044 for (cmsg = (struct cmsghdr *)control; in so_optlen() 1068 struct cmsghdr *cmsg; in so_cmsg2opt() [all …]
|
/titanic_41/usr/src/cmd/cmd-inet/usr.sbin/traceroute/ |
H A D | traceroute_aux6.c | 129 struct cmsghdr *cmsgp; in set_ancillary_data() 163 bufspace = sizeof (struct cmsghdr) + _MAX_ALIGNMENT + in set_ancillary_data() 168 bufspace += sizeof (struct cmsghdr) + _MAX_ALIGNMENT + in set_ancillary_data() 174 bufspace += sizeof (struct cmsghdr) + _MAX_ALIGNMENT + in set_ancillary_data() 183 bufspace += sizeof (struct cmsghdr); in set_ancillary_data() 186 msgp->msg_control = (struct cmsghdr *)malloc(bufspace); in set_ancillary_data() 280 struct cmsghdr *cmsg; in update_hoplimit_ancillary_data() 377 struct cmsghdr *cmsg; in find_ancillary_data()
|
/titanic_41/usr/src/cmd/cmd-inet/usr.sbin/ping/ |
H A D | ping_aux6.c | 95 struct cmsghdr *cmsgp; in set_ancillary_data() 133 bufspace += sizeof (struct cmsghdr) + _MAX_ALIGNMENT + in set_ancillary_data() 139 bufspace += sizeof (struct cmsghdr) + _MAX_ALIGNMENT + in set_ancillary_data() 145 bufspace += sizeof (struct cmsghdr) + _MAX_ALIGNMENT + in set_ancillary_data() 154 bufspace += sizeof (struct cmsghdr); in set_ancillary_data() 164 msgp->msg_control = (struct cmsghdr *)malloc(bufspace); in set_ancillary_data() 1020 struct cmsghdr *cmsg; in pr_ext_headers()
|
/titanic_41/usr/src/lib/print/libpapi-lpd/common/ |
H A D | lpd-misc.c | 94 struct cmsghdr cmp[1]; in recvfd() 103 msg.msg_controllen = sizeof (struct cmsghdr) + sizeof (int); in recvfd()
|
H A D | lpd-port.c | 72 struct cmsghdr cmp[1]; in sendfd() 80 cmp[0].cmsg_len = sizeof (struct cmsghdr) + sizeof (int); in sendfd() 86 msg.msg_controllen = sizeof (struct cmsghdr) + sizeof (int); in sendfd()
|
/titanic_41/usr/src/cmd/ssh/include/ |
H A D | defines.h | 454 #define CMSG_LEN(len) (__CMSG_ALIGN(sizeof (struct cmsghdr)) + (len)) 460 (__CMSG_ALIGN(sizeof (struct cmsghdr)) + __CMSG_ALIGN(len))
|
/titanic_41/usr/src/uts/common/io/ib/clients/rdsv3/ |
H A D | rdma.c | 586 struct cmsghdr *cmsg) in rdsv3_cmsg_rdma_args() 615 struct cmsghdr *cmsg) in rdsv3_cmsg_rdma_dest() 659 struct cmsghdr *cmsg) in rdsv3_cmsg_rdma_map()
|
H A D | rdsv3_impl.c | 1098 struct cmsghdr *cp; in rdsv3_put_cmsg() 1127 cp = (struct cmsghdr *)(bp + msg->msg_controllen); in rdsv3_put_cmsg() 1133 (unsigned int)_CMSG_DATA_ALIGN(sizeof (struct cmsghdr))); in rdsv3_put_cmsg()
|
H A D | send.c | 887 struct cmsghdr *cmsg; in rdsv3_cmsg_send()
|
/titanic_41/usr/src/lib/libsctp/common/ |
H A D | sctp.c | 266 struct cmsghdr *cmsg; in sctp_recvmsg() 316 struct cmsghdr *cmsg; in sctp_send_common()
|
/titanic_41/usr/src/cmd/cmd-inet/usr.sbin/in.routed/ |
H A D | common.c | 229 struct cmsghdr *cmsg; in find_ancillary()
|
H A D | output.c | 202 struct cmsghdr *cmsgp; in sendtoif()
|
/titanic_41/usr/src/cmd/cmd-inet/usr.lib/mdnsd/ |
H A D | mDNSUNP.c | 782 struct cmsghdr *cmptr; in recvfrom_flags() 784 struct cmsghdr cm; in recvfrom_flags() 830 if (msg.msg_controllen < (socklen_t)sizeof(struct cmsghdr) || in recvfrom_flags()
|
/titanic_41/usr/src/uts/common/inet/sctp/ |
H A D | sctp_input.c | 327 struct cmsghdr *cmsg; in sctp_input_add_ancillary() 476 cmsg = (struct cmsghdr *)optptr; in sctp_input_add_ancillary() 510 cmsg = (struct cmsghdr *)optptr; in sctp_input_add_ancillary() 531 cmsg = (struct cmsghdr *)optptr; in sctp_input_add_ancillary() 545 cmsg = (struct cmsghdr *)optptr; in sctp_input_add_ancillary() 558 cmsg = (struct cmsghdr *)optptr; in sctp_input_add_ancillary() 574 cmsg = (struct cmsghdr *)optptr; in sctp_input_add_ancillary() 590 cmsg = (struct cmsghdr *)optptr; in sctp_input_add_ancillary() 606 cmsg = (struct cmsghdr *)optptr; in sctp_input_add_ancillary()
|
/titanic_41/usr/src/cmd/cmd-inet/usr.lib/in.ripngd/ |
H A D | input.c | 55 struct cmsghdr *cmsg; in find_ancillary()
|
/titanic_41/usr/src/cmd/cmd-inet/sbin/dhcpagent/ |
H A D | packet.c | 806 struct cmsghdr *cmsg; in send_pkt_internal() 1258 struct cmsghdr *cmsg; in sock_recvpkt()
|
/titanic_41/usr/src/uts/common/inet/ |
H A D | optcom.c | 1944 struct cmsghdr *cmsg; in process_auxiliary_options() 1952 for (cmsg = (struct cmsghdr *)control; in process_auxiliary_options()
|
/titanic_41/usr/src/cmd/cmd-inet/usr.lib/vrrpd/ |
H A D | vrrpd.c | 3123 struct cmsghdr *cmsgp; in vrrpd_send_adv_v6() 3137 bufspace += sizeof (struct cmsghdr) + _MAX_ALIGNMENT + in vrrpd_send_adv_v6() 3141 bufspace += sizeof (struct cmsghdr) + _MAX_ALIGNMENT + in vrrpd_send_adv_v6() 3149 bufspace += sizeof (struct cmsghdr); in vrrpd_send_adv_v6() 3152 msg6.msg_control = (struct cmsghdr *)malloc(bufspace); in vrrpd_send_adv_v6() 3477 struct cmsghdr *cmsgp; in vrrpd_process_adv_v6()
|