Searched refs:in6 (Results 1 – 4 of 4) sorted by relevance
74 struct sockaddr_in6 in6 = { .sin6_family = AF_INET6 }; in test_map_in_map() local84 in6.sin6_addr.s6_addr16[0] = 0xdead; in test_map_in_map()85 in6.sin6_addr.s6_addr16[1] = 0xbeef; in test_map_in_map()86 in6.sin6_port = port_key; in test_map_in_map()91 in6.sin6_addr.s6_addr16[7] = i; in test_map_in_map()92 ret = connect(-1, (struct sockaddr *)&in6, sizeof(in6)); in test_map_in_map()
125 struct sockaddr_in6 in6 = { .sin6_family = AF_INET6 }; in do_test_lru() local166 in6.sin6_addr.s6_addr16[0] = 0xdead; in do_test_lru()167 in6.sin6_addr.s6_addr16[1] = 0xbeef; in do_test_lru()171 in6.sin6_addr.s6_addr16[2] = 0; in do_test_lru()174 in6.sin6_addr.s6_addr16[2] = 1; in do_test_lru()177 in6.sin6_addr.s6_addr16[2] = 2; in do_test_lru()180 in6.sin6_addr.s6_addr16[2] = 3; in do_test_lru()181 in6.sin6_addr.s6_addr32[3] = 0; in do_test_lru()188 ret = connect(-1, (const struct sockaddr *)&in6, sizeof(in6)); in do_test_lru()190 if (in6.sin6_addr.s6_addr32[3] < in do_test_lru()[all …]
109 struct sockaddr_in6 *in6; in trace_sys_connect() local116 in6 = (struct sockaddr_in6 *)PT_REGS_PARM2_CORE(ctx); in trace_sys_connect()119 if (addrlen != sizeof(*in6)) in trace_sys_connect()122 ret = bpf_probe_read_user(dst6, sizeof(dst6), &in6->sin6_addr); in trace_sys_connect()133 ret = bpf_probe_read_user(&port, sizeof(port), &in6->sin6_port); in trace_sys_connect()
178 struct sockaddr_in6 *in6; in SYSCALL() local184 in6 = (struct sockaddr_in6 *)PT_REGS_PARM2_CORE(real_regs); in SYSCALL()187 if (addrlen != sizeof(*in6)) in SYSCALL()191 &in6->sin6_addr); in SYSCALL()