Home
last modified time | relevance | path

Searched refs:sin6_addr (Results 1 – 25 of 55) sorted by relevance

123

/linux-3.4.99/net/sctp/
Dipv6.c110 addr->a.v6.sin6_addr = ifa->addr; in sctp_inet6addr_event()
124 ipv6_addr_equal(&addr->a.v6.sin6_addr, in sctp_inet6addr_event()
249 fl6->daddr = daddr->v6.sin6_addr; in sctp_v6_get_dst()
252 if (ipv6_addr_type(&daddr->v6.sin6_addr) & IPV6_ADDR_LINKLOCAL) in sctp_v6_get_dst()
261 fl6->saddr = saddr->v6.sin6_addr; in sctp_v6_get_dst()
320 fl6->saddr = baddr->v6.sin6_addr; in sctp_v6_get_dst()
345 return ipv6_addr_diff(&s1->v6.sin6_addr, &s2->v6.sin6_addr); in sctp_v6_addr_match_len()
362 saddr->v6.sin6_addr = fl6->saddr; in sctp_v6_get_saddr()
387 addr->a.v6.sin6_addr = ifp->addr; in sctp_v6_copy_addrlist()
414 addr->v6.sin6_addr = ipv6_hdr(skb)->saddr; in sctp_v6_from_skb()
[all …]
Dprobe.c160 printl("%pI6 ", &sp->ipaddr.v6.sin6_addr); in jsctp_sf_eat_sack()
Dprotocol.c646 if (ipv6_addr_type(&addrw->a.v6.sin6_addr) & in sctp_addr_wq_timeout_handler()
650 in6 = (struct in6_addr *)&addrw->a.v6.sin6_addr; in sctp_addr_wq_timeout_handler()
712 if (ipv6_addr_equal(&addrw->a.v6.sin6_addr, in sctp_addr_wq_lookup()
713 &addr->a.v6.sin6_addr)) in sctp_addr_wq_lookup()
/linux-3.4.99/include/linux/sunrpc/
Dclnt.h227 if (!ipv6_addr_equal(&sin1->sin6_addr, &sin2->sin6_addr)) in __rpc_cmp_addr6()
229 else if (ipv6_addr_type(&sin1->sin6_addr) & IPV6_ADDR_LINKLOCAL) in __rpc_cmp_addr6()
242 dsin6->sin6_addr = ssin6->sin6_addr; in __rpc_copy_addr6()
Dsvc_xprt.h197 &sin6->sin6_addr, in __svc_print_addr()
/linux-3.4.99/net/ipv6/
Ddatagram.c74 usin->sin6_addr = flowlabel->dst; in ip6_datagram_connect()
78 addr_type = ipv6_addr_type(&usin->sin6_addr); in ip6_datagram_connect()
84 usin->sin6_addr.s6_addr[15] = 0x01; in ip6_datagram_connect()
87 daddr = &usin->sin6_addr; in ip6_datagram_connect()
306 mtu_info->ip6m_addr.sin6_addr = ipv6_hdr(skb)->daddr; in ipv6_local_rxpmtu()
357 sin->sin6_addr = in ipv6_recv_error()
363 if (ipv6_addr_type(&sin->sin6_addr) & IPV6_ADDR_LINKLOCAL) in ipv6_recv_error()
367 &sin->sin6_addr); in ipv6_recv_error()
381 sin->sin6_addr = ipv6_hdr(skb)->saddr; in ipv6_recv_error()
384 if (ipv6_addr_type(&sin->sin6_addr) & IPV6_ADDR_LINKLOCAL) in ipv6_recv_error()
[all …]
Daf_inet6.c279 addr_type = ipv6_addr_type(&addr->sin6_addr); in inet6_bind()
308 v4addr = addr->sin6_addr.s6_addr32[3]; in inet6_bind()
351 !ipv6_chk_addr(net, &addr->sin6_addr, in inet6_bind()
364 np->rcv_saddr = addr->sin6_addr; in inet6_bind()
367 np->saddr = addr->sin6_addr; in inet6_bind()
461 sin->sin6_addr = np->daddr; in inet6_getname()
466 sin->sin6_addr = np->saddr; in inet6_getname()
468 sin->sin6_addr = np->rcv_saddr; in inet6_getname()
472 if (ipv6_addr_type(&sin->sin6_addr) & IPV6_ADDR_LINKLOCAL) in inet6_getname()
Dip6mr.c1251 line = MFC6_HASH(&mfc->mf6cc_mcastgrp.sin6_addr, &mfc->mf6cc_origin.sin6_addr); in ip6mr_mfc_delete()
1254 if (ipv6_addr_equal(&c->mf6c_origin, &mfc->mf6cc_origin.sin6_addr) && in ip6mr_mfc_delete()
1255 ipv6_addr_equal(&c->mf6c_mcastgrp, &mfc->mf6cc_mcastgrp.sin6_addr)) { in ip6mr_mfc_delete()
1407 line = MFC6_HASH(&mfc->mf6cc_mcastgrp.sin6_addr, &mfc->mf6cc_origin.sin6_addr); in ip6mr_mfc_add()
1410 if (ipv6_addr_equal(&c->mf6c_origin, &mfc->mf6cc_origin.sin6_addr) && in ip6mr_mfc_add()
1411 ipv6_addr_equal(&c->mf6c_mcastgrp, &mfc->mf6cc_mcastgrp.sin6_addr)) { in ip6mr_mfc_add()
1427 if (!ipv6_addr_is_multicast(&mfc->mf6cc_mcastgrp.sin6_addr)) in ip6mr_mfc_add()
1434 c->mf6c_origin = mfc->mf6cc_origin.sin6_addr; in ip6mr_mfc_add()
1435 c->mf6c_mcastgrp = mfc->mf6cc_mcastgrp.sin6_addr; in ip6mr_mfc_add()
1801 c = ip6mr_cache_find(mrt, &sr.src.sin6_addr, &sr.grp.sin6_addr); in ip6mr_ioctl()
[all …]
Dtcp_ipv6.c157 usin->sin6_addr = flowlabel->dst; in tcp_v6_connect()
166 if(ipv6_addr_any(&usin->sin6_addr)) in tcp_v6_connect()
167 usin->sin6_addr.s6_addr[15] = 0x1; in tcp_v6_connect()
169 addr_type = ipv6_addr_type(&usin->sin6_addr); in tcp_v6_connect()
193 !ipv6_addr_equal(&np->daddr, &usin->sin6_addr)) { in tcp_v6_connect()
199 np->daddr = usin->sin6_addr; in tcp_v6_connect()
217 sin.sin_addr.s_addr = usin->sin6_addr.s6_addr32[3]; in tcp_v6_connect()
574 if (ipv6_addr_v4mapped(&sin6->sin6_addr)) in tcp_v6_parse_md5_keys()
575 return tcp_md5_do_del(sk, (union tcp_md5_addr *)&sin6->sin6_addr.s6_addr32[3], in tcp_v6_parse_md5_keys()
577 return tcp_md5_do_del(sk, (union tcp_md5_addr *)&sin6->sin6_addr, in tcp_v6_parse_md5_keys()
[all …]
Draw.c250 addr_type = ipv6_addr_type(&addr->sin6_addr); in rawv6_bind()
293 if (!ipv6_chk_addr(sock_net(sk), &addr->sin6_addr, in rawv6_bind()
301 np->rcv_saddr = addr->sin6_addr; in rawv6_bind()
303 np->saddr = addr->sin6_addr; in rawv6_bind()
494 sin6->sin6_addr = ipv6_hdr(skb)->saddr; in rawv6_recvmsg()
497 if (ipv6_addr_type(&sin6->sin6_addr) & IPV6_ADDR_LINKLOCAL) in rawv6_recvmsg()
780 daddr = &sin6->sin6_addr; in rawv6_sendmsg()
Dinet6_connection_sock.c160 sin6->sin6_addr = np->daddr; in inet6_csk_addr2sockaddr()
166 ipv6_addr_type(&sin6->sin6_addr) & IPV6_ADDR_LINKLOCAL) in inet6_csk_addr2sockaddr()
Dudp.c417 &sin6->sin6_addr); in udpv6_recvmsg()
419 sin6->sin6_addr = ipv6_hdr(skb)->saddr; in udpv6_recvmsg()
420 if (ipv6_addr_type(&sin6->sin6_addr) & IPV6_ADDR_LINKLOCAL) in udpv6_recvmsg()
983 daddr = &sin6->sin6_addr; in udpv6_sendmsg()
1051 daddr = &sin6->sin6_addr; in udpv6_sendmsg()
/linux-3.4.99/net/sunrpc/
Daddr.c30 const struct in6_addr *addr = &sin6->sin6_addr; in rpc_ntop6_noscopeid()
76 if (!(ipv6_addr_type(&sin6->sin6_addr) & IPV6_ADDR_LINKLOCAL)) in rpc_ntop6()
172 if (!(ipv6_addr_type(&sin6->sin6_addr) & IPV6_ADDR_LINKLOCAL)) in rpc_parse_scope_id()
205 u8 *addr = (u8 *)&sin6->sin6_addr.in6_u; in rpc_pton6()
Dsvcauth_unix.c221 &sin6.sin6_addr); in ip_map_parse()
248 ipmp = __ip_map_lookup(cd, class, &sin6.sin6_addr); in ip_map_parse()
686 ipv6_addr_set_v4mapped(sin->sin_addr.s_addr, &sin6->sin6_addr); in svcauth_unix_set_client()
702 &sin6->sin6_addr); in svcauth_unix_set_client()
/linux-3.4.99/include/net/sctp/
Dsctp.h298 &_addr->v6.sin6_addr, \
693 addr->v4.sin_addr.s_addr = addr->v6.sin6_addr.s6_addr32[3]; in sctp_v6_map_v4()
701 addr->v6.sin6_addr.s6_addr32[3] = addr->v4.sin_addr.s_addr; in sctp_v4_map_v6()
702 addr->v6.sin6_addr.s6_addr32[0] = 0; in sctp_v4_map_v6()
703 addr->v6.sin6_addr.s6_addr32[1] = 0; in sctp_v4_map_v6()
704 addr->v6.sin6_addr.s6_addr32[2] = htonl(0x0000ffff); in sctp_v4_map_v6()
/linux-3.4.99/include/linux/lockd/
Dlockd.h315 if (ipv6_addr_type(&sin6->sin6_addr) & IPV6_ADDR_MAPPED) in __nlm_privileged_request6()
316 return ipv4_is_loopback(sin6->sin6_addr.s6_addr32[3]); in __nlm_privileged_request6()
318 return ipv6_addr_type(&sin6->sin6_addr) & IPV6_ADDR_LOOPBACK; in __nlm_privileged_request6()
/linux-3.4.99/drivers/infiniband/core/
Daddr.c137 &((struct sockaddr_in6 *) addr)->sin6_addr, in rdma_translate_ip()
256 fl6.daddr = dst_in->sin6_addr; in addr6_resolve()
257 fl6.saddr = src_in->sin6_addr; in addr6_resolve()
271 src_in->sin6_addr = fl6.saddr; in addr6_resolve()
Dcma.c682 ip6 = &((struct sockaddr_in6 *) addr)->sin6_addr; in cma_zero_addr()
695 &((struct sockaddr_in6 *) addr)->sin6_addr); in cma_loopback_addr()
713 return ipv6_addr_cmp(&((struct sockaddr_in6 *) src)->sin6_addr, in cma_addr_cmp()
714 &((struct sockaddr_in6 *) dst)->sin6_addr); in cma_addr_cmp()
787 ip6->sin6_addr = dst->ip6; in cma_save_net_info()
792 ip6->sin6_addr = src->ip6; in cma_save_net_info()
1302 ip6_addr = ((struct sockaddr_in6 *) addr)->sin6_addr; in cma_set_compare_data()
2011 ((struct sockaddr_in6 *)src)->sin6_addr = in cma_resolve_loopback()
2012 ((struct sockaddr_in6 *)dst)->sin6_addr; in cma_resolve_loopback()
2282 if ((ipv6_addr_type(&sin6->sin6_addr) & IPV6_ADDR_LINKLOCAL) && in cma_check_linklocal()
[all …]
/linux-3.4.99/net/dccp/
Dipv6.c883 usin->sin6_addr = flowlabel->dst; in dccp_v6_connect()
890 if (ipv6_addr_any(&usin->sin6_addr)) in dccp_v6_connect()
891 usin->sin6_addr.s6_addr[15] = 1; in dccp_v6_connect()
893 addr_type = ipv6_addr_type(&usin->sin6_addr); in dccp_v6_connect()
916 np->daddr = usin->sin6_addr; in dccp_v6_connect()
933 sin.sin_addr.s_addr = usin->sin6_addr.s6_addr32[3]; in dccp_v6_connect()
/linux-3.4.99/include/linux/
Din6.h62 struct in6_addr sin6_addr; /* IPv6 address */ member
/linux-3.4.99/fs/cifs/
Dcifs_spnego.c137 sprintf(dp, "ip6=%pI6", &sa6->sin6_addr); in cifs_get_spnego_key()
Dcache.c90 key->addr[0].ipv6_addr = addr6->sin6_addr; in cifs_server_get_key()
/linux-3.4.99/fs/nfs/
Dnfs4filelayoutdev.c92 if (ipv6_addr_scope(&a6->sin6_addr) == in same_sockaddr()
97 if (ipv6_addr_equal(&a6->sin6_addr, &b6->sin6_addr) && in same_sockaddr()
Dfscache-index.c91 key->addr[0].ipv6_addr = sin6->sin6_addr; in nfs_server_get_key()
/linux-3.4.99/drivers/scsi/be2iscsi/
Dbe_mgmt.c388 &daddr_in6->sin6_addr.in6_u.u6_addr8, 16); in mgmt_open_connection()
392 &daddr_in6->sin6_addr.in6_u.u6_addr8, 16); in mgmt_open_connection()

123