Home
last modified time | relevance | path

Searched full:in6_addr (Results 1 – 25 of 470) sorted by relevance

12345678910>>...19

/linux-6.14.4/include/net/
Daddrconf.h59 struct in6_addr prefix;
71 struct in6_addr i6vi_addr;
77 const struct in6_addr *pfx;
82 const struct in6_addr *peer_pfx;
115 int ipv6_chk_addr(struct net *net, const struct in6_addr *addr,
117 int ipv6_chk_addr_and_flags(struct net *net, const struct in6_addr *addr,
122 int ipv6_chk_home_addr(struct net *net, const struct in6_addr *addr);
125 int ipv6_chk_rpl_srh_loop(struct net *net, const struct in6_addr *segs,
128 bool ipv6_chk_custom_prefix(const struct in6_addr *addr,
132 int ipv6_chk_prefix(const struct in6_addr *addr, struct net_device *dev);
[all …]
Dinet6_hashtables.h45 const struct in6_addr *saddr,
47 const struct in6_addr *daddr,
52 const struct in6_addr *laddr, const u16 lport,
53 const struct in6_addr *faddr, const __be16 fport);
61 const struct in6_addr *saddr,
63 const struct in6_addr *daddr,
70 const struct in6_addr *saddr,
72 const struct in6_addr *daddr,
79 const struct in6_addr *saddr,
81 const struct in6_addr *daddr,
[all …]
Dip6_checksum.h34 __sum16 csum_ipv6_magic(const struct in6_addr *saddr,
35 const struct in6_addr *daddr,
47 const struct in6_addr *saddr, in tcp_v6_check()
48 const struct in6_addr *daddr, in tcp_v6_check()
55 const struct in6_addr *saddr, in __tcp_v6_send_check()
56 const struct in6_addr *daddr) in __tcp_v6_send_check()
75 const struct in6_addr *saddr, in udp_v6_check()
76 const struct in6_addr *daddr, in udp_v6_check()
83 const struct in6_addr *saddr,
84 const struct in6_addr *daddr, int len);
Dipv6_stubs.h25 const struct in6_addr *addr);
27 const struct in6_addr *addr);
31 const struct in6_addr *final_dst);
44 const struct in6_addr *daddr,
45 const struct in6_addr *saddr);
58 void (*ndisc_send_na)(struct net_device *dev, const struct in6_addr *daddr,
59 const struct in6_addr *solicited_addr,
74 struct net_device *(*ipv6_dev_find)(struct net *net, const struct in6_addr *addr,
86 const struct in6_addr *saddr, __be16 sport,
87 const struct in6_addr *daddr, __be16 dport,
[all …]
Dip6_route.h64 static inline bool rt6_need_strict(const struct in6_addr *daddr) in rt6_need_strict()
129 const struct in6_addr *daddr, in ip6_route_get_saddr()
131 struct in6_addr *saddr) in ip6_route_get_saddr()
154 struct rt6_info *rt6_lookup(struct net *net, const struct in6_addr *daddr,
155 const struct in6_addr *saddr, int oif,
165 const struct in6_addr *addr, bool anycast,
176 const struct in6_addr *addr,
179 const struct in6_addr *gwaddr,
187 const struct in6_addr *gwaddr);
209 void rt6_clean_tohost(struct net *net, struct in6_addr *gateway);
[all …]
Dif_inet6.h34 struct in6_addr addr;
81 struct in6_addr peer_addr;
88 struct in6_addr sl_addr[] __counted_by(sl_max);
94 struct in6_addr addr;
104 struct in6_addr sf_addr;
119 struct in6_addr mca_addr;
139 struct in6_addr acl_addr;
145 struct in6_addr aca_addr;
208 struct in6_addr token;
224 static inline void ipv6_eth_mc_map(const struct in6_addr *addr, char *buf) in ipv6_eth_mc_map()
[all …]
Dipv6.h330 struct in6_addr dst;
552 int __ipv6_addr_type(const struct in6_addr *addr);
553 static inline int ipv6_addr_type(const struct in6_addr *addr) in ipv6_addr_type()
558 static inline int ipv6_addr_scope(const struct in6_addr *addr) in ipv6_addr_scope()
568 static inline int ipv6_addr_src_scope(const struct in6_addr *addr) in ipv6_addr_src_scope()
580 static inline __u32 ipv6_iface_scope_id(const struct in6_addr *addr, int iface) in ipv6_iface_scope_id()
585 static inline int ipv6_addr_cmp(const struct in6_addr *a1, const struct in6_addr *a2) in ipv6_addr_cmp()
587 return memcmp(a1, a2, sizeof(struct in6_addr)); in ipv6_addr_cmp()
591 ipv6_masked_addr_cmp(const struct in6_addr *a1, const struct in6_addr *m, in ipv6_masked_addr_cmp()
592 const struct in6_addr *a2) in ipv6_masked_addr_cmp()
[all …]
Dndisc.h83 struct in6_addr target;
100 struct in6_addr target;
101 struct in6_addr dest;
185 * struct in6_addr *addr,
213 struct in6_addr *addr,
283 struct in6_addr *addr, in ndisc_ops_prefix_rcv_add_addr()
435 struct sk_buff *ndisc_ns_create(struct net_device *dev, const struct in6_addr *solicit,
436 const struct in6_addr *saddr, u64 nonce);
437 void ndisc_send_ns(struct net_device *dev, const struct in6_addr *solicit,
438 const struct in6_addr *daddr, const struct in6_addr *saddr,
[all …]
Dip6_tunnel.h30 struct in6_addr laddr; /* local tunnel end-point address */
31 struct in6_addr raddr; /* remote tunnel end-point address */
138 int ip6_tnl_rcv_ctl(struct ip6_tnl *t, const struct in6_addr *laddr,
139 const struct in6_addr *raddr);
143 int ip6_tnl_xmit_ctl(struct ip6_tnl *t, const struct in6_addr *laddr,
144 const struct in6_addr *raddr);
148 __u32 ip6_tnl_get_cap(struct ip6_tnl *t, const struct in6_addr *laddr,
149 const struct in6_addr *raddr);
/linux-6.14.4/net/core/
Dsecure_seq.c60 struct in6_addr saddr; in secure_tcpv6_ts_off()
61 struct in6_addr daddr; in secure_tcpv6_ts_off()
63 .saddr = *(struct in6_addr *)saddr, in secure_tcpv6_ts_off()
64 .daddr = *(struct in6_addr *)daddr, in secure_tcpv6_ts_off()
80 struct in6_addr saddr; in secure_tcpv6_seq()
81 struct in6_addr daddr; in secure_tcpv6_seq()
85 .saddr = *(struct in6_addr *)saddr, in secure_tcpv6_seq()
86 .daddr = *(struct in6_addr *)daddr, in secure_tcpv6_seq()
103 struct in6_addr saddr; in secure_ipv6_port_ephemeral()
104 struct in6_addr daddr; in secure_ipv6_port_ephemeral()
[all …]
/linux-6.14.4/net/ipv6/
Drpl.c10 #define IPV6_PFXTAIL_LEN(x) (sizeof(struct in6_addr) - (x))
13 static void ipv6_rpl_addr_decompress(struct in6_addr *dst, in ipv6_rpl_addr_decompress()
14 const struct in6_addr *daddr, in ipv6_rpl_addr_decompress()
21 static void ipv6_rpl_addr_compress(void *dst, const struct in6_addr *addr, in ipv6_rpl_addr_compress()
34 const struct in6_addr *daddr, unsigned char n) in ipv6_rpl_srh_decompress()
39 outhdr->hdrlen = (((n + 1) * sizeof(struct in6_addr)) >> 3); in ipv6_rpl_srh_decompress()
57 const struct in6_addr *daddr, in ipv6_rpl_srh_calc_cmpri()
74 static unsigned char ipv6_rpl_srh_calc_cmpre(const struct in6_addr *daddr, in ipv6_rpl_srh_calc_cmpre()
75 const struct in6_addr *last_segment) in ipv6_rpl_srh_calc_cmpre()
89 const struct in6_addr *daddr, unsigned char n) in ipv6_rpl_srh_compress()
Dinet6_hashtables.c27 const struct in6_addr *laddr, const u16 lport, in inet6_ehashfn()
28 const struct in6_addr *faddr, const __be16 fport) in inet6_ehashfn()
51 const struct in6_addr *saddr, in __inet6_lookup_established()
53 const struct in6_addr *daddr, in __inet6_lookup_established()
94 const struct in6_addr *daddr, in compute_score()
131 const struct in6_addr *saddr, in inet6_lookup_reuseport()
133 const struct in6_addr *daddr, in inet6_lookup_reuseport()
153 const struct in6_addr *saddr, in inet6_lhash2_lookup()
154 const __be16 sport, const struct in6_addr *daddr, in inet6_lhash2_lookup()
180 const struct in6_addr *saddr, in inet6_lookup_run_sk_lookup()
[all …]
Daddrconf_core.c38 int __ipv6_addr_type(const struct in6_addr *addr) in __ipv6_addr_type()
135 const struct in6_addr *final_dst) in eafnosupport_ipv6_dst_lookup_flow()
174 const struct in6_addr *daddr, in eafnosupport_ip6_mtu_from_fib6()
175 const struct in6_addr *saddr) in eafnosupport_ip6_mtu_from_fib6()
201 static struct net_device *eafnosupport_ipv6_dev_find(struct net *net, const struct in6_addr *addr, in eafnosupport_ipv6_dev_find()
223 const struct in6_addr in6addr_loopback __aligned(BITS_PER_LONG/8)
226 const struct in6_addr in6addr_any __aligned(BITS_PER_LONG/8)
229 const struct in6_addr in6addr_linklocal_allnodes __aligned(BITS_PER_LONG/8)
232 const struct in6_addr in6addr_linklocal_allrouters __aligned(BITS_PER_LONG/8)
235 const struct in6_addr in6addr_interfacelocal_allnodes __aligned(BITS_PER_LONG/8)
[all …]
Daddrlabel.c33 struct in6_addr prefix;
67 const struct in6_addr *prefix;
75 .prefix = &(struct in6_addr){ { { 0xfc } } } ,
79 .prefix = &(struct in6_addr){ { { 0xfe, 0xc0 } } },
83 .prefix = &(struct in6_addr){ { { 0x20, 0x02 } } },
87 .prefix = &(struct in6_addr){ { { 0x3f, 0xfe } } },
91 .prefix = &(struct in6_addr){ { { 0x20, 0x01 } } },
95 .prefix = &(struct in6_addr){ { { 0x20, 0x01, 0x00, 0x10 } } },
99 .prefix = &(struct in6_addr){ { { [10] = 0xff, [11] = 0xff } } },
115 const struct in6_addr *addr, in __ip6addrlbl_match()
[all …]
/linux-6.14.4/net/netlabel/
Dnetlabel_addrlist.h49 struct in6_addr addr;
50 struct in6_addr mask;
167 struct netlbl_af6list *netlbl_af6list_remove(const struct in6_addr *addr,
168 const struct in6_addr *mask,
171 struct netlbl_af6list *netlbl_af6list_search(const struct in6_addr *addr,
173 struct netlbl_af6list *netlbl_af6list_search_exact(const struct in6_addr *addr,
174 const struct in6_addr *mask,
181 const struct in6_addr *addr,
182 const struct in6_addr *mask);
187 const struct in6_addr *addr, in netlbl_af6list_audit_addr()
[all …]
/linux-6.14.4/include/linux/
Din6.h25 extern const struct in6_addr in6addr_any;
27 extern const struct in6_addr in6addr_loopback;
29 extern const struct in6_addr in6addr_linklocal_allnodes;
32 extern const struct in6_addr in6addr_linklocal_allrouters;
35 extern const struct in6_addr in6addr_interfacelocal_allnodes;
38 extern const struct in6_addr in6addr_interfacelocal_allrouters;
41 extern const struct in6_addr in6addr_sitelocal_allrouters;
/linux-6.14.4/drivers/net/ethernet/google/gve/
Dgve_flow_rule.c68 sizeof(struct in6_addr)); in gve_fill_ethtool_flow_spec()
70 sizeof(struct in6_addr)); in gve_fill_ethtool_flow_spec()
75 sizeof(struct in6_addr)); in gve_fill_ethtool_flow_spec()
77 sizeof(struct in6_addr)); in gve_fill_ethtool_flow_spec()
85 sizeof(struct in6_addr)); in gve_fill_ethtool_flow_spec()
87 sizeof(struct in6_addr)); in gve_fill_ethtool_flow_spec()
91 sizeof(struct in6_addr)); in gve_fill_ethtool_flow_spec()
93 sizeof(struct in6_addr)); in gve_fill_ethtool_flow_spec()
163 sizeof(struct in6_addr)); in gve_generate_flow_rule()
165 sizeof(struct in6_addr)); in gve_generate_flow_rule()
[all …]
/linux-6.14.4/tools/testing/selftests/net/netfilter/
Dconntrack_dump_flush.c51 struct in6_addr src_ip, struct in6_addr dst_ip, in build_cta_tuple_v6()
63 mnl_attr_put(nlh, CTA_IP_V6_SRC, sizeof(struct in6_addr), &src_ip); in build_cta_tuple_v6()
64 mnl_attr_put(nlh, CTA_IP_V6_DST, sizeof(struct in6_addr), &dst_ip); in build_cta_tuple_v6()
178 struct in6_addr src_ip, in conntrack_data_generate_v6()
179 struct in6_addr dst_ip, in conntrack_data_generate_v6()
317 struct in6_addr src, dst; in FIXTURE_SETUP()
348 src = (struct in6_addr) {{ in FIXTURE_SETUP()
356 dst = (struct in6_addr) {{ in FIXTURE_SETUP()
367 src = (struct in6_addr) {{ in FIXTURE_SETUP()
375 dst = (struct in6_addr) {{ in FIXTURE_SETUP()
[all …]
/linux-6.14.4/include/uapi/linux/
Dipv6.h23 struct in6_addr ipi6_addr;
36 struct in6_addr ifr6_addr;
84 struct in6_addr addr[];
96 struct in6_addr addr;
108 struct in6_addr addr;
135 struct in6_addr saddr;
136 struct in6_addr daddr;
Drds.h40 #include <linux/in6.h> /* For struct in6_addr. */
166 struct in6_addr laddr;
167 struct in6_addr faddr;
189 struct in6_addr laddr;
190 struct in6_addr faddr;
209 struct in6_addr bound_addr;
210 struct in6_addr connected_addr;
231 struct in6_addr local_addr;
233 struct in6_addr peer_addr;
260 struct in6_addr src_addr;
[all …]
Dip6_tunnel.h7 #include <linux/in6.h> /* For struct in6_addr. */
35 struct in6_addr laddr; /* local tunnel end-point address */
36 struct in6_addr raddr; /* remote tunnel end-point address */
47 struct in6_addr laddr; /* local tunnel end-point address */
48 struct in6_addr raddr; /* remote tunnel end-point address */
/linux-6.14.4/include/trace/events/
Dneigh.h58 struct in6_addr *pin6;
60 pin6 = (struct in6_addr *)__entry->primary_key6;
61 *pin6 = *(struct in6_addr *)pkey;
102 struct in6_addr *pin6;
114 pin6 = (struct in6_addr *)__entry->primary_key6;
124 pin6 = (struct in6_addr *)__entry->primary_key6;
125 *pin6 = *(struct in6_addr *)n->primary_key;
179 struct in6_addr *pin6;
191 pin6 = (struct in6_addr *)__entry->primary_key6;
201 pin6 = (struct in6_addr *)__entry->primary_key6;
[all …]
Dnet_probe_common.h46 struct in6_addr *pin6; \
48 pin6 = (struct in6_addr *)__entry->saddr_v6; \
50 pin6 = (struct in6_addr *)__entry->daddr_v6; \
58 struct in6_addr *pin6; \
60 pin6 = (struct in6_addr *)__entry->saddr_v6; \
62 pin6 = (struct in6_addr *)__entry->daddr_v6; \
/linux-6.14.4/include/uapi/linux/netfilter_ipv6/
Dip6t_srh.h86 struct in6_addr psid_addr;
87 struct in6_addr nsid_addr;
88 struct in6_addr lsid_addr;
89 struct in6_addr psid_msk;
90 struct in6_addr nsid_msk;
91 struct in6_addr lsid_msk;
/linux-6.14.4/net/ipv6/netfilter/
Dnf_tproxy_ipv6.c9 const struct in6_addr *
10 nf_tproxy_laddr6(struct sk_buff *skb, const struct in6_addr *user_laddr, in nf_tproxy_laddr6()
11 const struct in6_addr *daddr) in nf_tproxy_laddr6()
15 struct in6_addr *laddr; in nf_tproxy_laddr6()
41 const struct in6_addr *laddr, in nf_tproxy_handle_time_wait6()
78 const struct in6_addr *saddr, const struct in6_addr *daddr, in nf_tproxy_get_sock_v6()

12345678910>>...19