Searched refs:sin6_addr (Results 1 – 10 of 10) sorted by relevance
/linux-2.4.37.9/net/sctp/ |
D | ipv6.c | 177 fl.fl6_dst = &transport->ipaddr.v6.sin6_addr; in sctp_v6_xmit() 178 fl.fl6_src = &transport->saddr.v6.sin6_addr; in sctp_v6_xmit() 216 fl.fl6_dst = &daddr->v6.sin6_addr; in sctp_v6_get_dst() 217 if (ipv6_addr_type(&daddr->v6.sin6_addr) & IPV6_ADDR_LINKLOCAL) in sctp_v6_get_dst() 225 fl.fl6_src = &saddr->v6.sin6_addr; in sctp_v6_get_dst() 252 struct in6_addr *a1 = &s1->v6.sin6_addr; in sctp_v6_addr_match_len() 253 struct in6_addr *a2 = &s2->v6.sin6_addr; in sctp_v6_addr_match_len() 287 __FUNCTION__, asoc, dst, NIP6(&daddr->v6.sin6_addr)); in sctp_v6_get_saddr() 290 ipv6_get_saddr(dst, &daddr->v6.sin6_addr,&saddr->v6.sin6_addr); in sctp_v6_get_saddr() 293 NIP6(&saddr->v6.sin6_addr)); in sctp_v6_get_saddr() [all …]
|
/linux-2.4.37.9/net/ipv6/ |
D | af_inet6.c | 250 addr_type = ipv6_addr_type(&addr->sin6_addr); in inet6_bind() 256 v4addr = addr->sin6_addr.s6_addr32[3]; in inet6_bind() 266 if (!ipv6_chk_addr(&addr->sin6_addr, NULL)) in inet6_bind() 304 ipv6_addr_copy(&sk->net_pinfo.af_inet6.rcv_saddr, &addr->sin6_addr); in inet6_bind() 307 ipv6_addr_copy(&sk->net_pinfo.af_inet6.saddr, &addr->sin6_addr); in inet6_bind() 394 memcpy(&sin->sin6_addr, &sk->net_pinfo.af_inet6.daddr, in inet6_getname() 400 memcpy(&sin->sin6_addr, in inet6_getname() 404 memcpy(&sin->sin6_addr, in inet6_getname() 410 if (ipv6_addr_type(&sin->sin6_addr) & IPV6_ADDR_LINKLOCAL) in inet6_getname()
|
D | datagram.c | 141 memcpy(&sin->sin6_addr, skb->nh.raw + serr->addr_offset, 16); in ipv6_recv_error() 144 if (ipv6_addr_type(&sin->sin6_addr) & IPV6_ADDR_LINKLOCAL) { in ipv6_recv_error() 149 ipv6_addr_set(&sin->sin6_addr, 0, 0, in ipv6_recv_error() 163 memcpy(&sin->sin6_addr, &skb->nh.ipv6h->saddr, 16); in ipv6_recv_error() 166 if (ipv6_addr_type(&sin->sin6_addr) & IPV6_ADDR_LINKLOCAL) { in ipv6_recv_error() 171 ipv6_addr_set(&sin->sin6_addr, 0, 0, in ipv6_recv_error()
|
D | raw.c | 198 addr_type = ipv6_addr_type(&addr->sin6_addr); in rawv6_bind() 232 if (!ipv6_chk_addr(&addr->sin6_addr, NULL)) in rawv6_bind() 239 ipv6_addr_copy(&sk->net_pinfo.af_inet6.rcv_saddr, &addr->sin6_addr); in rawv6_bind() 241 ipv6_addr_copy(&sk->net_pinfo.af_inet6.saddr, &addr->sin6_addr); in rawv6_bind() 396 memcpy(&sin6->sin6_addr, &skb->nh.ipv6h->saddr, in rawv6_recvmsg() 400 if (ipv6_addr_type(&sin6->sin6_addr) & IPV6_ADDR_LINKLOCAL) { in rawv6_recvmsg() 559 daddr = &sin6->sin6_addr; in rawv6_sendmsg()
|
D | udp.c | 258 ipv6_addr_copy(&usin->sin6_addr, &flowlabel->dst); in udpv6_connect() 262 addr_type = ipv6_addr_type(&usin->sin6_addr); in udpv6_connect() 268 usin->sin6_addr.s6_addr[15] = 0x01; in udpv6_connect() 271 daddr = &usin->sin6_addr; in udpv6_connect() 445 ipv6_addr_set(&sin6->sin6_addr, 0, 0, in udpv6_recvmsg() 450 memcpy(&sin6->sin6_addr, &skb->nh.ipv6h->saddr, in udpv6_recvmsg() 455 if (ipv6_addr_type(&sin6->sin6_addr) & IPV6_ADDR_LINKLOCAL) { in udpv6_recvmsg() 818 daddr = &sin6->sin6_addr; in udpv6_sendmsg()
|
D | ipv6_sockglue.c | 405 &psin6->sin6_addr); in ipv6_setsockopt() 408 &psin6->sin6_addr); in ipv6_setsockopt() 441 &psin6->sin6_addr); in ipv6_setsockopt()
|
D | tcp_ipv6.c | 577 ipv6_addr_copy(&usin->sin6_addr, &flowlabel->dst); in tcp_v6_connect() 586 if(ipv6_addr_any(&usin->sin6_addr)) in tcp_v6_connect() 587 usin->sin6_addr.s6_addr[15] = 0x1; in tcp_v6_connect() 589 addr_type = ipv6_addr_type(&usin->sin6_addr); in tcp_v6_connect() 612 if (tp->ts_recent_stamp && ipv6_addr_cmp(&np->daddr, &usin->sin6_addr)) { in tcp_v6_connect() 618 ipv6_addr_copy(&np->daddr, &usin->sin6_addr); in tcp_v6_connect() 636 sin.sin_addr.s_addr = usin->sin6_addr.s6_addr32[3]; in tcp_v6_connect() 1770 memcpy(&sin6->sin6_addr, &np->daddr, sizeof(struct in6_addr)); in v6_addr2sockaddr() 1775 if (sk->bound_dev_if && ipv6_addr_type(&sin6->sin6_addr)&IPV6_ADDR_LINKLOCAL) in v6_addr2sockaddr()
|
D | mcast.c | 351 source = &((struct sockaddr_in6 *)&pgsr->gsr_source)->sin6_addr; in ip6_mc_source() 352 group = &((struct sockaddr_in6 *)&pgsr->gsr_group)->sin6_addr; in ip6_mc_source() 465 group = &((struct sockaddr_in6 *)&gsf->gf_group)->sin6_addr; in ip6_mc_msfilter() 500 newpsl->sl_addr[i] = psin6->sin6_addr; in ip6_mc_msfilter() 540 group = &((struct sockaddr_in6 *)&gsf->gf_group)->sin6_addr; in ip6_mc_msfget() 582 psin6->sin6_addr = psl->sl_addr[i]; in ip6_mc_msfget()
|
/linux-2.4.37.9/include/net/sctp/ |
D | sctp.h | 614 addr->v4.sin_addr.s_addr = addr->v6.sin6_addr.s6_addr32[3]; in sctp_v6_map_v4() 622 addr->v6.sin6_addr.s6_addr32[3] = addr->v4.sin_addr.s_addr; in sctp_v4_map_v6() 623 addr->v6.sin6_addr.s6_addr32[0] = 0; in sctp_v4_map_v6() 624 addr->v6.sin6_addr.s6_addr32[1] = 0; in sctp_v4_map_v6() 625 addr->v6.sin6_addr.s6_addr32[2] = htonl(0x0000ffff); in sctp_v4_map_v6()
|
/linux-2.4.37.9/include/linux/ |
D | in6.h | 56 struct in6_addr sin6_addr; /* IPv6 address */ member
|