Home
last modified time | relevance | path

Searched refs:xaddr (Results 1 – 1 of 1) sorted by relevance

/net/key/
Daf_key.c635 int pfkey_sockaddr_extract(const struct sockaddr *sa, xfrm_address_t *xaddr) in pfkey_sockaddr_extract() argument
639 xaddr->a4 = in pfkey_sockaddr_extract()
644 memcpy(xaddr->a6, in pfkey_sockaddr_extract()
654 int pfkey_sadb_addr2xfrm_addr(const struct sadb_address *addr, xfrm_address_t *xaddr) in pfkey_sadb_addr2xfrm_addr() argument
657 xaddr); in pfkey_sadb_addr2xfrm_addr()
666 xfrm_address_t *xaddr; in pfkey_xfrm_state_lookup() local
684 xaddr = (xfrm_address_t *)&((const struct sockaddr_in *)(addr + 1))->sin_addr; in pfkey_xfrm_state_lookup()
688 xaddr = (xfrm_address_t *)&((const struct sockaddr_in6 *)(addr + 1))->sin6_addr; in pfkey_xfrm_state_lookup()
692 xaddr = NULL; in pfkey_xfrm_state_lookup()
695 if (!xaddr) in pfkey_xfrm_state_lookup()
[all …]