Home
last modified time | relevance | path

Searched refs:msg_control (Results 1 – 25 of 31) sorted by relevance

12

/titanic_44/usr/src/uts/common/sys/
H A Dsocket.h355 void *msg_control; /* ancillary data */ member
398 caddr32_t msg_control; /* ancillary data */ member
473 (struct cmsghdr *)0 : (struct cmsghdr *)((m)->msg_control))
479 (((uintptr_t)((struct msghdr *)(m))->msg_control) + \
/titanic_44/usr/src/lib/libsctp/common/
H A Dsctp.c275 hdr.msg_control = (void *)_CMSG_HDR_ALIGN(cinmsg); in sctp_recvmsg()
279 hdr.msg_control = NULL; in sctp_recvmsg()
323 hdr.msg_control = (void *)_CMSG_HDR_ALIGN(coutmsg); in sctp_send_common()
/titanic_44/usr/src/cmd/cmd-inet/usr.sbin/traceroute/
H A Dtraceroute_aux6.c133 msgp->msg_control = NULL; in set_ancillary_data()
186 msgp->msg_control = (struct cmsghdr *)malloc(bufspace); in set_ancillary_data()
187 if (msgp->msg_control == NULL) { in set_ancillary_data()
268 msgp->msg_controllen = (char *)cmsgp - (char *)msgp->msg_control; in set_ancillary_data()
H A Dtraceroute.c1418 msg6.msg_control = NULL; in trace_it()
1672 in_msg.msg_control = ancillary_data; in traceroute()
/titanic_44/usr/src/uts/common/fs/sockfs/
H A Dsocksyscalls.c854 control = msg->msg_control; in recvit()
911 msg->msg_control, msg->msg_controllen); in recvit()
918 so_closefds(msg->msg_control, msg->msg_controllen, in recvit()
925 kmem_free(msg->msg_control, (size_t)msg->msg_controllen); in recvit()
934 so_closefds(msg->msg_control, msg->msg_controllen, in recvit()
939 kmem_free(msg->msg_control, (size_t)msg->msg_controllen); in recvit()
1063 lmsg.msg_control = STRUCT_FGETP(u_lmsg, msg_control); in recvmsg()
1118 if (lmsg.msg_control != NULL && in recvmsg()
1120 useracc(lmsg.msg_control, lmsg.msg_controllen, in recvmsg()
1173 control = msg->msg_control; in sendit()
[all …]
H A Dsockcommon_sops.c1804 msg->msg_control = control; in so_recvmsg()
1860 msg->msg_control = control; in so_recvmsg()
/titanic_44/usr/src/uts/common/inet/sockmods/
H A Dsocksctpsubr.c245 msg->msg_control = kmem_zalloc(optlen, KM_SLEEP); in sosctp_pack_cmsg()
249 bcopy(opt, msg->msg_control, len); in sosctp_pack_cmsg()
252 cmsg = (struct cmsghdr *)msg->msg_control; in sosctp_pack_cmsg()
H A Dsocksctp.c747 cmsg = sosctp_find_cmsg(msg->msg_control, optlen, SCTP_SNDRCV); in sosctp_sendmsg()
888 msg->msg_control, optlen, SCTP_CAN_BLOCK); in sosctp_sendmsg()
944 cmsg = sosctp_find_cmsg(msg->msg_control, msg->msg_controllen, in sosctp_seq_sendmsg()
988 msg->msg_control, optlen, flags, cr, &ssa); in sosctp_seq_sendmsg()
1090 mctl = sctp_alloc_hdr(msg->msg_name, namelen, msg->msg_control, in sosctp_seq_sendmsg()
/titanic_44/usr/src/uts/common/io/ib/clients/rdsv3/
H A Drdsv3_impl.c1112 if (msg->msg_control == NULL) in rdsv3_put_cmsg()
1121 if (msg->msg_control) { in rdsv3_put_cmsg()
1122 bcopy(msg->msg_control, bp, msg->msg_controllen); in rdsv3_put_cmsg()
1123 kmem_free(msg->msg_control, (size_t)msg->msg_controllen); in rdsv3_put_cmsg()
1135 msg->msg_control = bp; in rdsv3_put_cmsg()
H A Drds_recv.c480 msg->msg_control = NULL; in rdsv3_recvmsg()
615 if (msg && msg->msg_control == NULL) in rdsv3_recvmsg()
/titanic_44/usr/src/uts/common/io/ksocket/
H A Dksocket.c219 msghdr.msg_control = NULL; in ksocket_send()
273 msghdr.msg_control = NULL; in ksocket_sendto()
378 msghdr.msg_control = NULL; in ksocket_recv()
431 msghdr.msg_control = NULL; in ksocket_recvfrom()
/titanic_44/usr/src/uts/common/sys/ib/clients/rdsv3/
H A Drdsv3_impl.h313 (struct cmsghdr *)0 : (struct cmsghdr *)((m)->msg_control))
319 (((uintptr_t)((struct msghdr *)(m))->msg_control) + \
/titanic_44/usr/src/lib/print/libpapi-lpd/common/
H A Dlpd-misc.c102 msg.msg_control = cmp; in recvfd()
H A Dlpd-port.c85 msg.msg_control = cmp; in sendfd()
/titanic_44/usr/src/cmd/cmd-inet/usr.sbin/ping/
H A Dping_aux6.c164 msgp->msg_control = (struct cmsghdr *)malloc(bufspace); in set_ancillary_data()
165 if (msgp->msg_control == NULL) { in set_ancillary_data()
249 msgp->msg_controllen = (char *)cmsgp - (char *)msgp->msg_control; in set_ancillary_data()
/titanic_44/usr/src/uts/common/io/scsi/adapters/iscsi/
H A Dradius_packet.c185 msg.msg_control = NULL; in rcv_radius_response()
/titanic_44/usr/src/cmd/cmd-inet/sbin/dhcpagent/
H A Dpacket.c961 msg.msg_control = alloca(msg.msg_controllen); in send_pkt_internal()
981 msg.msg_controllen = (char *)cmsg - (char *)msg.msg_control; in send_pkt_internal()
1254 msg.msg_control = ctrl; in sock_recvpkt()
/titanic_44/usr/src/uts/common/io/comstar/port/iscsit/
H A Discsit_radiuspacket.c189 msg.msg_control = NULL; in iscsit_rcv_radius_response()
/titanic_44/usr/src/cmd/cmd-inet/usr.lib/in.ripngd/
H A Dinput.c85 rmsg.msg_control = control; in in_data()
/titanic_44/usr/src/cmd/cmd-inet/usr.sbin/in.routed/
H A Doutput.c222 msg.msg_control = alloca(msg.msg_controllen); in sendtoif()
236 msg.msg_controllen = (caddr_t)cmsgp - (caddr_t)msg.msg_control; in sendtoif()
H A Drtquery.c432 msg.msg_control = &ancillary_data; in query_loop()
H A Dinput.c127 msg.msg_control = &ancillary_data; in read_rip()
/titanic_44/usr/src/cmd/cmd-inet/usr.lib/vrrpd/
H A Dvrrpd.c3133 msg6.msg_control = NULL; in vrrpd_send_adv_v6()
3152 msg6.msg_control = (struct cmsghdr *)malloc(bufspace); in vrrpd_send_adv_v6()
3153 if (msg6.msg_control == NULL) { in vrrpd_send_adv_v6()
3188 msg6.msg_controllen = (char *)cmsgp - (char *)msg6.msg_control; in vrrpd_send_adv_v6()
3203 (void) free(msg6.msg_control); in vrrpd_send_adv_v6()
3209 (void) free(msg6.msg_control); in vrrpd_send_adv_v6()
3552 msg.msg_control = ancillary_data; in vrrpd_sock_handler()
/titanic_44/usr/src/cmd/cmd-inet/usr.lib/mdnsd/
H A DmDNSUNP.c791 msg.msg_control = (void *) control_un.control; in recvfrom_flags()
/titanic_44/usr/src/cmd/cmd-inet/usr.lib/in.mpathd/
H A Dmpd_probe.c393 msg.msg_control = ancillary_data; in in_data()
521 msg.msg_control = ancillary_data; in in6_data()

12