01:01:19 | Start |
| == create an IPv6/UDP socket == |
01:01:19 | socket(domain:AF_INET6, type:SOCK_DGRAM, protocol:0)
|
01:01:19 | return sockfd=4
|
01:01:20 | tst_get_unused_port() get port 35563
|
| == bind socket to address == |
01:01:21 | bind(sockfd:4, my_addr:0x3ffebc78e74, addrlen:28)
|
01:01:21 | return 0
|
| == send message with traffic class set to -1 == |
01:01:21 | sendmsg(sockfd:4, msg:0x3ffebc78e38, flags:0)
|
01:01:21 | return 100
|
| == recv message == |
01:01:21 | recv(sockfd:4, buf:0x3ffebc78dac, len:100, flags:64)
|
01:01:21 | return 100
|
| == send message with traffic class set to 0 == |
01:01:21 | sendmsg(sockfd:4, msg:0x3ffebc78e38, flags:0)
|
01:01:21 | return 100
|
| == recv message == |
01:01:21 | recv(sockfd:4, buf:0x3ffebc78dac, len:100, flags:64)
|
01:01:21 | return 100
|
| == send message with traffic class set to 64 == |
01:01:21 | sendmsg(sockfd:4, msg:0x3ffebc78e38, flags:0)
|
01:01:21 | return 100
|
| == recv message == |
01:01:21 | recv(sockfd:4, buf:0x3ffebc78dac, len:100, flags:64)
|
01:01:21 | return 100
|
| == send message with traffic class set to 255 == |
01:01:21 | sendmsg(sockfd:4, msg:0x3ffebc78e38, flags:0)
|
01:01:21 | return 100
|
| == recv message == |
01:01:21 | recv(sockfd:4, buf:0x3ffebc78dac, len:100, flags:64)
|
01:01:21 | return 100
|
| == send message with traffic class set to 256 == |
01:01:21 | sendmsg(sockfd:4, msg:0x3ffebc78e38, flags:0)
|
01:01:21 | return -1
|
| == send message with traffic class set to -2 == |
01:01:22 | sendmsg(sockfd:4, msg:0x3ffebc78e38, flags:0)
|
01:01:22 | return -1
|
| OK |
01:01:22 | End |