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

12

/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/net/xfrm/
H A Dxfrm_hash.h7 static inline unsigned int __xfrm4_addr_hash(xfrm_address_t *addr)
12 static inline unsigned int __xfrm6_addr_hash(xfrm_address_t *addr)
17 static inline unsigned int __xfrm4_daddr_saddr_hash(xfrm_address_t *daddr, xfrm_address_t *saddr)
23 static inline unsigned int __xfrm6_daddr_saddr_hash(xfrm_address_t *daddr, xfrm_address_t *saddr)
29 static inline unsigned int __xfrm_dst_hash(xfrm_address_t *daddr, xfrm_address_t *saddr,
45 static inline unsigned __xfrm_src_hash(xfrm_address_t *daddr,
46 xfrm_address_t *sadd
[all...]
H A Dxfrm_state.c53 xfrm_address_t *daddr,
54 xfrm_address_t *saddr,
62 xfrm_address_t *daddr,
63 xfrm_address_t *saddr,
70 xfrm_spi_hash(struct net *net, xfrm_address_t *daddr, __be32 spi, u8 proto, unsigned short family)
661 xfrm_address_t *daddr, xfrm_address_t *saddr,
680 static struct xfrm_state *__xfrm_state_lookup(struct net *net, u32 mark, xfrm_address_t *daddr, __be32 spi, u8 proto, unsigned short family)
702 static struct xfrm_state *__xfrm_state_lookup_byaddr(struct net *net, u32 mark, xfrm_address_t *daddr, xfrm_address_t *sadd
[all...]
H A Dxfrm_input.c111 xfrm_address_t *daddr;
139 daddr = (xfrm_address_t *)(skb_network_header(skb) +
H A Dxfrm_policy.c92 xfrm_address_t *saddr,
93 xfrm_address_t *daddr,
111 xfrm_address_t *prev_saddr,
112 xfrm_address_t *prev_daddr,
116 xfrm_address_t *saddr = &x->props.saddr;
117 xfrm_address_t *daddr = &x->id.daddr;
321 static struct hlist_head *policy_hash_direct(struct net *net, xfrm_address_t *daddr, xfrm_address_t *saddr, unsigned short family, int dir)
889 xfrm_address_t *daddr, *saddr;
1141 xfrm_get_saddr(struct net *net, xfrm_address_t *loca
[all...]
H A Dxfrm_user.c98 xfrm_address_t **addrp)
539 xfrm_address_t *saddr = NULL;
955 xfrm_address_t *daddr;
1101 sizeof(xfrm_address_t));
2113 [XFRMA_SRCADDR] = { .len = sizeof(xfrm_address_t) },
2114 [XFRMA_COADDR] = { .len = sizeof(xfrm_address_t) },
2688 struct xfrm_selector *sel, xfrm_address_t *addr)
2712 struct xfrm_selector *sel, xfrm_address_t *addr)
2732 xfrm_address_t *new_saddr, __be16 new_sport)
2756 static int xfrm_send_mapping(struct xfrm_state *x, xfrm_address_t *ipadd
[all...]
/netgear-R7000-V1.0.7.12_1.2.5/ap/gpl/iproute2/include/linux/
H A Dxfrm.h17 } xfrm_address_t; typedef in typeref:union:__anon1152
25 xfrm_address_t daddr;
34 xfrm_address_t daddr;
35 xfrm_address_t saddr;
152 xfrm_address_t saddr;
166 xfrm_address_t encap_oa;
187 xfrm_address_t saddr;
203 xfrm_address_t daddr;
238 xfrm_address_t saddr;
/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/include/linux/
H A Dxfrm.h16 } xfrm_address_t; typedef in typeref:union:__anon18291
23 xfrm_address_t daddr;
47 xfrm_address_t daddr;
48 xfrm_address_t saddr;
224 xfrm_address_t saddr;
238 xfrm_address_t encap_oa;
277 XFRMA_SRCADDR, /* xfrm_address_t */
278 XFRMA_COADDR, /* xfrm_address_t */
336 xfrm_address_t saddr;
355 xfrm_address_t dadd
[all...]
/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/include/net/
H A Dxfrm.h160 xfrm_address_t saddr;
177 xfrm_address_t *coaddr;
268 xfrm_address_t *saddr,
269 xfrm_address_t *daddr);
270 int (*get_saddr)(struct net *net, xfrm_address_t *saddr, xfrm_address_t *daddr);
303 xfrm_address_t *daddr, xfrm_address_t *saddr);
436 xfrm_address_t saddr;
509 xfrm_address_t loca
[all...]
/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/net/ipv6/
H A Dxfrm6_input.c58 int xfrm6_input_addr(struct sk_buff *skb, xfrm_address_t *daddr,
59 xfrm_address_t *saddr, u8 proto)
85 xfrm_address_t *dst, *src;
95 src = (xfrm_address_t *)&in6addr_any;
99 dst = (xfrm_address_t *)&in6addr_any;
100 src = (xfrm_address_t *)&in6addr_any;
H A Dxfrm6_tunnel.c56 * per xfrm_address_t.
61 xfrm_address_t addr;
71 static inline unsigned xfrm6_tunnel_spi_hash_byaddr(xfrm_address_t *addr)
88 static struct xfrm6_tunnel_spi *__xfrm6_tunnel_spi_lookup(struct net *net, xfrm_address_t *saddr)
104 __be32 xfrm6_tunnel_spi_lookup(struct net *net, xfrm_address_t *saddr)
134 static u32 __xfrm6_tunnel_alloc_spi(struct net *net, xfrm_address_t *saddr)
177 __be32 xfrm6_tunnel_alloc_spi(struct net *net, xfrm_address_t *saddr)
202 void xfrm6_tunnel_free_spi(struct net *net, xfrm_address_t *saddr)
245 spi = xfrm6_tunnel_spi_lookup(net, (xfrm_address_t *)&iph->saddr);
307 xfrm6_tunnel_free_spi(net, (xfrm_address_t *)
[all...]
H A Dipcomp6.c67 x = xfrm_state_lookup(net, skb->mark, (xfrm_address_t *)&iph->daddr, spi, IPPROTO_COMP, AF_INET6);
86 t->id.spi = xfrm6_tunnel_alloc_spi(net, (xfrm_address_t *)&x->props.saddr);
120 spi = xfrm6_tunnel_spi_lookup(net, (xfrm_address_t *)&x->props.saddr);
122 t = xfrm_state_lookup(net, mark, (xfrm_address_t *)&x->id.daddr,
H A Dxfrm6_state.c42 xfrm_address_t *daddr, xfrm_address_t *saddr)
H A Dxfrm6_policy.c30 xfrm_address_t *saddr,
31 xfrm_address_t *daddr)
53 xfrm_address_t *saddr, xfrm_address_t *daddr)
H A Dmip6.c235 memcpy(&sel.daddr, (xfrm_address_t *)&ipv6_hdr(skb)->daddr,
238 memcpy(&sel.saddr, (xfrm_address_t *)&ipv6_hdr(skb)->saddr,
252 (hao ? (xfrm_address_t *)&hao->addr : NULL));
H A Dexthdrs.c227 ret = xfrm6_input_addr(skb, (xfrm_address_t *)&ipv6h->daddr,
228 (xfrm_address_t *)&hao->addr, IPPROTO_DSTOPTS);
439 if (xfrm6_input_addr(skb, (xfrm_address_t *)addr,
440 (xfrm_address_t *)&ipv6_hdr(skb)->saddr,
H A Dah6.c618 x = xfrm_state_lookup(net, skb->mark, (xfrm_address_t *)&iph->daddr, ah->spi, IPPROTO_AH, AF_INET6);
H A Desp6.c368 x = xfrm_state_lookup(net, skb->mark, (xfrm_address_t *)&iph->daddr, esph->spi, IPPROTO_ESP, AF_INET6);
/netgear-R7000-V1.0.7.12_1.2.5/ap/gpl/iproute2/ip/
H A Dxfrm.h99 int xfrm_addr_match(xfrm_address_t *x1, xfrm_address_t *x2, int bits);
108 void xfrm_id_info_print(xfrm_address_t *saddr, struct xfrm_id *id,
125 int xfrm_id_parse(xfrm_address_t *saddr, struct xfrm_id *id, __u16 *family,
H A Dipxfrm.c69 int xfrm_addr_match(xfrm_address_t *x1, xfrm_address_t *x2, int bits)
241 void xfrm_id_info_print(xfrm_address_t *saddr, struct xfrm_id *id,
763 int xfrm_id_parse(xfrm_address_t *saddr, struct xfrm_id *id, __u16 *family,
/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/net/ipv4/
H A Dxfrm4_state.c41 xfrm_address_t *daddr, xfrm_address_t *saddr)
H A Dipcomp.c39 x = xfrm_state_lookup(net, skb->mark, (xfrm_address_t *)&iph->daddr,
93 t = xfrm_state_lookup(net, mark, (xfrm_address_t *)&x->id.daddr.a4,
H A Dxfrm4_policy.c21 xfrm_address_t *saddr,
22 xfrm_address_t *daddr)
47 xfrm_address_t *saddr, xfrm_address_t *daddr)
H A Desp4.c273 xfrm_address_t ipaddr;
418 x = xfrm_state_lookup(net, skb->mark, (xfrm_address_t *)&iph->daddr, esph->spi, IPPROTO_ESP, AF_INET);
H A Dah4.c397 x = xfrm_state_lookup(net, skb->mark, (xfrm_address_t *)&iph->daddr, ah->spi, IPPROTO_AH, AF_INET);
/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/net/key/
H A Daf_key.c578 int pfkey_sockaddr_extract(const struct sockaddr *sa, xfrm_address_t *xaddr)
597 int pfkey_sadb_addr2xfrm_addr(struct sadb_address *addr, xfrm_address_t *xaddr)
609 xfrm_address_t *xaddr;
627 xaddr = (xfrm_address_t *)&((struct sockaddr_in *)(addr + 1))->sin_addr;
631 xaddr = (xfrm_address_t *)&((struct sockaddr_in6 *)(addr + 1))->sin6_addr;
681 static unsigned int pfkey_sockaddr_fill(xfrm_address_t *xaddr, __be16 port,
1272 xfrm_address_t *xsaddr = NULL, *xdaddr = NULL;
1298 xdaddr = (xfrm_address_t *)&((struct sockaddr_in *)(daddr + 1))->sin_addr.s_addr;
1299 xsaddr = (xfrm_address_t *)&((struct sockaddr_in *)(saddr + 1))->sin_addr.s_addr;
1303 xdaddr = (xfrm_address_t *)
[all...]

Completed in 213 milliseconds

12