Lines Matching refs:ipv6
41 static int setup_topology(bool ipv6)
49 if (ipv6) {
61 if (ipv6)
81 static int attach(struct ip_check_defrag *skel, bool ipv6)
84 .pf = ipv6 ? NFPROTO_IPV6 : NFPROTO_IPV4,
137 /* Port needs to be set to 0 for raw ipv6 socket for some reason */
157 void test_bpf_ip_check_defrag_ok(bool ipv6)
183 if (!ASSERT_OK(setup_topology(ipv6), "setup_topology"))
186 if (!ASSERT_OK(attach(skel, ipv6), "attach"))
193 srv_fd = start_server(ipv6 ? AF_INET6 : AF_INET, SOCK_DGRAM, NULL, SERVER_PORT, 0);
221 if (ipv6) {
241 if (ipv6) {