Lines Matching refs:outmessage
408 struct msghdr outmessage; in sctp_send_shutdown() local
417 outmessage.msg_name = NULL; in sctp_send_shutdown()
418 outmessage.msg_namelen = 0; in sctp_send_shutdown()
419 outmessage.msg_control = outcmsg; in sctp_send_shutdown()
420 outmessage.msg_controllen = sizeof(outcmsg); in sctp_send_shutdown()
421 outmessage.msg_flags = MSG_EOR; in sctp_send_shutdown()
423 cmsg = CMSG_FIRSTHDR(&outmessage); in sctp_send_shutdown()
427 outmessage.msg_controllen = cmsg->cmsg_len; in sctp_send_shutdown()
434 ret = kernel_sendmsg(con->sock, &outmessage, NULL, 0, 0); in sctp_send_shutdown()
841 struct msghdr outmessage; in sctp_init_assoc() local
866 outmessage.msg_name = &rem_addr; in sctp_init_assoc()
867 outmessage.msg_namelen = addrlen; in sctp_init_assoc()
868 outmessage.msg_control = outcmsg; in sctp_init_assoc()
869 outmessage.msg_controllen = sizeof(outcmsg); in sctp_init_assoc()
870 outmessage.msg_flags = MSG_EOR; in sctp_init_assoc()
889 cmsg = CMSG_FIRSTHDR(&outmessage); in sctp_init_assoc()
896 outmessage.msg_controllen = cmsg->cmsg_len; in sctp_init_assoc()
898 ret = kernel_sendmsg(base_con->sock, &outmessage, iov, 1, len); in sctp_init_assoc()