Home
last modified time | relevance | path

Searched refs:SOL_IPV6 (Results 1 – 14 of 14) sorted by relevance

/tools/testing/selftests/net/
Dipv6_flowlabel.c56 cm->cmsg_level = SOL_IPV6; in do_send()
110 if (cm->cmsg_level != SOL_IPV6 || in do_recv()
160 if (setsockopt(fd, SOL_IPV6, IPV6_FLOWLABEL_MGR, &req, sizeof(req))) in flowlabel_get()
206 if (setsockopt(fdr, SOL_IPV6, IPV6_FLOWINFO, &one, sizeof(one))) in main()
Dipv6_flowlabel_mgr.c61 return setsockopt(fd, SOL_IPV6, IPV6_FLOWLABEL_MGR, &req, sizeof(req)); in flowlabel_get()
71 return setsockopt(fd, SOL_IPV6, IPV6_FLOWLABEL_MGR, &req, sizeof(req)); in flowlabel_put()
Dtxtimestamp.c323 (cm->cmsg_level == SOL_IPV6 && in __recv_errmsg_cmsg()
340 } else if (cm->cmsg_level == SOL_IPV6 && in __recv_errmsg_cmsg()
553 if (setsockopt(fd, SOL_IPV6, IPV6_RECVPKTINFO, in do_test()
Dnettest.c431 rc = setsockopt(sd, SOL_IPV6, IPV6_RECVPKTINFO, &one, sizeof(one)); in set_recvpktinfo_v6()
455 rc = setsockopt(sd, SOL_IPV6, IPV6_RECVERR, &one, sizeof(one)); in set_recverr_v6()
472 level = SOL_IPV6; in set_unicast_if()
851 } else if (cm->cmsg_level == SOL_IPV6 && in get_index_from_cmsg()
923 cm->cmsg_level = SOL_IPV6; in send_msg_cmsg()
1380 level = SOL_IPV6; in config_xfrm_policy()
Dudpgso.c328 level = SOL_IPV6; in set_pmtu_discover()
347 ret = getsockopt(fd, SOL_IPV6, IPV6_MTU, &mtu, &vallen); in get_path_mtu()
Dudpgso_bench_tx.c160 case SOL_IPV6: in flush_cmsg()
559 level = SOL_IPV6; in set_pmtu_discover()
Dso_txtime.c456 cfg_errq_level = SOL_IPV6; in parse_opts()
Dmsg_zerocopy.c419 (cm->cmsg_level == SOL_IPV6 && cm->cmsg_type == IPV6_RECVERR) || in do_recv_completion()
/tools/testing/selftests/bpf/progs/
Dsockopt_qos_to_cc.c21 if (ctx->level != SOL_IPV6 || ctx->optname != IPV6_TCLASS) in sockopt_qos_to_cc()
Dtest_tcpbpf_kern.c117 rv = bpf_setsockopt(skops, SOL_IPV6, IPV6_TCLASS, &v, in bpf_testcb()
/tools/testing/selftests/bpf/prog_tests/
Dsockopt_qos_to_cc.c15 err = setsockopt(sock_fd, SOL_IPV6, IPV6_TCLASS, &buf, sizeof(buf)); in run_setsockopt_test()
Dsk_lookup.c168 err = setsockopt(fd, SOL_IPV6, IPV6_RECVORIGDSTADDR, &one, in make_server()
392 (cm->cmsg_level == SOL_IPV6 && in udp_recv_send()
/tools/perf/trace/beauty/include/linux/
Dsocket.h334 #define SOL_IPV6 41 macro
/tools/testing/selftests/bpf/
Dtest_sock_addr.c1010 cmsg->cmsg_level = SOL_IPV6; in init_pktinfo()