IPV6_TCLASS
case IPV6_TCLASS:
case IPV6_TCLASS:
put_cmsg(msg, SOL_IPV6, IPV6_TCLASS, sizeof(tclass), &tclass);
put_cmsg(&msg, SOL_IPV6, IPV6_TCLASS, sizeof(tclass), &tclass);
case IPV6_TCLASS:
case IPV6_TCLASS:
case IPV6_TCLASS:
IPV6_TCLASS,
err = setsockopt(sock_fd, SOL_IPV6, IPV6_TCLASS, &buf, sizeof(buf));
{ .opt = IPV6_TCLASS, .new = 0xe1, .expected = 0xe1, .tcp_expected = 0xe0, },
if (ctx->level != SOL_IPV6 || ctx->optname != IPV6_TCLASS)
rv = bpf_setsockopt(skops, SOL_IPV6, IPV6_TCLASS, &v,
SOL_IPV6, IPV6_TCLASS, &opt.cmsg.tclass);
setsockopt(fd, SOL_IPV6, IPV6_TCLASS,
if (setsockopt(sd, SOL_IPV6, IPV6_TCLASS, &dsfield,