Test Information

TitleSpecifying the traffic class as ancillary data
CommandLine./tst_send_tclass_udp --log=11.html --title=Specifying the traffic class as ancillary data
TestVersionREL_1_1_18
Start2023/01/26 16:33:11
SystemName(null)
KernelVersion(null)

Test Sequence Execution Log

16:33:11Start

== create an IPv6/UDP socket ==
16:33:11socket(domain:AF_INET6, type:SOCK_DGRAM, protocol:0)
16:33:11return sockfd=4
16:33:12tst_get_unused_port() get port 47168

== bind socket to address ==
16:33:12bind(sockfd:4, my_addr:0x3ffd9978d64, addrlen:28)
16:33:12return 0

== send message with traffic class set to -1 ==
16:33:12sendmsg(sockfd:4, msg:0x3ffd9978d28, flags:0)
16:33:12return 100

== recv message ==
16:33:12recv(sockfd:4, buf:0x3ffd9978c9c, len:100, flags:64)
16:33:12return 100

== send message with traffic class set to 0 ==
16:33:12sendmsg(sockfd:4, msg:0x3ffd9978d28, flags:0)
16:33:12return 100

== recv message ==
16:33:12recv(sockfd:4, buf:0x3ffd9978c9c, len:100, flags:64)
16:33:12return 100

== send message with traffic class set to 64 ==
16:33:13sendmsg(sockfd:4, msg:0x3ffd9978d28, flags:0)
16:33:13return 100

== recv message ==
16:33:13recv(sockfd:4, buf:0x3ffd9978c9c, len:100, flags:64)
16:33:13return 100

== send message with traffic class set to 255 ==
16:33:13sendmsg(sockfd:4, msg:0x3ffd9978d28, flags:0)
16:33:13return 100

== recv message ==
16:33:13recv(sockfd:4, buf:0x3ffd9978c9c, len:100, flags:64)
16:33:13return 100

== send message with traffic class set to 256 ==
16:33:13sendmsg(sockfd:4, msg:0x3ffd9978d28, flags:0)
16:33:13return -1

== send message with traffic class set to -2 ==
16:33:13sendmsg(sockfd:4, msg:0x3ffd9978d28, flags:0)
16:33:13return -1

OK
16:33:13End