Home
last modified time | relevance | path

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

/kernel/tests/net/test/
Dcsocket_test.py26 SOL_IPV6 = 41 variable
63 s.setsockopt(SOL_IPV6, csocket.IPV6_RECVPKTINFO, 1)
64 s.setsockopt(SOL_IPV6, csocket.IPV6_RECVHOPLIMIT, 1)
66 pktinfo = (SOL_IPV6, csocket.IPV6_PKTINFO,
68 ttl = (SOL_IPV6, csocket.IPV6_HOPLIMIT, 64)
Dping6_test.py558 s.setsockopt(net_test.SOL_IPV6, net_test.IPV6_TRANSPARENT, 1)
692 s.setsockopt(net_test.SOL_IPV6, net_test.IPV6_FLOWINFO_SEND, 1)
701 self.assertEqual(1, s.getsockopt(net_test.SOL_IPV6,
719 s.setsockopt(net_test.SOL_IPV6, IPV6_UNICAST_HOPS, 2)
720 s.setsockopt(net_test.SOL_IPV6, net_test.IPV6_RECVERR, 1)
730 s.setsockopt(net_test.SOL_IPV6, net_test.IPV6_MULTICAST_IF, self.ifindex)
798 s.setsockopt(net_test.SOL_IPV6, net_test.IPV6_MULTICAST_IF, self.ifindex)
829 s.setsockopt(net_test.SOL_IPV6, csocket.IPV6_DONTFRAG, 1)
830 s.setsockopt(net_test.SOL_IPV6, csocket.IPV6_MTU_DISCOVER, 2)
831 s.setsockopt(net_test.SOL_IPV6, net_test.IPV6_RECVERR, 1)
[all …]
Dmultinetwork_test.py256 s.setsockopt(net_test.SOL_IPV6, net_test.IPV6_FLOWINFO_SEND, 1)
266 s.setsockopt(net_test.SOL_IPV6, IPV6_DSTOPTS, dstopts)
267 s.setsockopt(net_test.SOL_IPV6, IPV6_UNICAST_HOPS, 255)
272 s.setsockopt(net_test.SOL_IPV6, IPV6_PKTINFO, pktinfo)
307 (net_test.SOL_IPV6, IPV6_HOPLIMIT, 39),
308 (net_test.SOL_IPV6, IPV6_TCLASS, 0x83),
309 (net_test.SOL_IPV6, IPV6_FLOWINFO, ctypes.c_uint(htonl(0xbeef))),
866 ip6_mtuinfo = s.getsockopt(net_test.SOL_IPV6, csocket.IPV6_PATHMTU, 32)
878 s.setsockopt(net_test.SOL_IPV6, csocket.IPV6_DONTFRAG, 1)
879 s.setsockopt(net_test.SOL_IPV6, net_test.IPV6_RECVERR, 1)
Dnet_test.py30 SOL_IPV6 = 41 variable
117 level = {AF_INET: SOL_IP, AF_INET6: SOL_IPV6}[s.family]
339 s.setsockopt(SOL_IPV6, IPV6_FLOWLABEL_MGR, opt)
Dmultinetwork_base.py469 s.setsockopt(net_test.SOL_IPV6, IPV6_UNICAST_IF, ifindex)
527 6: (net_test.SOL_IPV6, csocket.IPV6_PKTINFO)}[version]
Dsrcaddr_selection_test.py107 cmsgs = [(net_test.SOL_IPV6, IPV6_PKTINFO, pktinfo)]