Home
last modified time | relevance | path

Searched full:in6 (Results 1 – 25 of 320) sorted by relevance

12345678910>>...13

/linux/include/trace/events/
H A Dfib6.h8 #include <linux/in6.h>
39 struct in6_addr *in6;
49 in6 = (struct in6_addr *)__entry->src;
50 *in6 = flp->saddr;
52 in6 = (struct in6_addr *)__entry->dst;
53 *in6 = flp->daddr;
71 in6 = (struct in6_addr *)__entry->gw;
72 *in6 = in6addr_any;
74 in6 = (struct in6_addr *)__entry->gw;
75 *in6 = res->nh->fib_nh_gw6;
H A Dfib.h40 struct in6_addr *in6;
75 in6 = (struct in6_addr *)__entry->gw6;
76 *in6 = in6addr_any;
81 in6 = (struct in6_addr *)__entry->gw6;
82 *in6 = nhc->nhc_gw.ipv6;
88 in6 = (struct in6_addr *)__entry->gw6;
89 *in6 = in6addr_any;
H A Dbridge.h142 struct in6_addr *in6;
156 in6 = (struct in6_addr *)__entry->src;
157 ipv6_addr_set_v4mapped(group->src.ip4, in6);
159 in6 = (struct in6_addr *)__entry->grp;
160 ipv6_addr_set_v4mapped(group->dst.ip4, in6);
168 in6 = (struct in6_addr *)__entry->src;
169 *in6 = group->src.ip6;
171 in6 = (struct in6_addr *)__entry->grp;
172 *in6 = group->dst.ip6;
/linux/net/ipv6/netfilter/
H A Dip6t_NPT.c25 ipv6_addr_prefix(&pfx, &npt->src_pfx.in6, npt->src_pfx_len); in ip6t_npt_checkentry()
26 if (!ipv6_addr_equal(&pfx, &npt->src_pfx.in6)) in ip6t_npt_checkentry()
28 ipv6_addr_prefix(&pfx, &npt->dst_pfx.in6, npt->dst_pfx_len); in ip6t_npt_checkentry()
29 if (!ipv6_addr_equal(&pfx, &npt->dst_pfx.in6)) in ip6t_npt_checkentry()
32 src_sum = csum_partial(&npt->src_pfx.in6, sizeof(npt->src_pfx.in6), 0); in ip6t_npt_checkentry()
33 dst_sum = csum_partial(&npt->dst_pfx.in6, sizeof(npt->dst_pfx.in6), 0); in ip6t_npt_checkentry()
56 addr->s6_addr32[idx] |= ~mask & npt->dst_pfx.in6.s6_addr32[idx]; in ip6t_npt_map_pfx()
113 if (ipv6_addr_cmp(&bounced_pfx, &npt->src_pfx.in6) == 0) in ip6t_snpt_tg()
138 if (ipv6_addr_cmp(&bounced_pfx, &npt->src_pfx.in6) == 0) in ip6t_dnpt_tg()
/linux/net/netfilter/
H A Dxt_iprange.c73 m = iprange_ipv6_lt(&iph->saddr, &info->src_min.in6); in iprange_mt6()
74 m |= iprange_ipv6_lt(&info->src_max.in6, &iph->saddr); in iprange_mt6()
80 &info->src_min.in6, in iprange_mt6()
81 &info->src_max.in6); in iprange_mt6()
86 m = iprange_ipv6_lt(&iph->daddr, &info->dst_min.in6); in iprange_mt6()
87 m |= iprange_ipv6_lt(&info->dst_max.in6, &iph->daddr); in iprange_mt6()
93 &info->dst_min.in6, in iprange_mt6()
94 &info->dst_max.in6); in iprange_mt6()
H A Dxt_ipvs.c41 return ipv6_masked_addr_cmp(&kaddr->in6, &umask->in6, in ipvs_mt_addrcmp()
42 &uaddr->in6) == 0; in ipvs_mt_addrcmp()
/linux/samples/bpf/
H A Dmap_perf_test_user.c124 struct sockaddr_in6 in6 = { .sin6_family = AF_INET6 }; in do_test_lru() local
168 in6.sin6_addr.s6_addr16[0] = 0xdead; in do_test_lru()
169 in6.sin6_addr.s6_addr16[1] = 0xbeef; in do_test_lru()
173 in6.sin6_addr.s6_addr16[2] = 0; in do_test_lru()
176 in6.sin6_addr.s6_addr16[2] = 1; in do_test_lru()
179 in6.sin6_addr.s6_addr16[2] = 2; in do_test_lru()
182 in6.sin6_addr.s6_addr16[2] = 3; in do_test_lru()
183 in6.sin6_addr.s6_addr32[3] = 0; in do_test_lru()
190 ret = connect(-1, (const struct sockaddr *)&in6, sizeof(in6)); in do_test_lru()
192 if (in6.sin6_addr.s6_addr32[3] < in do_test_lru()
[all …]
H A Dtest_map_in_map_user.c75 struct sockaddr_in6 in6 = { .sin6_family = AF_INET6 }; in test_map_in_map() local
85 in6.sin6_addr.s6_addr16[0] = 0xdead; in test_map_in_map()
86 in6.sin6_addr.s6_addr16[1] = 0xbeef; in test_map_in_map()
87 in6.sin6_port = port_key; in test_map_in_map()
92 in6.sin6_addr.s6_addr16[7] = i; in test_map_in_map()
93 ret = connect(-1, (struct sockaddr *)&in6, sizeof(in6)); in test_map_in_map()
H A Dtest_map_in_map.bpf.c107 int BPF_KSYSCALL(trace_sys_connect, unsigned int fd, struct sockaddr_in6 *in6, int addrlen) in BPF_KSYSCALL() argument
115 if (addrlen != sizeof(*in6)) in BPF_KSYSCALL()
118 ret = bpf_probe_read_user(dst6, sizeof(dst6), &in6->sin6_addr); in BPF_KSYSCALL()
129 ret = bpf_probe_read_user(&port, sizeof(port), &in6->sin6_port); in BPF_KSYSCALL()
/linux/tools/testing/selftests/bpf/prog_tests/
H A Dskeleton.c56 CHECK(rodata->in.in6 != 0, "in6", "got %d != exp %d\n", rodata->in.in6, 0); in test_skeleton()
70 rodata->in.in6 = 14; in test_skeleton()
85 CHECK(rodata->in.in6 != 14, "in6", "got %d != exp %d\n", rodata->in.in6, 14); in test_skeleton()
/linux/arch/x86/include/asm/
H A Dvmware.h272 unsigned long in5, unsigned long in6, in vmware_hypercall_hb_out() argument
281 "mov %[in6], %%" _ASM_BP "\n\t" in vmware_hypercall_hb_out()
292 [in6] VMW_BP_CONSTRAINT (in6) in vmware_hypercall_hb_out()
300 unsigned long in5, unsigned long in6, in vmware_hypercall_hb_in() argument
309 "mov %[in6], %%" _ASM_BP "\n\t" in vmware_hypercall_hb_in()
320 [in6] VMW_BP_CONSTRAINT (in6) in vmware_hypercall_hb_in()
/linux/drivers/gpu/drm/vmwgfx/
H A Dvmwgfx_msg_arm64.h158 unsigned long in5, unsigned long in6, in vmware_hypercall_hb() argument
167 register u64 x6 asm("x6") = in6; in vmware_hypercall_hb()
187 unsigned long in5, unsigned long in6, in vmware_hypercall_hb_out() argument
190 return vmware_hypercall_hb(cmd, in2, in3, in4, in5, in6, out1, 0); in vmware_hypercall_hb_out()
196 unsigned long in5, unsigned long in6, in vmware_hypercall_hb_in() argument
199 return vmware_hypercall_hb(cmd, in2, in3, in4, in5, in6, out1, in vmware_hypercall_hb_in()
/linux/net/netfilter/ipset/
H A Dip_set_hash_ipportip.c223 return ipv6_addr_equal(&ip1->ip.in6, &ip2->ip.in6) && in hash_ipportip6_data_equal()
224 ipv6_addr_equal(&ip1->ip2.in6, &ip2->ip2.in6) && in hash_ipportip6_data_equal()
233 if (nla_put_ipaddr6(skb, IPSET_ATTR_IP, &data->ip.in6) || in hash_ipportip6_data_list()
234 nla_put_ipaddr6(skb, IPSET_ATTR_IP2, &data->ip2.in6) || in hash_ipportip6_data_list()
272 ip6addrptr(skb, opt->flags & IPSET_DIM_ONE_SRC, &e.ip.in6); in hash_ipportip6_kadt()
273 ip6addrptr(skb, opt->flags & IPSET_DIM_THREE_SRC, &e.ip2.in6); in hash_ipportip6_kadt()
H A Dip_set_hash_netnet.c299 return ipv6_addr_equal(&ip1->ip[0].in6, &ip2->ip[0].in6) && in hash_netnet6_data_equal()
300 ipv6_addr_equal(&ip1->ip[1].in6, &ip2->ip[1].in6) && in hash_netnet6_data_equal()
347 if (nla_put_ipaddr6(skb, IPSET_ATTR_IP, &data->ip[0].in6) || in hash_netnet6_data_list()
348 nla_put_ipaddr6(skb, IPSET_ATTR_IP2, &data->ip[1].in6) || in hash_netnet6_data_list()
396 ip6addrptr(skb, opt->flags & IPSET_DIM_ONE_SRC, &e.ip[0].in6); in hash_netnet6_kadt()
397 ip6addrptr(skb, opt->flags & IPSET_DIM_TWO_SRC, &e.ip[1].in6); in hash_netnet6_kadt()
403 if (e.cidr[0] == HOST_MASK && ipv6_addr_any(&e.ip[0].in6)) in hash_netnet6_kadt()
458 if (e.cidr[0] == HOST_MASK && ipv6_addr_any(&e.ip[0].in6)) in hash_netnet6_uadt()
H A Dip_set_hash_ip.c187 return ipv6_addr_equal(&ip1->ip.in6, &ip2->ip.in6); in hash_ip6_data_equal()
193 if (nla_put_ipaddr6(skb, IPSET_ATTR_IP, &e->ip.in6)) in hash_ip6_data_list()
225 ip6addrptr(skb, opt->flags & IPSET_DIM_ONE_SRC, &e.ip.in6); in hash_ip6_kadt()
227 if (ipv6_addr_any(&e.ip.in6)) in hash_ip6_kadt()
266 if (ipv6_addr_any(&e.ip.in6)) in hash_ip6_uadt()
H A Dip_set_hash_ipportnet.c323 return ipv6_addr_equal(&ip1->ip.in6, &ip2->ip.in6) && in hash_ipportnet6_data_equal()
324 ipv6_addr_equal(&ip1->ip2.in6, &ip2->ip2.in6) && in hash_ipportnet6_data_equal()
361 if (nla_put_ipaddr6(skb, IPSET_ATTR_IP, &data->ip.in6) || in hash_ipportnet6_data_list()
362 nla_put_ipaddr6(skb, IPSET_ATTR_IP2, &data->ip2.in6) || in hash_ipportnet6_data_list()
409 ip6addrptr(skb, opt->flags & IPSET_DIM_ONE_SRC, &e.ip.in6); in hash_ipportnet6_kadt()
410 ip6addrptr(skb, opt->flags & IPSET_DIM_THREE_SRC, &e.ip2.in6); in hash_ipportnet6_kadt()
H A Dip_set_hash_ipport.c226 return ipv6_addr_equal(&ip1->ip.in6, &ip2->ip.in6) && in hash_ipport6_data_equal()
235 if (nla_put_ipaddr6(skb, IPSET_ATTR_IP, &data->ip.in6) || in hash_ipport6_data_list()
274 ip6addrptr(skb, opt->flags & IPSET_DIM_ONE_SRC, &e.ip.in6); in hash_ipport6_kadt()
276 if (ipv6_addr_any(&e.ip.in6)) in hash_ipport6_kadt()
319 if (ipv6_addr_any(&e.ip.in6)) in hash_ipport6_uadt()
H A Dip_set_hash_netportnet.c357 return ipv6_addr_equal(&ip1->ip[0].in6, &ip2->ip[0].in6) && in hash_netportnet6_data_equal()
358 ipv6_addr_equal(&ip1->ip[1].in6, &ip2->ip[1].in6) && in hash_netportnet6_data_equal()
408 if (nla_put_ipaddr6(skb, IPSET_ATTR_IP, &data->ip[0].in6) || in hash_netportnet6_data_list()
409 nla_put_ipaddr6(skb, IPSET_ATTR_IP2, &data->ip[1].in6) || in hash_netportnet6_data_list()
464 ip6addrptr(skb, opt->flags & IPSET_DIM_ONE_SRC, &e.ip[0].in6); in hash_netportnet6_kadt()
465 ip6addrptr(skb, opt->flags & IPSET_DIM_THREE_SRC, &e.ip[1].in6); in hash_netportnet6_kadt()
/linux/Documentation/devicetree/bindings/hwmon/
H A Dti,adc128d818.yaml31 Mode 0 - 7 single-ended voltage readings (IN0-IN6), 1 temperature
35 (IN0-IN1, IN3-IN2, IN4-IN5, IN7-IN6), 1 temperature reading (internal).
37 voltage readings (IN4-IN5, IN7-IN6), 1 temperature reading (internal).
H A Dti,lm87.yaml34 has-in6:
38 in6. Otherwise the pin is set as FAN1 input.
/linux/drivers/infiniband/hw/ocrdma/
H A Docrdma.h530 struct in6_addr in6; in ocrdma_resolve_dmac() local
532 memcpy(&in6, rdma_ah_read_grh(ah_attr)->dgid.raw, sizeof(in6)); in ocrdma_resolve_dmac()
533 if (rdma_is_multicast_addr(&in6)) in ocrdma_resolve_dmac()
534 rdma_get_mcast_mac(&in6, mac_addr); in ocrdma_resolve_dmac()
535 else if (rdma_link_local_addr(&in6)) in ocrdma_resolve_dmac()
536 rdma_get_ll_mac(&in6, mac_addr); in ocrdma_resolve_dmac()
/linux/net/core/
H A Dnetpoll.c431 udph->check = csum_ipv6_magic(&np->local_ip.in6, in netpoll_send_udp()
432 &np->remote_ip.in6, in netpoll_send_udp()
451 ip6h->saddr = np->local_ip.in6; in netpoll_send_udp()
452 ip6h->daddr = np->remote_ip.in6; in netpoll_send_udp()
501 np_info(np, "local IPv6 address %pI6c\n", &np->local_ip.in6); in netpoll_print_options()
507 np_info(np, "remote IPv6 address %pI6c\n", &np->remote_ip.in6); in netpoll_print_options()
523 if (in6_pton(str, -1, addr->in6.s6_addr, -1, &end) > 0) { in netpoll_parse_ip_addr()
751 !!(ipv6_addr_type(&np->remote_ip.in6) & IPV6_ADDR_LINKLOCAL)) in netpoll_setup()
753 np->local_ip.in6 = ifp->addr; in netpoll_setup()
765 np_info(np, "local IPv6 %pI6c\n", &np->local_ip.in6); in netpoll_setup()
/linux/net/netfilter/ipvs/
H A Dip_vs_xmit.c495 dst = __ip_vs_route_output_v6(net, &dest->addr.in6, in __ip_vs_get_out_rt_v6()
496 &dest_dst->dst_saddr.in6, in __ip_vs_get_out_rt_v6()
509 &dest->addr.in6, &dest_dst->dst_saddr.in6, in __ip_vs_get_out_rt_v6()
513 *ret_saddr = dest_dst->dst_saddr.in6; in __ip_vs_get_out_rt_v6()
858 &cp->daddr.in6, in ip_vs_nat_xmit_v6()
886 ipv6_addr_type(&cp->daddr.in6) & IPV6_ADDR_LOOPBACK) { in ip_vs_nat_xmit_v6()
903 ipv6_hdr(skb)->daddr = cp->daddr.in6; in ip_vs_nat_xmit_v6()
1281 &cp->daddr.in6, in ip_vs_tunnel_xmit_v6()
1365 udp6_set_csum(!check, skb, &saddr, &cp->daddr.in6, skb->len); in ip_vs_tunnel_xmit_v6()
1382 iph->daddr = cp->daddr.in6; in ip_vs_tunnel_xmit_v6()
[all …]
/linux/net/xfrm/
H A Dxfrm_nat_keepalive.c79 uh->check = csum_ipv6_magic(&ka->saddr.in6, &ka->daddr.in6, in nat_keepalive_send_ipv6()
86 fl6.saddr = ka->saddr.in6; in nat_keepalive_send_ipv6()
87 fl6.daddr = ka->daddr.in6; in nat_keepalive_send_ipv6()
/linux/drivers/infiniband/hw/mlx4/
H A Dah.c84 struct in6_addr in6; in create_iboe_ah() local
89 memcpy(&in6, grh->dgid.raw, sizeof(in6)); in create_iboe_ah()
90 if (rdma_is_multicast_addr(&in6)) in create_iboe_ah()

12345678910>>...13