in6 404 drivers/hwmon/smm665.c SMM665_ATTR(in6, input, SMM665_MISC16_ADC_DATA_D); in6 416 drivers/hwmon/smm665.c SMM665_ATTR(in6, min, SMM665_MISC16_ADC_DATA_D); in6 428 drivers/hwmon/smm665.c SMM665_ATTR(in6, max, SMM665_MISC16_ADC_DATA_D); in6 440 drivers/hwmon/smm665.c SMM665_ATTR(in6, lcrit, SMM665_MISC16_ADC_DATA_D); in6 452 drivers/hwmon/smm665.c SMM665_ATTR(in6, crit, SMM665_MISC16_ADC_DATA_D); in6 464 drivers/hwmon/smm665.c SMM665_ATTR(in6, crit_alarm, SMM665_FAULT_D); in6 871 drivers/infiniband/core/roce_gid_mgmt.c struct sockaddr_in6 in6; in6 875 drivers/infiniband/core/roce_gid_mgmt.c in6.sin6_family = AF_INET6; in6 876 drivers/infiniband/core/roce_gid_mgmt.c in6.sin6_addr = ifa6->addr; in6 879 drivers/infiniband/core/roce_gid_mgmt.c return addr_event(this, event, (struct sockaddr *)&in6, ndev); in6 84 drivers/infiniband/hw/mlx4/ah.c struct in6_addr in6; in6 89 drivers/infiniband/hw/mlx4/ah.c memcpy(&in6, grh->dgid.raw, sizeof(in6)); in6 90 drivers/infiniband/hw/mlx4/ah.c if (rdma_is_multicast_addr(&in6)) in6 3182 drivers/infiniband/hw/mlx4/qp.c struct in6_addr in6; in6 3195 drivers/infiniband/hw/mlx4/qp.c memcpy(&in6, sgid.raw, sizeof(in6)); in6 532 drivers/infiniband/hw/ocrdma/ocrdma.h struct in6_addr in6; in6 534 drivers/infiniband/hw/ocrdma/ocrdma.h memcpy(&in6, rdma_ah_read_grh(ah_attr)->dgid.raw, sizeof(in6)); in6 535 drivers/infiniband/hw/ocrdma/ocrdma.h if (rdma_is_multicast_addr(&in6)) in6 536 drivers/infiniband/hw/ocrdma/ocrdma.h rdma_get_mcast_mac(&in6, mac_addr); in6 537 drivers/infiniband/hw/ocrdma/ocrdma.h else if (rdma_link_local_addr(&in6)) in6 538 drivers/infiniband/hw/ocrdma/ocrdma.h rdma_get_ll_mac(&in6, mac_addr); in6 518 drivers/infiniband/hw/qedr/qedr.h struct in6_addr in6; in6 528 drivers/infiniband/hw/qedr/qedr.h memcpy(&in6, grh->dgid.raw, sizeof(in6)); in6 276 drivers/net/netconsole.c return snprintf(buf, PAGE_SIZE, "%pI6c\n", &nt->np.local_ip.in6); in6 286 drivers/net/netconsole.c return snprintf(buf, PAGE_SIZE, "%pI6c\n", &nt->np.remote_ip.in6); in6 487 drivers/net/netconsole.c if (in6_pton(buf, count, nt->np.local_ip.in6.s6_addr, -1, &end) > 0) { in6 523 drivers/net/netconsole.c if (in6_pton(buf, count, nt->np.remote_ip.in6.s6_addr, -1, &end) > 0) { in6 336 fs/dlm/lowcomms.c struct sockaddr_in6 *in6 = (struct sockaddr_in6 *) &sas; in6 338 fs/dlm/lowcomms.c ret6->sin6_addr = in6->sin6_addr; in6 22 include/linux/netpoll.h struct in6_addr in6; in6 86 include/net/inetpeer.h struct in6_addr *in6) in6 88 include/net/inetpeer.h iaddr->a6 = *in6; in6 84 include/net/ip_vs.h iphdr->saddr.in6 = iph->saddr; in6 85 include/net/ip_vs.h iphdr->daddr.in6 = iph->daddr; in6 155 include/net/ip_vs.h dst->in6 = src->in6; in6 166 include/net/ip_vs.h dst->in6 = src->in6; in6 181 include/net/ip_vs.h return ipv6_addr_equal(&a->in6, &b->in6); in6 199 include/net/ip_vs.h &addr->in6) + 1; in6 1054 include/net/xfrm.h return ipv6_addr_any(&addr->in6); in6 1268 include/net/xfrm.h saddr->in6 = fl->u.ip6.saddr; in6 1269 include/net/xfrm.h daddr->in6 = fl->u.ip6.daddr; in6 41 include/trace/events/fib.h struct in6_addr *in6; in6 76 include/trace/events/fib.h in6 = (struct in6_addr *)__entry->gw6; in6 77 include/trace/events/fib.h *in6 = in6_zero; in6 82 include/trace/events/fib.h in6 = (struct in6_addr *)__entry->gw6; in6 83 include/trace/events/fib.h *in6 = nhc->nhc_gw.ipv6; in6 89 include/trace/events/fib.h in6 = (struct in6_addr *)__entry->gw6; in6 90 include/trace/events/fib.h *in6 = in6_zero; in6 39 include/trace/events/fib6.h struct in6_addr *in6; in6 49 include/trace/events/fib6.h in6 = (struct in6_addr *)__entry->src; in6 50 include/trace/events/fib6.h *in6 = flp->saddr; in6 52 include/trace/events/fib6.h in6 = (struct in6_addr *)__entry->dst; in6 53 include/trace/events/fib6.h *in6 = flp->daddr; in6 73 include/trace/events/fib6.h in6 = (struct in6_addr *)__entry->gw; in6 74 include/trace/events/fib6.h *in6 = in6_zero; in6 77 include/trace/events/fib6.h in6 = (struct in6_addr *)__entry->gw; in6 78 include/trace/events/fib6.h *in6 = res->nh->fib_nh_gw6; in6 73 include/uapi/linux/netfilter.h struct in6_addr in6; in6 18 include/uapi/linux/xfrm.h struct in6_addr in6; in6 1307 lib/vsprintf.c struct in6_addr in6; in6 1309 lib/vsprintf.c memcpy(&in6, addr, sizeof(struct in6_addr)); in6 1311 lib/vsprintf.c useIPv4 = ipv6_addr_v4mapped(&in6) || ipv6_addr_is_isatap(&in6); in6 1323 lib/vsprintf.c if (in6.s6_addr16[j] != 0) in6 1352 lib/vsprintf.c word = ntohs(in6.s6_addr16[i]); in6 1372 lib/vsprintf.c p = ip4_string(p, &in6.s6_addr[12], "I4"); in6 195 net/ceph/messenger.c struct sockaddr_in6 *in6 = (struct sockaddr_in6 *)&ss; in6 209 net/ceph/messenger.c le32_to_cpu(addr->type), &in6->sin6_addr, in6 210 net/ceph/messenger.c ntohs(in6->sin6_port)); in6 399 net/core/netpoll.c udph->check = csum_ipv6_magic(&np->local_ip.in6, in6 400 net/core/netpoll.c &np->remote_ip.in6, in6 419 net/core/netpoll.c ip6h->saddr = np->local_ip.in6; in6 420 net/core/netpoll.c ip6h->daddr = np->remote_ip.in6; in6 469 net/core/netpoll.c np_info(np, "local IPv6 address %pI6c\n", &np->local_ip.in6); in6 475 net/core/netpoll.c np_info(np, "remote IPv6 address %pI6c\n", &np->remote_ip.in6); in6 491 net/core/netpoll.c if (in6_pton(str, -1, addr->in6.s6_addr, -1, &end) > 0) { in6 728 net/core/netpoll.c !!(ipv6_addr_type(&np->remote_ip.in6) & IPV6_ADDR_LINKLOCAL)) in6 730 net/core/netpoll.c np->local_ip.in6 = ifp->addr; in6 741 net/core/netpoll.c np_info(np, "local IPv6 %pI6c\n", &np->local_ip.in6); in6 405 net/core/utils.c struct sockaddr_in6 *in6 = (struct sockaddr_in6 *)addr; in6 409 net/core/utils.c if (!memcmp(in6->sin6_addr.s6_addr, in6 786 net/ipv4/tcp_metrics.c struct in6_addr in6; in6 790 net/ipv4/tcp_metrics.c in6 = nla_get_in6_addr(a); in6 791 net/ipv4/tcp_metrics.c inetpeer_set_addr_v6(addr, &in6); in6 25 net/ipv6/netfilter/ip6t_NPT.c ipv6_addr_prefix(&pfx, &npt->src_pfx.in6, npt->src_pfx_len); in6 26 net/ipv6/netfilter/ip6t_NPT.c if (!ipv6_addr_equal(&pfx, &npt->src_pfx.in6)) in6 28 net/ipv6/netfilter/ip6t_NPT.c ipv6_addr_prefix(&pfx, &npt->dst_pfx.in6, npt->dst_pfx_len); in6 29 net/ipv6/netfilter/ip6t_NPT.c if (!ipv6_addr_equal(&pfx, &npt->dst_pfx.in6)) in6 32 net/ipv6/netfilter/ip6t_NPT.c src_sum = csum_partial(&npt->src_pfx.in6, sizeof(npt->src_pfx.in6), 0); in6 33 net/ipv6/netfilter/ip6t_NPT.c dst_sum = csum_partial(&npt->dst_pfx.in6, sizeof(npt->dst_pfx.in6), 0); in6 56 net/ipv6/netfilter/ip6t_NPT.c addr->s6_addr32[idx] |= ~mask & npt->dst_pfx.in6.s6_addr32[idx]; in6 66 net/ipv6/xfrm6_policy.c ipv6_dev_get_saddr(dev_net(dev), dev, &daddr->in6, 0, &saddr->in6); in6 755 net/key/af_key.c sin6->sin6_addr = xaddr->in6; in6 179 net/netfilter/ipset/ip_set_hash_ip.c return ipv6_addr_equal(&ip1->ip.in6, &ip2->ip.in6); in6 191 net/netfilter/ipset/ip_set_hash_ip.c if (nla_put_ipaddr6(skb, IPSET_ATTR_IP, &e->ip.in6)) in6 223 net/netfilter/ipset/ip_set_hash_ip.c ip6addrptr(skb, opt->flags & IPSET_DIM_ONE_SRC, &e.ip.in6); in6 225 net/netfilter/ipset/ip_set_hash_ip.c if (ipv6_addr_any(&e.ip.in6)) in6 264 net/netfilter/ipset/ip_set_hash_ip.c if (ipv6_addr_any(&e.ip.in6)) in6 162 net/netfilter/ipset/ip_set_hash_ipmac.c return ipv6_addr_equal(&e1->ip.in6, &e2->ip.in6) && in6 169 net/netfilter/ipset/ip_set_hash_ipmac.c if (nla_put_ipaddr6(skb, IPSET_ATTR_IP, &e->ip.in6) || in6 220 net/netfilter/ipset/ip_set_hash_ipmac.c ip6addrptr(skb, opt->flags & IPSET_DIM_ONE_SRC, &e.ip.in6); in6 173 net/netfilter/ipset/ip_set_hash_ipmark.c return ipv6_addr_equal(&ip1->ip.in6, &ip2->ip.in6) && in6 181 net/netfilter/ipset/ip_set_hash_ipmark.c if (nla_put_ipaddr6(skb, IPSET_ATTR_IP, &data->ip.in6) || in6 217 net/netfilter/ipset/ip_set_hash_ipmark.c ip6addrptr(skb, opt->flags & IPSET_DIM_ONE_SRC, &e.ip.in6); in6 210 net/netfilter/ipset/ip_set_hash_ipport.c return ipv6_addr_equal(&ip1->ip.in6, &ip2->ip.in6) && in6 219 net/netfilter/ipset/ip_set_hash_ipport.c if (nla_put_ipaddr6(skb, IPSET_ATTR_IP, &data->ip.in6) || in6 257 net/netfilter/ipset/ip_set_hash_ipport.c ip6addrptr(skb, opt->flags & IPSET_DIM_ONE_SRC, &e.ip.in6); in6 218 net/netfilter/ipset/ip_set_hash_ipportip.c return ipv6_addr_equal(&ip1->ip.in6, &ip2->ip.in6) && in6 219 net/netfilter/ipset/ip_set_hash_ipportip.c ipv6_addr_equal(&ip1->ip2.in6, &ip2->ip2.in6) && in6 228 net/netfilter/ipset/ip_set_hash_ipportip.c if (nla_put_ipaddr6(skb, IPSET_ATTR_IP, &data->ip.in6) || in6 229 net/netfilter/ipset/ip_set_hash_ipportip.c nla_put_ipaddr6(skb, IPSET_ATTR_IP2, &data->ip2.in6) || in6 267 net/netfilter/ipset/ip_set_hash_ipportip.c ip6addrptr(skb, opt->flags & IPSET_DIM_ONE_SRC, &e.ip.in6); in6 268 net/netfilter/ipset/ip_set_hash_ipportip.c ip6addrptr(skb, opt->flags & IPSET_DIM_THREE_SRC, &e.ip2.in6); in6 316 net/netfilter/ipset/ip_set_hash_ipportnet.c return ipv6_addr_equal(&ip1->ip.in6, &ip2->ip.in6) && in6 317 net/netfilter/ipset/ip_set_hash_ipportnet.c ipv6_addr_equal(&ip1->ip2.in6, &ip2->ip2.in6) && in6 354 net/netfilter/ipset/ip_set_hash_ipportnet.c if (nla_put_ipaddr6(skb, IPSET_ATTR_IP, &data->ip.in6) || in6 355 net/netfilter/ipset/ip_set_hash_ipportnet.c nla_put_ipaddr6(skb, IPSET_ATTR_IP2, &data->ip2.in6) || in6 402 net/netfilter/ipset/ip_set_hash_ipportnet.c ip6addrptr(skb, opt->flags & IPSET_DIM_ONE_SRC, &e.ip.in6); in6 403 net/netfilter/ipset/ip_set_hash_ipportnet.c ip6addrptr(skb, opt->flags & IPSET_DIM_THREE_SRC, &e.ip2.in6); in6 220 net/netfilter/ipset/ip_set_hash_net.c return ipv6_addr_equal(&ip1->ip.in6, &ip2->ip.in6) && in6 254 net/netfilter/ipset/ip_set_hash_net.c if (nla_put_ipaddr6(skb, IPSET_ATTR_IP, &data->ip.in6) || in6 296 net/netfilter/ipset/ip_set_hash_net.c ip6addrptr(skb, opt->flags & IPSET_DIM_ONE_SRC, &e.ip.in6); in6 293 net/netfilter/ipset/ip_set_hash_netiface.c return ipv6_addr_equal(&ip1->ip.in6, &ip2->ip.in6) && in6 333 net/netfilter/ipset/ip_set_hash_netiface.c if (nla_put_ipaddr6(skb, IPSET_ATTR_IP, &data->ip.in6) || in6 376 net/netfilter/ipset/ip_set_hash_netiface.c ip6addrptr(skb, opt->flags & IPSET_DIM_ONE_SRC, &e.ip.in6); in6 290 net/netfilter/ipset/ip_set_hash_netnet.c return ipv6_addr_equal(&ip1->ip[0].in6, &ip2->ip[0].in6) && in6 291 net/netfilter/ipset/ip_set_hash_netnet.c ipv6_addr_equal(&ip1->ip[1].in6, &ip2->ip[1].in6) && in6 338 net/netfilter/ipset/ip_set_hash_netnet.c if (nla_put_ipaddr6(skb, IPSET_ATTR_IP, &data->ip[0].in6) || in6 339 net/netfilter/ipset/ip_set_hash_netnet.c nla_put_ipaddr6(skb, IPSET_ATTR_IP2, &data->ip[1].in6) || in6 387 net/netfilter/ipset/ip_set_hash_netnet.c ip6addrptr(skb, opt->flags & IPSET_DIM_ONE_SRC, &e.ip[0].in6); in6 388 net/netfilter/ipset/ip_set_hash_netnet.c ip6addrptr(skb, opt->flags & IPSET_DIM_TWO_SRC, &e.ip[1].in6); in6 278 net/netfilter/ipset/ip_set_hash_netport.c return ipv6_addr_equal(&ip1->ip.in6, &ip2->ip.in6) && in6 315 net/netfilter/ipset/ip_set_hash_netport.c if (nla_put_ipaddr6(skb, IPSET_ATTR_IP, &data->ip.in6) || in6 362 net/netfilter/ipset/ip_set_hash_netport.c ip6addrptr(skb, opt->flags & IPSET_DIM_ONE_SRC, &e.ip.in6); in6 339 net/netfilter/ipset/ip_set_hash_netportnet.c return ipv6_addr_equal(&ip1->ip[0].in6, &ip2->ip[0].in6) && in6 340 net/netfilter/ipset/ip_set_hash_netportnet.c ipv6_addr_equal(&ip1->ip[1].in6, &ip2->ip[1].in6) && in6 390 net/netfilter/ipset/ip_set_hash_netportnet.c if (nla_put_ipaddr6(skb, IPSET_ATTR_IP, &data->ip[0].in6) || in6 391 net/netfilter/ipset/ip_set_hash_netportnet.c nla_put_ipaddr6(skb, IPSET_ATTR_IP2, &data->ip[1].in6) || in6 446 net/netfilter/ipset/ip_set_hash_netportnet.c ip6addrptr(skb, opt->flags & IPSET_DIM_ONE_SRC, &e.ip[0].in6); in6 447 net/netfilter/ipset/ip_set_hash_netportnet.c ip6addrptr(skb, opt->flags & IPSET_DIM_THREE_SRC, &e.ip[1].in6); in6 1106 net/netfilter/ipvs/ip_vs_conn.c snprintf(dbuf, sizeof(dbuf), "%pI6", &cp->daddr.in6); in6 1117 net/netfilter/ipvs/ip_vs_conn.c &cp->caddr.in6, ntohs(cp->cport), in6 1118 net/netfilter/ipvs/ip_vs_conn.c &cp->vaddr.in6, ntohs(cp->vport), in6 1172 net/netfilter/ipvs/ip_vs_conn.c snprintf(dbuf, sizeof(dbuf), "%pI6", &cp->daddr.in6); in6 1183 net/netfilter/ipvs/ip_vs_conn.c &cp->caddr.in6, ntohs(cp->cport), in6 1184 net/netfilter/ipvs/ip_vs_conn.c &cp->vaddr.in6, ntohs(cp->vport), in6 292 net/netfilter/ipvs/ip_vs_core.c ipv6_addr_prefix(&snet.in6, &src_addr->in6, in6 587 net/netfilter/ipvs/ip_vs_core.c return ipv6_addr_type(&addr->in6) & IPV6_ADDR_UNICAST; in6 831 net/netfilter/ipvs/ip_vs_core.c iph->saddr = cp->vaddr.in6; in6 832 net/netfilter/ipvs/ip_vs_core.c ciph->daddr = cp->vaddr.in6; in6 834 net/netfilter/ipvs/ip_vs_core.c iph->daddr = cp->daddr.in6; in6 835 net/netfilter/ipvs/ip_vs_core.c ciph->saddr = cp->daddr.in6; in6 1060 net/netfilter/ipvs/ip_vs_core.c snet.in6 = ciph.saddr.in6; in6 1179 net/netfilter/ipvs/ip_vs_core.c ipv6_addr_prefix(&snet.in6, &caddr->in6, in6 1297 net/netfilter/ipvs/ip_vs_core.c ipv6_hdr(skb)->saddr = cp->vaddr.in6; in6 962 net/netfilter/ipvs/ip_vs_ctl.c atype = ipv6_addr_type(&udest->addr.in6); in6 965 net/netfilter/ipvs/ip_vs_ctl.c !__ip_vs_addr_is_local_v6(svc->ipvs->net, &udest->addr.in6)) in6 2142 net/netfilter/ipvs/ip_vs_ctl.c &svc->addr.in6, in6 2172 net/netfilter/ipvs/ip_vs_ctl.c &dest->addr.in6, in6 3439 net/netfilter/ipvs/ip_vs_ctl.c &c->mcast_group.in6)) in6 3539 net/netfilter/ipvs/ip_vs_ctl.c c.mcast_group.in6 = nla_get_in6_addr(a); in6 3540 net/netfilter/ipvs/ip_vs_ctl.c addr_type = ipv6_addr_type(&c.mcast_group.in6); in6 203 net/netfilter/ipvs/ip_vs_proto_tcp.c tcph->check = csum_ipv6_magic(&cp->vaddr.in6, in6 204 net/netfilter/ipvs/ip_vs_proto_tcp.c &cp->caddr.in6, in6 286 net/netfilter/ipvs/ip_vs_proto_tcp.c tcph->check = csum_ipv6_magic(&cp->caddr.in6, in6 287 net/netfilter/ipvs/ip_vs_proto_tcp.c &cp->daddr.in6, in6 196 net/netfilter/ipvs/ip_vs_proto_udp.c udph->check = csum_ipv6_magic(&cp->vaddr.in6, in6 197 net/netfilter/ipvs/ip_vs_proto_udp.c &cp->caddr.in6, in6 280 net/netfilter/ipvs/ip_vs_proto_udp.c udph->check = csum_ipv6_magic(&cp->caddr.in6, in6 281 net/netfilter/ipvs/ip_vs_proto_udp.c &cp->daddr.in6, in6 155 net/netfilter/ipvs/ip_vs_sched.c &svc->addr.in6, ntohs(svc->port), msg); in6 270 net/netfilter/ipvs/ip_vs_sync.c struct sockaddr_in6 in6; in6 740 net/netfilter/ipvs/ip_vs_sync.c s->v6.caddr = cp->caddr.in6; in6 741 net/netfilter/ipvs/ip_vs_sync.c s->v6.vaddr = cp->vaddr.in6; in6 742 net/netfilter/ipvs/ip_vs_sync.c s->v6.daddr = cp->daddr.in6; in6 1454 net/netfilter/ipvs/ip_vs_sync.c sa->in6 = (struct sockaddr_in6) { in6 1458 net/netfilter/ipvs/ip_vs_sync.c sa->in6.sin6_addr = c->mcast_group.in6; in6 1459 net/netfilter/ipvs/ip_vs_sync.c *salen = sizeof(sa->in6); in6 1563 net/netfilter/ipvs/ip_vs_sync.c result = join_mcast_group6(sock->sk, &mcast_addr.in6.sin6_addr, in6 498 net/netfilter/ipvs/ip_vs_xmit.c dst = __ip_vs_route_output_v6(net, &dest->addr.in6, in6 499 net/netfilter/ipvs/ip_vs_xmit.c &dest_dst->dst_saddr.in6, in6 512 net/netfilter/ipvs/ip_vs_xmit.c &dest->addr.in6, &dest_dst->dst_saddr.in6, in6 516 net/netfilter/ipvs/ip_vs_xmit.c *ret_saddr = dest_dst->dst_saddr.in6; in6 872 net/netfilter/ipvs/ip_vs_xmit.c &cp->daddr.in6, in6 900 net/netfilter/ipvs/ip_vs_xmit.c ipv6_addr_type(&cp->daddr.in6) & IPV6_ADDR_LOOPBACK) { in6 917 net/netfilter/ipvs/ip_vs_xmit.c ipv6_hdr(skb)->daddr = cp->daddr.in6; in6 1304 net/netfilter/ipvs/ip_vs_xmit.c &cp->daddr.in6, in6 1387 net/netfilter/ipvs/ip_vs_xmit.c udp6_set_csum(!check, skb, &saddr, &cp->daddr.in6, skb->len); in6 1404 net/netfilter/ipvs/ip_vs_xmit.c iph->daddr = cp->daddr.in6; in6 1477 net/netfilter/ipvs/ip_vs_xmit.c &cp->daddr.in6, in6 1631 net/netfilter/ipvs/ip_vs_xmit.c &cp->daddr.in6, NULL, ipvsh, 0, rt_mode); in6 1647 net/netfilter/ipvs/ip_vs_xmit.c __func__, &cp->daddr.in6); in6 1655 net/netfilter/ipvs/ip_vs_xmit.c ipv6_addr_type(&cp->daddr.in6) & IPV6_ADDR_LOOPBACK) { in6 1658 net/netfilter/ipvs/ip_vs_xmit.c __func__, &cp->daddr.in6); in6 423 net/netfilter/nf_conntrack_core.c inverse->src.u3.in6 = orig->dst.u3.in6; in6 424 net/netfilter/nf_conntrack_core.c inverse->dst.u3.in6 = orig->src.u3.in6; in6 756 net/netfilter/nf_conntrack_h323_main.c fl1.daddr = src->in6; in6 759 net/netfilter/nf_conntrack_h323_main.c fl2.daddr = dst->in6; in6 95 net/netfilter/nf_conntrack_netlink.c if (nla_put_in6_addr(skb, CTA_IP_V6_SRC, &tuple->src.u3.in6) || in6 96 net/netfilter/nf_conntrack_netlink.c nla_put_in6_addr(skb, CTA_IP_V6_DST, &tuple->dst.u3.in6)) in6 1014 net/netfilter/nf_conntrack_netlink.c t->src.u3.in6 = nla_get_in6_addr(tb[CTA_IP_V6_SRC]); in6 1015 net/netfilter/nf_conntrack_netlink.c t->dst.u3.in6 = nla_get_in6_addr(tb[CTA_IP_V6_DST]); in6 317 net/netfilter/nf_conntrack_proto.c tuple.src.u3.in6 = sk->sk_v6_rcv_saddr; in6 319 net/netfilter/nf_conntrack_proto.c tuple.dst.u3.in6 = sk->sk_v6_daddr; in6 347 net/netfilter/nf_conntrack_proto.c &ct->tuplehash[IP_CT_DIR_ORIGINAL].tuple.dst.u3.in6, in6 885 net/netfilter/nf_conntrack_sip.c fl.u.ip6.daddr = daddr->in6; in6 45 net/netfilter/nf_flow_table_core.c ft->src_v6 = ctt->src.u3.in6; in6 46 net/netfilter/nf_flow_table_core.c ft->dst_v6 = ctt->dst.u3.in6; in6 98 net/netfilter/nf_nat_core.c fl6->daddr = t->dst.u3.in6; in6 110 net/netfilter/nf_nat_core.c fl6->saddr = t->src.u3.in6; in6 227 net/netfilter/nf_nat_core.c return ipv6_addr_cmp(&t->src.u3.in6, &range->min_addr.in6) >= 0 && in6 228 net/netfilter/nf_nat_core.c ipv6_addr_cmp(&t->src.u3.in6, &range->max_addr.in6) <= 0; in6 181 net/netfilter/nf_nat_masquerade.c newrange.min_addr.in6 = src; in6 182 net/netfilter/nf_nat_masquerade.c newrange.max_addr.in6 = src; in6 207 net/netfilter/nf_nat_masquerade.c return ipv6_addr_equal(&w->addr, &tuple->dst.u3.in6); in6 411 net/netfilter/nf_nat_proto.c ipv6h->saddr = target->src.u3.in6; in6 413 net/netfilter/nf_nat_proto.c ipv6h->daddr = target->dst.u3.in6; in6 474 net/netfilter/nf_nat_proto.c newip = &t->src.u3.in6; in6 477 net/netfilter/nf_nat_proto.c newip = &t->dst.u3.in6; in6 113 net/netfilter/nf_nat_redirect.c newrange.min_addr.in6 = newdst; in6 114 net/netfilter/nf_nat_redirect.c newrange.max_addr.in6 = newdst; in6 38 net/netfilter/nft_flow_offload.c fl.u.ip6.daddr = ct->tuplehash[dir].tuple.src.u3.in6; in6 228 net/netfilter/nft_tproxy.c alen = FIELD_SIZEOF(union nf_inet_addr, in6); in6 139 net/netfilter/nft_xfrm.c memcpy(dest, &state->id.daddr.in6, sizeof(struct in6_addr)); in6 145 net/netfilter/nft_xfrm.c memcpy(dest, &state->props.saddr.in6, sizeof(struct in6_addr)); in6 35 net/netfilter/xt_NETMAP.c new_addr.in6 = ipv6_hdr(skb)->daddr; in6 37 net/netfilter/xt_NETMAP.c new_addr.in6 = ipv6_hdr(skb)->saddr; in6 54 net/netfilter/xt_TEE.c nf_dup_ipv6(xt_net(par), skb, xt_hooknum(par), &info->gw.in6, oif); in6 145 net/netfilter/xt_TPROXY.c laddr = nf_tproxy_laddr6(skb, &tgi->laddr.in6, &iph->daddr); in6 154 net/netfilter/xt_TPROXY.c &tgi->laddr.in6, in6 33 net/netfilter/xt_conntrack.c return ipv6_masked_addr_cmp(&kaddr->in6, &umask->in6, in6 34 net/netfilter/xt_conntrack.c &uaddr->in6) == 0; in6 73 net/netfilter/xt_iprange.c m = iprange_ipv6_lt(&iph->saddr, &info->src_min.in6); in6 74 net/netfilter/xt_iprange.c m |= iprange_ipv6_lt(&info->src_max.in6, &iph->saddr); in6 80 net/netfilter/xt_iprange.c &info->src_min.in6, in6 81 net/netfilter/xt_iprange.c &info->src_max.in6); in6 86 net/netfilter/xt_iprange.c m = iprange_ipv6_lt(&iph->daddr, &info->dst_min.in6); in6 87 net/netfilter/xt_iprange.c m |= iprange_ipv6_lt(&info->dst_max.in6, &iph->daddr); in6 93 net/netfilter/xt_iprange.c &info->dst_min.in6, in6 94 net/netfilter/xt_iprange.c &info->dst_max.in6); in6 41 net/netfilter/xt_ipvs.c return ipv6_masked_addr_cmp(&kaddr->in6, &umask->in6, in6 42 net/netfilter/xt_ipvs.c &uaddr->in6) == 0; in6 29 net/netfilter/xt_policy.c return ipv6_masked_addr_cmp(&a1->in6, &m->in6, &a2->in6) == 0; in6 257 net/netfilter/xt_recent.c memcpy(&addr.in6, &iph->daddr, sizeof(addr.in6)); in6 259 net/netfilter/xt_recent.c memcpy(&addr.in6, &iph->saddr, sizeof(addr.in6)); in6 524 net/netfilter/xt_recent.c &e->addr.in6, e->ttl, e->stamps[i], e->index); in6 216 net/openvswitch/conntrack.c key->ipv6.ct_orig.src = orig->src.u3.in6; in6 217 net/openvswitch/conntrack.c key->ipv6.ct_orig.dst = orig->dst.u3.in6; in6 1743 net/openvswitch/conntrack.c &info->range.min_addr.in6) || in6 1744 net/openvswitch/conntrack.c (memcmp(&info->range.max_addr.in6, in6 1745 net/openvswitch/conntrack.c &info->range.min_addr.in6, in6 1746 net/openvswitch/conntrack.c sizeof(info->range.max_addr.in6)) && in6 1748 net/openvswitch/conntrack.c &info->range.max_addr.in6)))) in6 549 net/sched/act_ct.c range->min_addr.in6 = in6 552 net/sched/act_ct.c range->max_addr.in6 = max_attr ? in6 554 net/sched/act_ct.c range->min_addr.in6; in6 809 net/sched/act_ct.c &range->min_addr.in6)) in6 812 net/sched/act_ct.c &range->max_addr.in6)) in6 632 net/sctp/ipv6.c const struct in6_addr *in6 = (const struct in6_addr *)&addr->v6.sin6_addr; in6 634 net/sctp/ipv6.c type = ipv6_addr_type(in6); in6 647 net/sctp/ipv6.c ipv6_chk_addr(net, in6, NULL, 0); in6 635 net/sctp/protocol.c struct in6_addr *in6; in6 641 net/sctp/protocol.c in6 = (struct in6_addr *)&addrw->a.v6.sin6_addr; in6 642 net/sctp/protocol.c if (ipv6_chk_addr(net, in6, NULL, 0) == 0 && in6 311 net/xfrm/xfrm_input.c ip6h->daddr = x->sel.daddr.in6; in6 312 net/xfrm/xfrm_input.c ip6h->saddr = x->sel.saddr.in6; in6 1347 net/xfrm/xfrm_state.c x->sel.daddr.in6 = daddr->in6; in6 1348 net/xfrm/xfrm_state.c x->sel.saddr.in6 = saddr->in6; in6 1351 net/xfrm/xfrm_state.c x->props.saddr.in6 = saddr->in6; in6 1352 net/xfrm/xfrm_state.c x->id.daddr.in6 = daddr->in6; in6 170 samples/bpf/map_perf_test_kern.c struct sockaddr_in6 *in6; in6 176 samples/bpf/map_perf_test_kern.c in6 = (struct sockaddr_in6 *)PT_REGS_PARM2(ctx); in6 179 samples/bpf/map_perf_test_kern.c if (addrlen != sizeof(*in6)) in6 183 samples/bpf/map_perf_test_kern.c &in6->sin6_addr); in6 120 samples/bpf/map_perf_test_user.c struct sockaddr_in6 in6 = { .sin6_family = AF_INET6 }; in6 161 samples/bpf/map_perf_test_user.c in6.sin6_addr.s6_addr16[0] = 0xdead; in6 162 samples/bpf/map_perf_test_user.c in6.sin6_addr.s6_addr16[1] = 0xbeef; in6 166 samples/bpf/map_perf_test_user.c in6.sin6_addr.s6_addr16[2] = 0; in6 169 samples/bpf/map_perf_test_user.c in6.sin6_addr.s6_addr16[2] = 1; in6 172 samples/bpf/map_perf_test_user.c in6.sin6_addr.s6_addr16[2] = 2; in6 175 samples/bpf/map_perf_test_user.c in6.sin6_addr.s6_addr16[2] = 3; in6 176 samples/bpf/map_perf_test_user.c in6.sin6_addr.s6_addr32[3] = 0; in6 183 samples/bpf/map_perf_test_user.c ret = connect(-1, (const struct sockaddr *)&in6, sizeof(in6)); in6 185 samples/bpf/map_perf_test_user.c if (in6.sin6_addr.s6_addr32[3] < in6 187 samples/bpf/map_perf_test_user.c in6.sin6_addr.s6_addr32[3] += 32; in6 189 samples/bpf/map_perf_test_user.c in6.sin6_addr.s6_addr32[3] = 0; in6 106 samples/bpf/test_map_in_map_kern.c struct sockaddr_in6 *in6; in6 113 samples/bpf/test_map_in_map_kern.c in6 = (struct sockaddr_in6 *)PT_REGS_PARM2(ctx); in6 116 samples/bpf/test_map_in_map_kern.c if (addrlen != sizeof(*in6)) in6 119 samples/bpf/test_map_in_map_kern.c ret = bpf_probe_read(dst6, sizeof(dst6), &in6->sin6_addr); in6 130 samples/bpf/test_map_in_map_kern.c ret = bpf_probe_read(&port, sizeof(port), &in6->sin6_port); in6 72 samples/bpf/test_map_in_map_user.c struct sockaddr_in6 in6 = { .sin6_family = AF_INET6 }; in6 82 samples/bpf/test_map_in_map_user.c in6.sin6_addr.s6_addr16[0] = 0xdead; in6 83 samples/bpf/test_map_in_map_user.c in6.sin6_addr.s6_addr16[1] = 0xbeef; in6 84 samples/bpf/test_map_in_map_user.c in6.sin6_port = port_key; in6 89 samples/bpf/test_map_in_map_user.c in6.sin6_addr.s6_addr16[7] = i; in6 90 samples/bpf/test_map_in_map_user.c ret = connect(-1, (struct sockaddr *)&in6, sizeof(in6)); in6 4580 tools/lib/traceevent/event-parse.c struct in6_addr in6; in6 4582 tools/lib/traceevent/event-parse.c memcpy(&in6, addr, sizeof(struct in6_addr)); in6 4584 tools/lib/traceevent/event-parse.c useIPv4 = ipv6_addr_v4mapped(&in6) || ipv6_addr_is_isatap(&in6); in6 4596 tools/lib/traceevent/event-parse.c if (in6.s6_addr16[j] != 0) in6 4625 tools/lib/traceevent/event-parse.c word = ntohs(in6.s6_addr16[i]); in6 4639 tools/lib/traceevent/event-parse.c print_ip4_addr(s, 'I', &in6.s6_addr[12]); in6 48 tools/testing/selftests/net/nettest.c struct in6_addr in6; in6 54 tools/testing/selftests/net/nettest.c struct in6_addr in6; in6 85 tools/testing/selftests/net/nettest.c struct in6_addr in6; in6 91 tools/testing/selftests/net/nettest.c struct in6_addr in6; in6 248 tools/testing/selftests/net/nettest.c sin6.sin6_addr = args->remote_addr.in6; in6 774 tools/testing/selftests/net/nettest.c struct in6_addr *in6 = &s6->sin6_addr; in6 776 tools/testing/selftests/net/nettest.c if (IN6_IS_ADDR_V4MAPPED(in6)) { in6 777 tools/testing/selftests/net/nettest.c const uint32_t *pa = (uint32_t *) &in6->s6_addr; in6 1094 tools/testing/selftests/net/nettest.c serv6_addr.sin6_addr = args->local_addr.in6; in6 1370 tools/testing/selftests/net/nettest.c sin6.sin6_addr = args->remote_addr.in6; in6 1414 tools/testing/selftests/net/nettest.c struct in6_addr *in6; in6 1472 tools/testing/selftests/net/nettest.c in6 = (struct in6_addr *) addr; in6 1474 tools/testing/selftests/net/nettest.c if (inet_pton(AF_INET6, str, in6) == 0) { in6 1480 tools/testing/selftests/net/nettest.c *in6 = in6addr_any;