08:41:22 | Start |
| == create an IPv6/UDP socket == |
08:41:22 | socket(domain:AF_INET6, type:SOCK_DGRAM, protocol:0)
|
08:41:22 | return sockfd=4
|
08:41:23 | tst_get_unused_port() get port 45762
|
| == bind socket to address == |
08:41:23 | bind(sockfd:4, my_addr:0x7ffc8f161dd0, addrlen:28)
|
08:41:23 | return 0
|
| == send message with traffic class set to -1 == |
08:41:23 | sendmsg(sockfd:4, msg:0x7ffc8f161d90, flags:0)
|
08:41:23 | return 100
|
| == recv message == |
08:41:23 | recv(sockfd:4, buf:0x7ffc8f161cf0, len:100, flags:64)
|
08:41:23 | return 100
|
| == send message with traffic class set to 0 == |
08:41:23 | sendmsg(sockfd:4, msg:0x7ffc8f161d90, flags:0)
|
08:41:23 | return 100
|
| == recv message == |
08:41:23 | recv(sockfd:4, buf:0x7ffc8f161cf0, len:100, flags:64)
|
08:41:23 | return 100
|
| == send message with traffic class set to 64 == |
08:41:24 | sendmsg(sockfd:4, msg:0x7ffc8f161d90, flags:0)
|
08:41:24 | return 100
|
| == recv message == |
08:41:24 | recv(sockfd:4, buf:0x7ffc8f161cf0, len:100, flags:64)
|
08:41:24 | return 100
|
| == send message with traffic class set to 255 == |
08:41:24 | sendmsg(sockfd:4, msg:0x7ffc8f161d90, flags:0)
|
08:41:24 | return 100
|
| == recv message == |
08:41:24 | recv(sockfd:4, buf:0x7ffc8f161cf0, len:100, flags:64)
|
08:41:24 | return 100
|
| == send message with traffic class set to 256 == |
08:41:24 | sendmsg(sockfd:4, msg:0x7ffc8f161d90, flags:0)
|
08:41:24 | return -1
|
| == send message with traffic class set to -2 == |
08:41:24 | sendmsg(sockfd:4, msg:0x7ffc8f161d90, flags:0)
|
08:41:24 | return -1
|
| OK |
08:41:24 | End |