Lines Matching defs:message
47 * 5) Set sinfo_timetolive on a message and send.
48 * 6) Disable sinfo_timetolive on a message and send.
51 * 9) Make sure timed out message did not make it.
52 * 10) Make sure that the message with no timeout makes it to the receiver.
55 * message so as to also exercise the SEND_FAILED of fragmentation
89 static char *message = "Hello world\n";
195 /* Send the first message. This will create the association. */
214 outmessage.msg_iov->iov_base = message;
215 outmessage.msg_iov->iov_len = strlen(message) + 1;
216 test_sendmsg(sk1, &outmessage, 0, strlen(message)+1);
227 /* Get the communication up message on sk2. */
238 /* Get the communication up message on sk1. */
255 /* Get the first data message which was sent. */
258 test_check_msg_data(&inmessage, error, strlen(message) + 1,
299 /* Now send the message with timeout. */
310 tst_resm(TPASS, "Send a message with timeout");
312 /* Next send a message with no timeout. */
323 tst_resm(TPASS, "Send a message with no timeout");
325 /* And finally a fragmented message that will time out. */
338 tst_resm(TPASS, "Send a fragmented message with timeout");
340 /* Sleep waiting for the message to time out. */
350 /* Now get the message that did NOT time out. */
358 tst_resm(TPASS, "Receive message with no timeout");
360 /* Get the SEND_FAILED notification for the message that DID
373 tst_resm(TPASS, "Receive SEND_FAILED for message with timeout");
375 /* Get the SEND_FAILED notification for the fragmented message that
393 tst_resm(TPASS, "Receive SEND_FAILED for fragmented message with "