Home
last modified time | relevance | path

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

/linux/tools/testing/selftests/net/
H A Dstress_reuseport_listen.c29 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/tools/testing/selftests/bpf/prog_tests/
H A Dconnect_ping.c27 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/fs/smb/client/
H A Dcifs_swn.c630 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()
H A Dcifs_spnego.c91 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()
H A Dcifsfs.c457 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()
H A Dconnect.c2096 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()