Home
last modified time | relevance | path

Searched refs:xfrm_address_t (Results 1 - 25 of 61) sorted by relevance

123

/kernel/linux/linux-5.10/net/xfrm/
H A Dxfrm_hash.h9 static inline unsigned int __xfrm4_addr_hash(const xfrm_address_t *addr) in __xfrm4_addr_hash()
14 static inline unsigned int __xfrm6_addr_hash(const xfrm_address_t *addr) in __xfrm6_addr_hash()
19 static inline unsigned int __xfrm4_daddr_saddr_hash(const xfrm_address_t *daddr, in __xfrm4_daddr_saddr_hash()
20 const xfrm_address_t *saddr) in __xfrm4_daddr_saddr_hash()
26 static inline unsigned int __xfrm6_daddr_saddr_hash(const xfrm_address_t *daddr, in __xfrm6_daddr_saddr_hash()
27 const xfrm_address_t *saddr) in __xfrm6_daddr_saddr_hash()
44 static inline unsigned int __xfrm4_dpref_spref_hash(const xfrm_address_t *daddr, in __xfrm4_dpref_spref_hash()
45 const xfrm_address_t *saddr, in __xfrm4_dpref_spref_hash()
54 static inline unsigned int __xfrm6_pref_hash(const xfrm_address_t *addr, in __xfrm6_pref_hash()
75 static inline unsigned int __xfrm6_dpref_spref_hash(const xfrm_address_t *dadd
[all...]
H A Dxfrm_state.c58 const xfrm_address_t *daddr, in xfrm_dst_hash()
59 const xfrm_address_t *saddr, in xfrm_dst_hash()
67 const xfrm_address_t *daddr, in xfrm_src_hash()
68 const xfrm_address_t *saddr, in xfrm_src_hash()
75 xfrm_spi_hash(struct net *net, const xfrm_address_t *daddr, in xfrm_spi_hash()
893 const xfrm_address_t *daddr, const xfrm_address_t *saddr, in xfrm_init_tempstate()
930 const xfrm_address_t *daddr, in __xfrm_state_lookup()
955 const xfrm_address_t *daddr, in __xfrm_state_lookup_byaddr()
956 const xfrm_address_t *sadd in __xfrm_state_lookup_byaddr()
[all...]
/kernel/linux/linux-6.6/net/xfrm/
H A Dxfrm_hash.h9 static inline unsigned int __xfrm4_addr_hash(const xfrm_address_t *addr) in __xfrm4_addr_hash()
14 static inline unsigned int __xfrm6_addr_hash(const xfrm_address_t *addr) in __xfrm6_addr_hash()
19 static inline unsigned int __xfrm4_daddr_saddr_hash(const xfrm_address_t *daddr, in __xfrm4_daddr_saddr_hash()
20 const xfrm_address_t *saddr) in __xfrm4_daddr_saddr_hash()
26 static inline unsigned int __xfrm6_daddr_saddr_hash(const xfrm_address_t *daddr, in __xfrm6_daddr_saddr_hash()
27 const xfrm_address_t *saddr) in __xfrm6_daddr_saddr_hash()
44 static inline unsigned int __xfrm4_dpref_spref_hash(const xfrm_address_t *daddr, in __xfrm4_dpref_spref_hash()
45 const xfrm_address_t *saddr, in __xfrm4_dpref_spref_hash()
54 static inline unsigned int __xfrm6_pref_hash(const xfrm_address_t *addr, in __xfrm6_pref_hash()
75 static inline unsigned int __xfrm6_dpref_spref_hash(const xfrm_address_t *dadd
[all...]
H A Dxfrm_state.c59 const xfrm_address_t *daddr, in xfrm_dst_hash()
60 const xfrm_address_t *saddr, in xfrm_dst_hash()
68 const xfrm_address_t *daddr, in xfrm_src_hash()
69 const xfrm_address_t *saddr, in xfrm_src_hash()
76 xfrm_spi_hash(struct net *net, const xfrm_address_t *daddr, in xfrm_spi_hash()
941 const xfrm_address_t *daddr, const xfrm_address_t *saddr, in xfrm_init_tempstate()
978 const xfrm_address_t *daddr, in __xfrm_state_lookup_all()
1021 const xfrm_address_t *daddr, in __xfrm_state_lookup()
1046 const xfrm_address_t *dadd in __xfrm_state_lookup_byaddr()
[all...]
/kernel/linux/linux-5.10/include/uapi/linux/
H A Dxfrm.h19 } xfrm_address_t; typedef
26 xfrm_address_t daddr;
50 xfrm_address_t daddr;
51 xfrm_address_t saddr;
244 xfrm_address_t saddr;
258 xfrm_address_t encap_oa;
297 XFRMA_SRCADDR, /* xfrm_address_t */
298 XFRMA_COADDR, /* xfrm_address_t */
375 xfrm_address_t saddr;
399 xfrm_address_t dadd
[all...]
/kernel/linux/linux-6.6/include/uapi/linux/
H A Dxfrm.h19 } xfrm_address_t; typedef
26 xfrm_address_t daddr;
50 xfrm_address_t daddr;
51 xfrm_address_t saddr;
244 xfrm_address_t saddr;
258 xfrm_address_t encap_oa;
297 XFRMA_SRCADDR, /* xfrm_address_t */
298 XFRMA_COADDR, /* xfrm_address_t */
375 xfrm_address_t saddr;
399 xfrm_address_t dadd
[all...]
/kernel/linux/patches/linux-4.19/prebuilts/usr/include/linux/
H A Dxfrm.h14 } xfrm_address_t; typedef
16 xfrm_address_t daddr;
32 xfrm_address_t daddr;
33 xfrm_address_t saddr;
186 xfrm_address_t saddr;
199 xfrm_address_t encap_oa;
298 xfrm_address_t saddr;
319 xfrm_address_t daddr;
326 xfrm_address_t saddr;
358 xfrm_address_t sadd
[all...]
/kernel/linux/patches/linux-5.10/prebuilts/usr/include/linux/
H A Dxfrm.h27 } xfrm_address_t; typedef
29 xfrm_address_t daddr;
45 xfrm_address_t daddr;
46 xfrm_address_t saddr;
199 xfrm_address_t saddr;
212 xfrm_address_t encap_oa;
311 xfrm_address_t saddr;
333 xfrm_address_t daddr;
340 xfrm_address_t saddr;
371 xfrm_address_t sadd
[all...]
/kernel/linux/patches/linux-6.6/prebuilts/usr/include/linux/
H A Dxfrm.h27 } xfrm_address_t; typedef
29 xfrm_address_t daddr;
45 xfrm_address_t daddr;
46 xfrm_address_t saddr;
199 xfrm_address_t saddr;
212 xfrm_address_t encap_oa;
311 xfrm_address_t saddr;
333 xfrm_address_t daddr;
340 xfrm_address_t saddr;
371 xfrm_address_t sadd
[all...]
/kernel/linux/linux-5.10/include/net/
H A Dxfrm.h180 xfrm_address_t saddr;
206 xfrm_address_t *coaddr;
331 const xfrm_address_t *saddr,
332 const xfrm_address_t *daddr,
335 xfrm_address_t *saddr,
336 xfrm_address_t *daddr,
459 xfrm_address_t saddr;
542 xfrm_address_t local;
543 xfrm_address_t remote;
549 xfrm_address_t old_dadd
[all...]
/kernel/linux/linux-6.6/include/net/
H A Dxfrm.h205 xfrm_address_t saddr;
231 xfrm_address_t *coaddr;
349 const xfrm_address_t *saddr,
350 const xfrm_address_t *daddr,
353 xfrm_address_t *saddr,
354 xfrm_address_t *daddr,
475 xfrm_address_t saddr;
560 xfrm_address_t local;
561 xfrm_address_t remote;
567 xfrm_address_t old_dadd
[all...]
/kernel/linux/linux-5.10/net/ipv6/
H A Dxfrm6_tunnel.c42 * per xfrm_address_t.
47 xfrm_address_t addr;
57 static inline unsigned int xfrm6_tunnel_spi_hash_byaddr(const xfrm_address_t *addr) in xfrm6_tunnel_spi_hash_byaddr()
74 static struct xfrm6_tunnel_spi *__xfrm6_tunnel_spi_lookup(struct net *net, const xfrm_address_t *saddr) in __xfrm6_tunnel_spi_lookup()
89 __be32 xfrm6_tunnel_spi_lookup(struct net *net, const xfrm_address_t *saddr) in xfrm6_tunnel_spi_lookup()
117 static u32 __xfrm6_tunnel_alloc_spi(struct net *net, xfrm_address_t *saddr) in __xfrm6_tunnel_alloc_spi()
163 __be32 xfrm6_tunnel_alloc_spi(struct net *net, xfrm_address_t *saddr) in xfrm6_tunnel_alloc_spi()
187 static void xfrm6_tunnel_free_spi(struct net *net, xfrm_address_t *saddr) in xfrm6_tunnel_free_spi()
228 spi = xfrm6_tunnel_spi_lookup(net, (const xfrm_address_t *)&iph->saddr); in xfrm6_tunnel_rcv()
290 xfrm6_tunnel_free_spi(net, (xfrm_address_t *) in xfrm6_tunnel_destroy()
[all...]
H A Dxfrm6_input.c178 int xfrm6_input_addr(struct sk_buff *skb, xfrm_address_t *daddr, in xfrm6_input_addr()
179 xfrm_address_t *saddr, u8 proto) in xfrm6_input_addr()
198 xfrm_address_t *dst, *src; in xfrm6_input_addr()
208 src = (xfrm_address_t *)&in6addr_any; in xfrm6_input_addr()
212 dst = (xfrm_address_t *)&in6addr_any; in xfrm6_input_addr()
213 src = (xfrm_address_t *)&in6addr_any; in xfrm6_input_addr()
H A Dipcomp6.c59 x = xfrm_state_lookup(net, skb->mark, (const xfrm_address_t *)&iph->daddr, in ipcomp6_err()
84 t->id.spi = xfrm6_tunnel_alloc_spi(net, (xfrm_address_t *)&x->props.saddr); in ipcomp6_tunnel_create()
119 spi = xfrm6_tunnel_spi_lookup(net, (xfrm_address_t *)&x->props.saddr); in ipcomp6_tunnel_attach()
121 t = xfrm_state_lookup(net, mark, (xfrm_address_t *)&x->id.daddr, in ipcomp6_tunnel_attach()
H A Dxfrm6_policy.c27 const xfrm_address_t *saddr, in xfrm6_dst_lookup()
28 const xfrm_address_t *daddr, in xfrm6_dst_lookup()
55 xfrm_address_t *saddr, xfrm_address_t *daddr, in xfrm6_get_saddr()
/kernel/linux/linux-6.6/net/ipv6/
H A Dxfrm6_tunnel.c42 * per xfrm_address_t.
47 xfrm_address_t addr;
57 static inline unsigned int xfrm6_tunnel_spi_hash_byaddr(const xfrm_address_t *addr) in xfrm6_tunnel_spi_hash_byaddr()
74 static struct xfrm6_tunnel_spi *__xfrm6_tunnel_spi_lookup(struct net *net, const xfrm_address_t *saddr) in __xfrm6_tunnel_spi_lookup()
89 __be32 xfrm6_tunnel_spi_lookup(struct net *net, const xfrm_address_t *saddr) in xfrm6_tunnel_spi_lookup()
117 static u32 __xfrm6_tunnel_alloc_spi(struct net *net, xfrm_address_t *saddr) in __xfrm6_tunnel_alloc_spi()
163 __be32 xfrm6_tunnel_alloc_spi(struct net *net, xfrm_address_t *saddr) in xfrm6_tunnel_alloc_spi()
187 static void xfrm6_tunnel_free_spi(struct net *net, xfrm_address_t *saddr) in xfrm6_tunnel_free_spi()
228 spi = xfrm6_tunnel_spi_lookup(net, (const xfrm_address_t *)&iph->saddr); in xfrm6_tunnel_rcv()
294 xfrm6_tunnel_free_spi(net, (xfrm_address_t *) in xfrm6_tunnel_destroy()
[all...]
H A Dxfrm6_input.c178 int xfrm6_input_addr(struct sk_buff *skb, xfrm_address_t *daddr, in xfrm6_input_addr()
179 xfrm_address_t *saddr, u8 proto) in xfrm6_input_addr()
198 xfrm_address_t *dst, *src; in xfrm6_input_addr()
208 src = (xfrm_address_t *)&in6addr_any; in xfrm6_input_addr()
212 dst = (xfrm_address_t *)&in6addr_any; in xfrm6_input_addr()
213 src = (xfrm_address_t *)&in6addr_any; in xfrm6_input_addr()
H A Dipcomp6.c59 x = xfrm_state_lookup(net, skb->mark, (const xfrm_address_t *)&iph->daddr, in ipcomp6_err()
84 t->id.spi = xfrm6_tunnel_alloc_spi(net, (xfrm_address_t *)&x->props.saddr); in ipcomp6_tunnel_create()
119 spi = xfrm6_tunnel_spi_lookup(net, (xfrm_address_t *)&x->props.saddr); in ipcomp6_tunnel_attach()
121 t = xfrm_state_lookup(net, mark, (xfrm_address_t *)&x->id.daddr, in ipcomp6_tunnel_attach()
H A Dxfrm6_policy.c27 const xfrm_address_t *saddr, in xfrm6_dst_lookup()
28 const xfrm_address_t *daddr, in xfrm6_dst_lookup()
54 xfrm_address_t *saddr, xfrm_address_t *daddr, in xfrm6_get_saddr()
/kernel/linux/linux-5.10/net/ipv4/
H A Dxfrm4_policy.c22 const xfrm_address_t *saddr, in __xfrm4_dst_lookup()
23 const xfrm_address_t *daddr, in __xfrm4_dst_lookup()
46 const xfrm_address_t *saddr, in xfrm4_dst_lookup()
47 const xfrm_address_t *daddr, in xfrm4_dst_lookup()
56 xfrm_address_t *saddr, xfrm_address_t *daddr, in xfrm4_get_saddr()
H A Dip_vti.c147 xfrm_address_t *daddr = (xfrm_address_t *)&dst; in vti_state_check()
148 xfrm_address_t *saddr = (xfrm_address_t *)&src; in vti_state_check()
360 x = xfrm_state_lookup(net, mark, (const xfrm_address_t *)&iph->daddr, in vti4_err()
H A Dipcomp.c41 x = xfrm_state_lookup(net, skb->mark, (const xfrm_address_t *)&iph->daddr, in ipcomp4_err()
102 t = xfrm_state_lookup(net, mark, (xfrm_address_t *)&x->id.daddr.a4, in ipcomp_tunnel_attach()
/kernel/linux/linux-6.6/net/ipv4/
H A Dxfrm4_policy.c22 const xfrm_address_t *saddr, in __xfrm4_dst_lookup()
23 const xfrm_address_t *daddr, in __xfrm4_dst_lookup()
44 const xfrm_address_t *saddr, in xfrm4_dst_lookup()
45 const xfrm_address_t *daddr, in xfrm4_dst_lookup()
54 xfrm_address_t *saddr, xfrm_address_t *daddr, in xfrm4_get_saddr()
H A Dip_vti.c147 xfrm_address_t *daddr = (xfrm_address_t *)&dst; in vti_state_check()
148 xfrm_address_t *saddr = (xfrm_address_t *)&src; in vti_state_check()
361 x = xfrm_state_lookup(net, mark, (const xfrm_address_t *)&iph->daddr, in vti4_err()
H A Dipcomp.c42 x = xfrm_state_lookup(net, skb->mark, (const xfrm_address_t *)&iph->daddr, in ipcomp4_err()
103 t = xfrm_state_lookup(net, mark, (xfrm_address_t *)&x->id.daddr.a4, in ipcomp_tunnel_attach()

Completed in 27 milliseconds

123