Symbol: xfrm_address_t
include/net/xfrm.h
1205
xfrm_addr_any(const xfrm_address_t *addr, unsigned short family)
include/net/xfrm.h
1459
xfrm_address_t *xfrm_flowi_daddr(const struct flowi *fl, unsigned short family)
include/net/xfrm.h
1463
return (xfrm_address_t *)&fl->u.ip4.daddr;
include/net/xfrm.h
1465
return (xfrm_address_t *)&fl->u.ip6.daddr;
include/net/xfrm.h
1471
xfrm_address_t *xfrm_flowi_saddr(const struct flowi *fl, unsigned short family)
include/net/xfrm.h
1475
return (xfrm_address_t *)&fl->u.ip4.saddr;
include/net/xfrm.h
1477
return (xfrm_address_t *)&fl->u.ip6.saddr;
include/net/xfrm.h
1484
xfrm_address_t *saddr, xfrm_address_t *daddr,
include/net/xfrm.h
1501
const xfrm_address_t *daddr, const xfrm_address_t *saddr)
include/net/xfrm.h
1511
const xfrm_address_t *daddr, const xfrm_address_t *saddr)
include/net/xfrm.h
1523
const xfrm_address_t *daddr, const xfrm_address_t *saddr,
include/net/xfrm.h
1542
(const xfrm_address_t *)&fl->u.ip4.daddr,
include/net/xfrm.h
1543
(const xfrm_address_t *)&fl->u.ip4.saddr);
include/net/xfrm.h
1546
(const xfrm_address_t *)&fl->u.ip6.daddr,
include/net/xfrm.h
1547
(const xfrm_address_t *)&fl->u.ip6.saddr);
include/net/xfrm.h
1707
struct xfrm_state *xfrm_state_find(const xfrm_address_t *daddr,
include/net/xfrm.h
1708
const xfrm_address_t *saddr,
include/net/xfrm.h
1714
xfrm_address_t *daddr,
include/net/xfrm.h
1715
xfrm_address_t *saddr,
include/net/xfrm.h
1740
const xfrm_address_t *daddr, __be32 spi,
include/net/xfrm.h
1743
const xfrm_address_t *daddr,
include/net/xfrm.h
1747
const xfrm_address_t *daddr,
include/net/xfrm.h
1748
const xfrm_address_t *saddr,
include/net/xfrm.h
1849
int xfrm6_input_addr(struct sk_buff *skb, xfrm_address_t *daddr,
include/net/xfrm.h
1850
xfrm_address_t *saddr, u8 proto);
include/net/xfrm.h
1856
__be32 xfrm6_tunnel_alloc_spi(struct net *net, xfrm_address_t *saddr);
include/net/xfrm.h
1857
__be32 xfrm6_tunnel_spi_lookup(struct net *net, const xfrm_address_t *saddr);
include/net/xfrm.h
1906
const xfrm_address_t *daddr,
include/net/xfrm.h
1907
const xfrm_address_t *saddr, int create,
include/net/xfrm.h
1938
int km_new_mapping(struct xfrm_state *x, xfrm_address_t *ipaddr, __be16 sport);
include/net/xfrm.h
1941
xfrm_address_t *addr);
include/net/xfrm.h
1960
static inline bool xfrm6_addr_equal(const xfrm_address_t *a,
include/net/xfrm.h
1961
const xfrm_address_t *b)
include/net/xfrm.h
1967
static inline bool xfrm_addr_equal(const xfrm_address_t *a,
include/net/xfrm.h
1968
const xfrm_address_t *b,
include/net/xfrm.h
228
xfrm_address_t saddr;
include/net/xfrm.h
258
xfrm_address_t *coaddr;
include/net/xfrm.h
377
xfrm_address_t *saddr;
include/net/xfrm.h
378
xfrm_address_t *daddr;
include/net/xfrm.h
390
int (*get_saddr)(xfrm_address_t *saddr,
include/net/xfrm.h
559
xfrm_address_t saddr;
include/net/xfrm.h
676
xfrm_address_t local;
include/net/xfrm.h
677
xfrm_address_t remote;
include/net/xfrm.h
683
xfrm_address_t old_daddr;
include/net/xfrm.h
684
xfrm_address_t old_saddr;
include/net/xfrm.h
685
xfrm_address_t new_daddr;
include/net/xfrm.h
686
xfrm_address_t new_saddr;
include/net/xfrm.h
722
int (*new_mapping)(struct xfrm_state *x, xfrm_address_t *ipaddr, __be16 sport);
include/net/xfrm.h
724
int (*report)(struct net *net, u8 proto, struct xfrm_selector *sel, xfrm_address_t *addr);
include/uapi/linux/xfrm.h
254
xfrm_address_t saddr;
include/uapi/linux/xfrm.h
268
xfrm_address_t encap_oa;
include/uapi/linux/xfrm.h
27
xfrm_address_t daddr;
include/uapi/linux/xfrm.h
394
xfrm_address_t saddr;
include/uapi/linux/xfrm.h
418
xfrm_address_t daddr;
include/uapi/linux/xfrm.h
426
xfrm_address_t saddr;
include/uapi/linux/xfrm.h
463
xfrm_address_t saddr;
include/uapi/linux/xfrm.h
494
xfrm_address_t local;
include/uapi/linux/xfrm.h
495
xfrm_address_t remote;
include/uapi/linux/xfrm.h
501
xfrm_address_t old_daddr;
include/uapi/linux/xfrm.h
502
xfrm_address_t old_saddr;
include/uapi/linux/xfrm.h
503
xfrm_address_t new_daddr;
include/uapi/linux/xfrm.h
504
xfrm_address_t new_saddr;
include/uapi/linux/xfrm.h
51
xfrm_address_t daddr;
include/uapi/linux/xfrm.h
515
xfrm_address_t new_daddr;
include/uapi/linux/xfrm.h
516
xfrm_address_t new_saddr;
include/uapi/linux/xfrm.h
52
xfrm_address_t saddr;
include/uapi/linux/xfrm.h
538
xfrm_address_t old_saddr;
include/uapi/linux/xfrm.h
539
xfrm_address_t new_saddr;
include/uapi/linux/xfrm.h
545
xfrm_address_t saddr;
include/uapi/linux/xfrm.h
546
xfrm_address_t daddr;
net/core/pktgen.c
2423
(xfrm_address_t *)&pkt_dev->cur_daddr,
net/core/pktgen.c
2424
(xfrm_address_t *)&pkt_dev->cur_saddr,
net/ipv4/ah4.c
467
x = xfrm_state_lookup(net, skb->mark, (const xfrm_address_t *)&iph->daddr,
net/ipv4/esp4.c
762
xfrm_address_t ipaddr;
net/ipv4/esp4.c
958
x = xfrm_state_lookup(net, skb->mark, (const xfrm_address_t *)&iph->daddr,
net/ipv4/esp4_offload.c
57
(xfrm_address_t *)&ip_hdr(skb)->daddr,
net/ipv4/ip_vti.c
150
xfrm_address_t *daddr = (xfrm_address_t *)&dst;
net/ipv4/ip_vti.c
151
xfrm_address_t *saddr = (xfrm_address_t *)&src;
net/ipv4/ip_vti.c
367
x = xfrm_state_lookup(net, mark, (const xfrm_address_t *)&iph->daddr,
net/ipv4/ipcomp.c
105
t = xfrm_state_lookup(net, mark, (xfrm_address_t *)&x->id.daddr.a4,
net/ipv4/ipcomp.c
42
x = xfrm_state_lookup(net, skb->mark, (const xfrm_address_t *)&iph->daddr,
net/ipv4/xfrm4_policy.c
51
static int xfrm4_get_saddr(xfrm_address_t *saddr,
net/ipv6/ah6.c
674
x = xfrm_state_lookup(net, skb->mark, (xfrm_address_t *)&iph->daddr, ah->spi, IPPROTO_AH, AF_INET6);
net/ipv6/esp6.c
803
xfrm_address_t ipaddr;
net/ipv6/esp6.c
994
x = xfrm_state_lookup(net, skb->mark, (const xfrm_address_t *)&iph->daddr,
net/ipv6/esp6_offload.c
84
(xfrm_address_t *)&ipv6_hdr(skb)->daddr,
net/ipv6/exthdrs.c
263
ret = xfrm6_input_addr(skb, (xfrm_address_t *)&ipv6h->daddr,
net/ipv6/exthdrs.c
264
(xfrm_address_t *)&hao->addr, IPPROTO_DSTOPTS);
net/ipv6/exthdrs.c
786
if (xfrm6_input_addr(skb, (xfrm_address_t *)addr,
net/ipv6/exthdrs.c
787
(xfrm_address_t *)&ipv6_hdr(skb)->saddr,
net/ipv6/ip6_vti.c
1222
const xfrm_address_t *saddr;
net/ipv6/ip6_vti.c
1225
saddr = (const xfrm_address_t *)&ipv6_hdr(skb)->saddr;
net/ipv6/ip6_vti.c
417
xfrm_address_t *daddr = (xfrm_address_t *)dst;
net/ipv6/ip6_vti.c
418
xfrm_address_t *saddr = (xfrm_address_t *)src;
net/ipv6/ip6_vti.c
636
x = xfrm_state_lookup(net, mark, (const xfrm_address_t *)&iph->daddr,
net/ipv6/ipcomp6.c
121
spi = xfrm6_tunnel_spi_lookup(net, (xfrm_address_t *)&x->props.saddr);
net/ipv6/ipcomp6.c
123
t = xfrm_state_lookup(net, mark, (xfrm_address_t *)&x->id.daddr,
net/ipv6/ipcomp6.c
59
x = xfrm_state_lookup(net, skb->mark, (const xfrm_address_t *)&iph->daddr,
net/ipv6/ipcomp6.c
86
t->id.spi = xfrm6_tunnel_alloc_spi(net, (xfrm_address_t *)&x->props.saddr);
net/ipv6/mip6.c
227
memcpy(&sel.daddr, (xfrm_address_t *)&ipv6_hdr(skb)->daddr,
net/ipv6/mip6.c
230
memcpy(&sel.saddr, (xfrm_address_t *)&ipv6_hdr(skb)->saddr,
net/ipv6/mip6.c
244
(hao ? (xfrm_address_t *)&hao->addr : NULL));
net/ipv6/xfrm6_input.c
236
int xfrm6_input_addr(struct sk_buff *skb, xfrm_address_t *daddr,
net/ipv6/xfrm6_input.c
237
xfrm_address_t *saddr, u8 proto)
net/ipv6/xfrm6_input.c
256
xfrm_address_t *dst, *src;
net/ipv6/xfrm6_input.c
266
src = (xfrm_address_t *)&in6addr_any;
net/ipv6/xfrm6_input.c
270
dst = (xfrm_address_t *)&in6addr_any;
net/ipv6/xfrm6_input.c
271
src = (xfrm_address_t *)&in6addr_any;
net/ipv6/xfrm6_policy.c
54
static int xfrm6_get_saddr(xfrm_address_t *saddr,
net/ipv6/xfrm6_tunnel.c
117
static u32 __xfrm6_tunnel_alloc_spi(struct net *net, xfrm_address_t *saddr)
net/ipv6/xfrm6_tunnel.c
163
__be32 xfrm6_tunnel_alloc_spi(struct net *net, xfrm_address_t *saddr)
net/ipv6/xfrm6_tunnel.c
187
static void xfrm6_tunnel_free_spi(struct net *net, xfrm_address_t *saddr)
net/ipv6/xfrm6_tunnel.c
228
spi = xfrm6_tunnel_spi_lookup(net, (const xfrm_address_t *)&iph->saddr);
net/ipv6/xfrm6_tunnel.c
294
xfrm6_tunnel_free_spi(net, (xfrm_address_t *)&x->props.saddr);
net/ipv6/xfrm6_tunnel.c
47
xfrm_address_t addr;
net/ipv6/xfrm6_tunnel.c
57
static inline unsigned int xfrm6_tunnel_spi_hash_byaddr(const xfrm_address_t *addr)
net/ipv6/xfrm6_tunnel.c
74
static struct xfrm6_tunnel_spi *__xfrm6_tunnel_spi_lookup(struct net *net, const xfrm_address_t *saddr)
net/ipv6/xfrm6_tunnel.c
89
__be32 xfrm6_tunnel_spi_lookup(struct net *net, const xfrm_address_t *saddr)
net/key/af_key.c
1336
xfrm_address_t *xsaddr = NULL, *xdaddr = NULL;
net/key/af_key.c
1362
xdaddr = (xfrm_address_t *)&((struct sockaddr_in *)(daddr + 1))->sin_addr.s_addr;
net/key/af_key.c
1363
xsaddr = (xfrm_address_t *)&((struct sockaddr_in *)(saddr + 1))->sin_addr.s_addr;
net/key/af_key.c
1367
xdaddr = (xfrm_address_t *)&((struct sockaddr_in6 *)(daddr + 1))->sin6_addr;
net/key/af_key.c
1368
xsaddr = (xfrm_address_t *)&((struct sockaddr_in6 *)(saddr + 1))->sin6_addr;
net/key/af_key.c
1869
(sizeof(xfrm_address_t) << 3)) ||
net/key/af_key.c
1871
(sizeof(xfrm_address_t) << 3))) {
net/key/af_key.c
1882
sizeof(xfrm_address_t));
net/key/af_key.c
1884
sizeof(xfrm_address_t));
net/key/af_key.c
2491
xfrm_address_t *saddr, xfrm_address_t *daddr,
net/key/af_key.c
3371
static int pfkey_send_new_mapping(struct xfrm_state *x, xfrm_address_t *ipaddr, __be16 sport)
net/key/af_key.c
3539
const xfrm_address_t *src, const xfrm_address_t *dst)
net/key/af_key.c
627
int pfkey_sockaddr_extract(const struct sockaddr *sa, xfrm_address_t *xaddr)
net/key/af_key.c
646
int pfkey_sadb_addr2xfrm_addr(const struct sadb_address *addr, xfrm_address_t *xaddr)
net/key/af_key.c
658
xfrm_address_t *xaddr;
net/key/af_key.c
66
xfrm_address_t *saddr, xfrm_address_t *daddr,
net/key/af_key.c
676
xaddr = (xfrm_address_t *)&((const struct sockaddr_in *)(addr + 1))->sin_addr;
net/key/af_key.c
680
xaddr = (xfrm_address_t *)&((const struct sockaddr_in6 *)(addr + 1))->sin6_addr;
net/key/af_key.c
730
static unsigned int pfkey_sockaddr_fill(const xfrm_address_t *xaddr, __be16 port,
net/key/af_key.c
760
static unsigned int pfkey_sockaddr_fill_zero_tail(const xfrm_address_t *xaddr,
net/xfrm/xfrm_compat.c
118
[XFRMA_SRCADDR] = { .len = sizeof(xfrm_address_t) },
net/xfrm/xfrm_compat.c
119
[XFRMA_COADDR] = { .len = sizeof(xfrm_address_t) },
net/xfrm/xfrm_compat.c
35
xfrm_address_t saddr;
net/xfrm/xfrm_compat.c
47
xfrm_address_t saddr;
net/xfrm/xfrm_device.c
247
xfrm_address_t *saddr;
net/xfrm/xfrm_device.c
248
xfrm_address_t *daddr;
net/xfrm/xfrm_hash.h
101
static inline unsigned int __xfrm_src_hash(const xfrm_address_t *daddr,
net/xfrm/xfrm_hash.h
102
const xfrm_address_t *saddr,
net/xfrm/xfrm_hash.h
119
__xfrm_spi_hash(const xfrm_address_t *daddr, __be32 spi, u8 proto,
net/xfrm/xfrm_hash.h
14
static inline unsigned int __xfrm6_addr_hash(const xfrm_address_t *addr)
net/xfrm/xfrm_hash.h
150
const xfrm_address_t *daddr = &sel->daddr;
net/xfrm/xfrm_hash.h
151
const xfrm_address_t *saddr = &sel->saddr;
net/xfrm/xfrm_hash.h
175
static inline unsigned int __addr_hash(const xfrm_address_t *daddr,
net/xfrm/xfrm_hash.h
176
const xfrm_address_t *saddr,
net/xfrm/xfrm_hash.h
19
static inline unsigned int __xfrm4_daddr_saddr_hash(const xfrm_address_t *daddr,
net/xfrm/xfrm_hash.h
20
const xfrm_address_t *saddr)
net/xfrm/xfrm_hash.h
26
static inline unsigned int __xfrm6_daddr_saddr_hash(const xfrm_address_t *daddr,
net/xfrm/xfrm_hash.h
27
const xfrm_address_t *saddr)
net/xfrm/xfrm_hash.h
44
static inline unsigned int __xfrm4_dpref_spref_hash(const xfrm_address_t *daddr,
net/xfrm/xfrm_hash.h
45
const xfrm_address_t *saddr,
net/xfrm/xfrm_hash.h
54
static inline unsigned int __xfrm6_pref_hash(const xfrm_address_t *addr,
net/xfrm/xfrm_hash.h
75
static inline unsigned int __xfrm6_dpref_spref_hash(const xfrm_address_t *daddr,
net/xfrm/xfrm_hash.h
76
const xfrm_address_t *saddr,
net/xfrm/xfrm_hash.h
84
static inline unsigned int __xfrm_dst_hash(const xfrm_address_t *daddr,
net/xfrm/xfrm_hash.h
85
const xfrm_address_t *saddr,
net/xfrm/xfrm_hash.h
9
static inline unsigned int __xfrm4_addr_hash(const xfrm_address_t *addr)
net/xfrm/xfrm_input.c
475
xfrm_address_t *daddr;
net/xfrm/xfrm_input.c
582
daddr = (xfrm_address_t *)(skb_network_header(skb) +
net/xfrm/xfrm_interface_core.c
1006
const xfrm_address_t *saddr;
net/xfrm/xfrm_interface_core.c
1009
saddr = (const xfrm_address_t *)&ipv6_hdr(skb)->saddr;
net/xfrm/xfrm_interface_core.c
625
x = xfrm_state_lookup(net, skb->mark, (const xfrm_address_t *)&iph->daddr,
net/xfrm/xfrm_interface_core.c
679
x = xfrm_state_lookup(net, skb->mark, (const xfrm_address_t *)&iph->daddr,
net/xfrm/xfrm_nat_keepalive.c
24
xfrm_address_t saddr;
net/xfrm/xfrm_nat_keepalive.c
25
xfrm_address_t daddr;
net/xfrm/xfrm_policy.c
1047
xfrm_address_t *addr,
net/xfrm/xfrm_policy.c
1987
const xfrm_address_t *addr, u16 family)
net/xfrm/xfrm_policy.c
2024
const xfrm_address_t *saddr,
net/xfrm/xfrm_policy.c
2025
const xfrm_address_t *daddr)
net/xfrm/xfrm_policy.c
208
const xfrm_address_t *saddr,
net/xfrm/xfrm_policy.c
209
const xfrm_address_t *daddr);
net/xfrm/xfrm_policy.c
2156
const xfrm_address_t *daddr, *saddr;
net/xfrm/xfrm_policy.c
2464
xfrm_get_saddr(unsigned short family, xfrm_address_t *saddr,
net/xfrm/xfrm_policy.c
2486
xfrm_address_t *daddr = xfrm_flowi_daddr(fl, family);
net/xfrm/xfrm_policy.c
2487
xfrm_address_t *saddr = xfrm_flowi_saddr(fl, family);
net/xfrm/xfrm_policy.c
2488
xfrm_address_t tmp;
net/xfrm/xfrm_policy.c
2492
xfrm_address_t *remote = daddr;
net/xfrm/xfrm_policy.c
2493
xfrm_address_t *local = saddr;
net/xfrm/xfrm_policy.c
2680
xfrm_address_t saddr, daddr;
net/xfrm/xfrm_policy.c
296
xfrm_address_t *prev_saddr,
net/xfrm/xfrm_policy.c
297
xfrm_address_t *prev_daddr,
net/xfrm/xfrm_policy.c
302
xfrm_address_t *saddr = &x->props.saddr;
net/xfrm/xfrm_policy.c
303
xfrm_address_t *daddr = &x->id.daddr;
net/xfrm/xfrm_policy.c
559
const xfrm_address_t *daddr,
net/xfrm/xfrm_policy.c
560
const xfrm_address_t *saddr,
net/xfrm/xfrm_policy.c
68
xfrm_address_t addr;
net/xfrm/xfrm_policy.c
794
static bool xfrm_pol_inexact_addr_use_any_list(const xfrm_address_t *addr,
net/xfrm/xfrm_policy.c
812
const xfrm_address_t *addr;
net/xfrm/xfrm_policy.c
831
const xfrm_address_t *addr, u8 prefixlen)
net/xfrm/xfrm_policy.c
838
xfrm_pol_inexact_node_alloc(const xfrm_address_t *addr, u8 prefixlen)
net/xfrm/xfrm_policy.c
849
static int xfrm_policy_addr_delta(const xfrm_address_t *a,
net/xfrm/xfrm_policy.c
850
const xfrm_address_t *b,
net/xfrm/xfrm_state.c
1074
const xfrm_address_t *daddr, const xfrm_address_t *saddr,
net/xfrm/xfrm_state.c
1133
const xfrm_address_t *daddr,
net/xfrm/xfrm_state.c
1177
const xfrm_address_t *daddr,
net/xfrm/xfrm_state.c
1202
const xfrm_address_t *daddr,
net/xfrm/xfrm_state.c
1257
const xfrm_address_t *daddr,
net/xfrm/xfrm_state.c
1258
const xfrm_address_t *saddr,
net/xfrm/xfrm_state.c
1356
xfrm_state_find(const xfrm_address_t *daddr, const xfrm_address_t *saddr,
net/xfrm/xfrm_state.c
1361
static xfrm_address_t saddr_wildcard = { };
net/xfrm/xfrm_state.c
1655
xfrm_address_t *daddr, xfrm_address_t *saddr,
net/xfrm/xfrm_state.c
1812
const xfrm_address_t *daddr,
net/xfrm/xfrm_state.c
1813
const xfrm_address_t *saddr,
net/xfrm/xfrm_state.c
2372
xfrm_state_lookup(struct net *net, u32 mark, const xfrm_address_t *daddr, __be32 spi,
net/xfrm/xfrm_state.c
2389
const xfrm_address_t *daddr, const xfrm_address_t *saddr,
net/xfrm/xfrm_state.c
2407
u32 if_id, u32 pcpu_num, u8 proto, const xfrm_address_t *daddr,
net/xfrm/xfrm_state.c
2408
const xfrm_address_t *saddr, int create, unsigned short family)
net/xfrm/xfrm_state.c
2840
static int __km_new_mapping(struct xfrm_state *x, xfrm_address_t *ipaddr, __be16 sport)
net/xfrm/xfrm_state.c
2856
int km_new_mapping(struct xfrm_state *x, xfrm_address_t *ipaddr, __be16 sport)
net/xfrm/xfrm_state.c
2911
int km_report(struct net *net, u8 proto, struct xfrm_selector *sel, xfrm_address_t *addr)
net/xfrm/xfrm_state.c
62
const xfrm_address_t *daddr,
net/xfrm/xfrm_state.c
63
const xfrm_address_t *saddr,
net/xfrm/xfrm_state.c
73
const xfrm_address_t *daddr,
net/xfrm/xfrm_state.c
74
const xfrm_address_t *saddr,
net/xfrm/xfrm_state.c
83
xfrm_spi_hash(struct net *net, const xfrm_address_t *daddr,
net/xfrm/xfrm_state_bpf.c
39
xfrm_address_t daddr;
net/xfrm/xfrm_user.c
1098
xfrm_address_t *saddr = NULL;
net/xfrm/xfrm_user.c
115
xfrm_address_t **addrp)
net/xfrm/xfrm_user.c
1580
if (filter->splen > (sizeof(xfrm_address_t) << 3) ||
net/xfrm/xfrm_user.c
1581
filter->dplen > (sizeof(xfrm_address_t) << 3)) {
net/xfrm/xfrm_user.c
1882
xfrm_address_t *daddr;
net/xfrm/xfrm_user.c
2086
sizeof(xfrm_address_t));
net/xfrm/xfrm_user.c
3707
[XFRMA_SRCADDR] = { .len = sizeof(xfrm_address_t) },
net/xfrm/xfrm_user.c
3708
[XFRMA_COADDR] = { .len = sizeof(xfrm_address_t) },
net/xfrm/xfrm_user.c
4500
struct xfrm_selector *sel, xfrm_address_t *addr)
net/xfrm/xfrm_user.c
4526
struct xfrm_selector *sel, xfrm_address_t *addr)
net/xfrm/xfrm_user.c
4547
xfrm_address_t *new_saddr, __be16 new_sport)
net/xfrm/xfrm_user.c
4573
static int xfrm_send_mapping(struct xfrm_state *x, xfrm_address_t *ipaddr,
tools/testing/selftests/net/ipsec.c
1235
xfrm_address_t saddr = {};