• Jakub Kicinski's avatar
    selftests: net: test IPV6_TCLASS · 9657ad09
    Jakub Kicinski authored
    Test setting IPV6_TCLASS via setsockopt and cmsg
    across socket types.
    
    Output without the kernel support (this series):
    
      Case TCLASS ICMP cmsg - packet data returned 1, expected 0
      Case TCLASS ICMP cmsg - rejection returned 0, expected 1
      Case TCLASS ICMP diff - pass returned 1, expected 0
      Case TCLASS ICMP diff - packet data returned 1, expected 0
      Case TCLASS ICMP diff - rejection returned 0, expected 1
    Signed-off-by: default avatarJakub Kicinski <kuba@kernel.org>
    Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
    9657ad09
cmsg_ipv6.sh 2.38 KB