Searched refs:sa6 (Results 1 – 6 of 6) sorted by relevance
/linux-6.12.1/tools/testing/selftests/net/ |
D | stress_reuseport_listen.c | 29 struct sockaddr_in6 sa6 = {}; in bind_reuseport_sock6() local 32 sa6.sin6_family = AF_INET6; in bind_reuseport_sock6() 33 sa6.sin6_port = htons(IP6_LPORT); in bind_reuseport_sock6() 34 err = inet_pton(AF_INET6, IP6_LADDR_START, &sa6.sin6_addr); in bind_reuseport_sock6() 57 err = bind(*cur_fd, (struct sockaddr *)&sa6, in bind_reuseport_sock6() 58 sizeof(sa6)); in bind_reuseport_sock6() 63 sa6.sin6_addr.s6_addr32[3]++; in bind_reuseport_sock6()
|
/linux-6.12.1/tools/testing/selftests/bpf/prog_tests/ |
D | connect_ping.c | 27 struct sockaddr_in6 sa6 = { in subtest() local 43 sa = (struct sockaddr *)&sa6; in subtest() 44 sa_len = sizeof(sa6); in subtest() 82 if (!ASSERT_EQ(sa6.sin6_family, AF_INET6, "sin6_family")) in subtest() 84 if (!ASSERT_EQ(memcmp(&sa6.sin6_addr, in subtest() 86 sizeof(sa6.sin6_addr)), in subtest()
|
/linux-6.12.1/fs/smb/client/ |
D | cifs_swn.c | 630 struct sockaddr_in6 *sa6; in cifs_swn_dump() local 647 sa6 = (struct sockaddr_in6 *) &swnreg->tcon->ses->server->dstaddr; in cifs_swn_dump() 648 seq_printf(m, "%pI6", &sa6->sin6_addr.s6_addr); in cifs_swn_dump() 649 if (sa6->sin6_scope_id) in cifs_swn_dump() 650 seq_printf(m, "%%%u", sa6->sin6_scope_id); in cifs_swn_dump()
|
D | cifs_spnego.c | 91 struct sockaddr_in6 *sa6 = (struct sockaddr_in6 *) &server->dstaddr; in cifs_get_spnego_key() local 127 sprintf(dp, "ip6=%pI6", &sa6->sin6_addr); in cifs_get_spnego_key()
|
D | cifsfs.c | 457 struct sockaddr_in6 *sa6 = (struct sockaddr_in6 *) &server->dstaddr; in cifs_show_address() local 466 seq_printf(s, "%pI6", &sa6->sin6_addr.s6_addr); in cifs_show_address() 467 if (sa6->sin6_scope_id) in cifs_show_address() 468 seq_printf(s, "%%%u", sa6->sin6_scope_id); in cifs_show_address()
|
D | connect.c | 2096 struct sockaddr_in6 *sa6; in cifs_set_cifscreds() local 2110 sa6 = (struct sockaddr_in6 *)&server->dstaddr; in cifs_set_cifscreds() 2111 sprintf(desc, "cifs:a:%pI6c", &sa6->sin6_addr.s6_addr); in cifs_set_cifscreds()
|