Symbol: xfrm_address_t
include/net/xfrm.h
1185
xfrm_addr_any(const xfrm_address_t *addr, unsigned short family)
include/net/xfrm.h
1439
xfrm_address_t *xfrm_flowi_daddr(const struct flowi *fl, unsigned short family)
include/net/xfrm.h
1443
return (xfrm_address_t *)&fl->u.ip4.daddr;
include/net/xfrm.h
1445
return (xfrm_address_t *)&fl->u.ip6.daddr;
include/net/xfrm.h
1451
xfrm_address_t *xfrm_flowi_saddr(const struct flowi *fl, unsigned short family)
include/net/xfrm.h
1455
return (xfrm_address_t *)&fl->u.ip4.saddr;
include/net/xfrm.h
1457
return (xfrm_address_t *)&fl->u.ip6.saddr;
include/net/xfrm.h
1464
xfrm_address_t *saddr, xfrm_address_t *daddr,
include/net/xfrm.h
1481
const xfrm_address_t *daddr, const xfrm_address_t *saddr)
include/net/xfrm.h
1491
const xfrm_address_t *daddr, const xfrm_address_t *saddr)
include/net/xfrm.h
1503
const xfrm_address_t *daddr, const xfrm_address_t *saddr,
include/net/xfrm.h
1522
(const xfrm_address_t *)&fl->u.ip4.daddr,
include/net/xfrm.h
1523
(const xfrm_address_t *)&fl->u.ip4.saddr);
include/net/xfrm.h
1526
(const xfrm_address_t *)&fl->u.ip6.daddr,
include/net/xfrm.h
1527
(const xfrm_address_t *)&fl->u.ip6.saddr);
include/net/xfrm.h
1687
struct xfrm_state *xfrm_state_find(const xfrm_address_t *daddr,
include/net/xfrm.h
1688
const xfrm_address_t *saddr,
include/net/xfrm.h
1694
xfrm_address_t *daddr,
include/net/xfrm.h
1695
xfrm_address_t *saddr,
include/net/xfrm.h
1720
const xfrm_address_t *daddr, __be32 spi,
include/net/xfrm.h
1723
const xfrm_address_t *daddr,
include/net/xfrm.h
1727
const xfrm_address_t *daddr,
include/net/xfrm.h
1728
const xfrm_address_t *saddr,
include/net/xfrm.h
1829
int xfrm6_input_addr(struct sk_buff *skb, xfrm_address_t *daddr,
include/net/xfrm.h
1830
xfrm_address_t *saddr, u8 proto);
include/net/xfrm.h
1836
__be32 xfrm6_tunnel_alloc_spi(struct net *net, xfrm_address_t *saddr);
include/net/xfrm.h
1837
__be32 xfrm6_tunnel_spi_lookup(struct net *net, const xfrm_address_t *saddr);
include/net/xfrm.h
1886
const xfrm_address_t *daddr,
include/net/xfrm.h
1887
const xfrm_address_t *saddr, int create,
include/net/xfrm.h
1912
int km_new_mapping(struct xfrm_state *x, xfrm_address_t *ipaddr, __be16 sport);
include/net/xfrm.h
1915
xfrm_address_t *addr);
include/net/xfrm.h
1934
static inline bool xfrm6_addr_equal(const xfrm_address_t *a,
include/net/xfrm.h
1935
const xfrm_address_t *b)
include/net/xfrm.h
1941
static inline bool xfrm_addr_equal(const xfrm_address_t *a,
include/net/xfrm.h
1942
const xfrm_address_t *b,
include/net/xfrm.h
226
xfrm_address_t saddr;
include/net/xfrm.h
256
xfrm_address_t *coaddr;
include/net/xfrm.h
375
xfrm_address_t *saddr;
include/net/xfrm.h
376
xfrm_address_t *daddr;
include/net/xfrm.h
388
int (*get_saddr)(xfrm_address_t *saddr,
include/net/xfrm.h
557
xfrm_address_t saddr;
include/net/xfrm.h
674
xfrm_address_t local;
include/net/xfrm.h
675
xfrm_address_t remote;
include/net/xfrm.h
681
xfrm_address_t old_daddr;
include/net/xfrm.h
682
xfrm_address_t old_saddr;
include/net/xfrm.h
683
xfrm_address_t new_daddr;
include/net/xfrm.h
684
xfrm_address_t new_saddr;
include/net/xfrm.h
710
int (*new_mapping)(struct xfrm_state *x, xfrm_address_t *ipaddr, __be16 sport);
include/net/xfrm.h
712
int (*report)(struct net *net, u8 proto, struct xfrm_selector *sel, xfrm_address_t *addr);
include/uapi/linux/xfrm.h
251
xfrm_address_t saddr;
include/uapi/linux/xfrm.h
265
xfrm_address_t encap_oa;
include/uapi/linux/xfrm.h
27
xfrm_address_t daddr;
include/uapi/linux/xfrm.h
391
xfrm_address_t saddr;
include/uapi/linux/xfrm.h
415
xfrm_address_t daddr;
include/uapi/linux/xfrm.h
423
xfrm_address_t saddr;
include/uapi/linux/xfrm.h
460
xfrm_address_t saddr;
include/uapi/linux/xfrm.h
491
xfrm_address_t local;
include/uapi/linux/xfrm.h
492
xfrm_address_t remote;
include/uapi/linux/xfrm.h
498
xfrm_address_t old_daddr;
include/uapi/linux/xfrm.h
499
xfrm_address_t old_saddr;
include/uapi/linux/xfrm.h
500
xfrm_address_t new_daddr;
include/uapi/linux/xfrm.h
501
xfrm_address_t new_saddr;
include/uapi/linux/xfrm.h
51
xfrm_address_t daddr;
include/uapi/linux/xfrm.h
513
xfrm_address_t old_saddr;
include/uapi/linux/xfrm.h
514
xfrm_address_t new_saddr;
include/uapi/linux/xfrm.h
52
xfrm_address_t saddr;
include/uapi/linux/xfrm.h
520
xfrm_address_t saddr;
include/uapi/linux/xfrm.h
521
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
457
x = xfrm_state_lookup(net, skb->mark, (const xfrm_address_t *)&iph->daddr,
net/ipv4/esp4.c
757
xfrm_address_t ipaddr;
net/ipv4/esp4.c
952
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
664
x = xfrm_state_lookup(net, skb->mark, (xfrm_address_t *)&iph->daddr, ah->spi, IPPROTO_AH, AF_INET6);
net/ipv6/esp6.c
798
xfrm_address_t ipaddr;
net/ipv6/esp6.c
988
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
262
ret = xfrm6_input_addr(skb, (xfrm_address_t *)&ipv6h->daddr,
net/ipv6/exthdrs.c
263
(xfrm_address_t *)&hao->addr, IPPROTO_DSTOPTS);
net/ipv6/exthdrs.c
782
if (xfrm6_input_addr(skb, (xfrm_address_t *)addr,
net/ipv6/exthdrs.c
783
(xfrm_address_t *)&ipv6_hdr(skb)->saddr,
net/ipv6/ip6_vti.c
1207
const xfrm_address_t *saddr;
net/ipv6/ip6_vti.c
1210
saddr = (const xfrm_address_t *)&ipv6_hdr(skb)->saddr;
net/ipv6/ip6_vti.c
415
xfrm_address_t *daddr = (xfrm_address_t *)dst;
net/ipv6/ip6_vti.c
416
xfrm_address_t *saddr = (xfrm_address_t *)src;
net/ipv6/ip6_vti.c
634
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
235
int xfrm6_input_addr(struct sk_buff *skb, xfrm_address_t *daddr,
net/ipv6/xfrm6_input.c
236
xfrm_address_t *saddr, u8 proto)
net/ipv6/xfrm6_input.c
255
xfrm_address_t *dst, *src;
net/ipv6/xfrm6_input.c
265
src = (xfrm_address_t *)&in6addr_any;
net/ipv6/xfrm6_input.c
269
dst = (xfrm_address_t *)&in6addr_any;
net/ipv6/xfrm6_input.c
270
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
1319
xfrm_address_t *xsaddr = NULL, *xdaddr = NULL;
net/key/af_key.c
1345
xdaddr = (xfrm_address_t *)&((struct sockaddr_in *)(daddr + 1))->sin_addr.s_addr;
net/key/af_key.c
1346
xsaddr = (xfrm_address_t *)&((struct sockaddr_in *)(saddr + 1))->sin_addr.s_addr;
net/key/af_key.c
1350
xdaddr = (xfrm_address_t *)&((struct sockaddr_in6 *)(daddr + 1))->sin6_addr;
net/key/af_key.c
1351
xsaddr = (xfrm_address_t *)&((struct sockaddr_in6 *)(saddr + 1))->sin6_addr;
net/key/af_key.c
1852
(sizeof(xfrm_address_t) << 3)) ||
net/key/af_key.c
1854
(sizeof(xfrm_address_t) << 3))) {
net/key/af_key.c
1865
sizeof(xfrm_address_t));
net/key/af_key.c
1867
sizeof(xfrm_address_t));
net/key/af_key.c
2474
xfrm_address_t *saddr, xfrm_address_t *daddr,
net/key/af_key.c
3354
static int pfkey_send_new_mapping(struct xfrm_state *x, xfrm_address_t *ipaddr, __be16 sport)
net/key/af_key.c
3522
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/xfrm/xfrm_compat.c
117
[XFRMA_SRCADDR] = { .len = sizeof(xfrm_address_t) },
net/xfrm/xfrm_compat.c
118
[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
239
xfrm_address_t *saddr;
net/xfrm/xfrm_device.c
240
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
474
xfrm_address_t *daddr;
net/xfrm/xfrm_input.c
582
daddr = (xfrm_address_t *)(skb_network_header(skb) +
net/xfrm/xfrm_interface_core.c
1003
const xfrm_address_t *saddr;
net/xfrm/xfrm_interface_core.c
1006
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
1044
xfrm_address_t *addr,
net/xfrm/xfrm_policy.c
1993
const xfrm_address_t *addr, u16 family)
net/xfrm/xfrm_policy.c
2030
const xfrm_address_t *saddr,
net/xfrm/xfrm_policy.c
2031
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
2162
const xfrm_address_t *daddr, *saddr;
net/xfrm/xfrm_policy.c
2470
xfrm_get_saddr(unsigned short family, xfrm_address_t *saddr,
net/xfrm/xfrm_policy.c
2492
xfrm_address_t *daddr = xfrm_flowi_daddr(fl, family);
net/xfrm/xfrm_policy.c
2493
xfrm_address_t *saddr = xfrm_flowi_saddr(fl, family);
net/xfrm/xfrm_policy.c
2494
xfrm_address_t tmp;
net/xfrm/xfrm_policy.c
2498
xfrm_address_t *remote = daddr;
net/xfrm/xfrm_policy.c
2499
xfrm_address_t *local = saddr;
net/xfrm/xfrm_policy.c
2686
xfrm_address_t saddr, daddr;
net/xfrm/xfrm_policy.c
293
xfrm_address_t *prev_saddr,
net/xfrm/xfrm_policy.c
294
xfrm_address_t *prev_daddr,
net/xfrm/xfrm_policy.c
299
xfrm_address_t *saddr = &x->props.saddr;
net/xfrm/xfrm_policy.c
300
xfrm_address_t *daddr = &x->id.daddr;
net/xfrm/xfrm_policy.c
556
const xfrm_address_t *daddr,
net/xfrm/xfrm_policy.c
557
const xfrm_address_t *saddr,
net/xfrm/xfrm_policy.c
68
xfrm_address_t addr;
net/xfrm/xfrm_policy.c
791
static bool xfrm_pol_inexact_addr_use_any_list(const xfrm_address_t *addr,
net/xfrm/xfrm_policy.c
809
const xfrm_address_t *addr;
net/xfrm/xfrm_policy.c
828
const xfrm_address_t *addr, u8 prefixlen)
net/xfrm/xfrm_policy.c
835
xfrm_pol_inexact_node_alloc(const xfrm_address_t *addr, u8 prefixlen)
net/xfrm/xfrm_policy.c
846
static int xfrm_policy_addr_delta(const xfrm_address_t *a,
net/xfrm/xfrm_policy.c
847
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
1250
const xfrm_address_t *daddr,
net/xfrm/xfrm_state.c
1251
const xfrm_address_t *saddr,
net/xfrm/xfrm_state.c
1349
xfrm_state_find(const xfrm_address_t *daddr, const xfrm_address_t *saddr,
net/xfrm/xfrm_state.c
1354
static xfrm_address_t saddr_wildcard = { };
net/xfrm/xfrm_state.c
1647
xfrm_address_t *daddr, xfrm_address_t *saddr,
net/xfrm/xfrm_state.c
1804
const xfrm_address_t *daddr,
net/xfrm/xfrm_state.c
1805
const xfrm_address_t *saddr,
net/xfrm/xfrm_state.c
2323
xfrm_state_lookup(struct net *net, u32 mark, const xfrm_address_t *daddr, __be32 spi,
net/xfrm/xfrm_state.c
2340
const xfrm_address_t *daddr, const xfrm_address_t *saddr,
net/xfrm/xfrm_state.c
2358
u32 if_id, u32 pcpu_num, u8 proto, const xfrm_address_t *daddr,
net/xfrm/xfrm_state.c
2359
const xfrm_address_t *saddr, int create, unsigned short family)
net/xfrm/xfrm_state.c
2791
static int __km_new_mapping(struct xfrm_state *x, xfrm_address_t *ipaddr, __be16 sport)
net/xfrm/xfrm_state.c
2807
int km_new_mapping(struct xfrm_state *x, xfrm_address_t *ipaddr, __be16 sport)
net/xfrm/xfrm_state.c
2862
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
1077
xfrm_address_t *saddr = NULL;
net/xfrm/xfrm_user.c
115
xfrm_address_t **addrp)
net/xfrm/xfrm_user.c
1533
if (filter->splen > (sizeof(xfrm_address_t) << 3) ||
net/xfrm/xfrm_user.c
1534
filter->dplen > (sizeof(xfrm_address_t) << 3)) {
net/xfrm/xfrm_user.c
1835
xfrm_address_t *daddr;
net/xfrm/xfrm_user.c
2039
sizeof(xfrm_address_t));
net/xfrm/xfrm_user.c
3344
[XFRMA_SRCADDR] = { .len = sizeof(xfrm_address_t) },
net/xfrm/xfrm_user.c
3345
[XFRMA_COADDR] = { .len = sizeof(xfrm_address_t) },
net/xfrm/xfrm_user.c
4110
struct xfrm_selector *sel, xfrm_address_t *addr)
net/xfrm/xfrm_user.c
4135
struct xfrm_selector *sel, xfrm_address_t *addr)
net/xfrm/xfrm_user.c
4156
xfrm_address_t *new_saddr, __be16 new_sport)
net/xfrm/xfrm_user.c
4181
static int xfrm_send_mapping(struct xfrm_state *x, xfrm_address_t *ipaddr,
tools/testing/selftests/net/ipsec.c
1238
xfrm_address_t saddr = {};