xfrm_tmpl
__xfrm4_state_addr_cmp(const struct xfrm_tmpl *tmpl, const struct xfrm_state *x)
__xfrm6_state_addr_cmp(const struct xfrm_tmpl *tmpl, const struct xfrm_state *x)
xfrm_state_addr_cmp(const struct xfrm_tmpl *tmpl, const struct xfrm_state *x, unsigned short family)
struct xfrm_tmpl *tmpl,
void xfrm_tmpl_sort(struct xfrm_tmpl **dst, struct xfrm_tmpl **src, int n,
static inline void xfrm_tmpl_sort(struct xfrm_tmpl **d, struct xfrm_tmpl **s,
struct xfrm_tmpl;
int km_query(struct xfrm_state *x, struct xfrm_tmpl *t,
struct xfrm_tmpl xfrm_vec[XFRM_MAX_DEPTH];
int (*acquire)(struct xfrm_state *x, struct xfrm_tmpl *, struct xfrm_policy *xp);
struct xfrm_tmpl *t = xp->xfrm_vec + xp->xfrm_nr;
const struct xfrm_tmpl *t;
const struct xfrm_tmpl *t = xp->xfrm_vec + i;
static inline int aalg_tmpl_set(const struct xfrm_tmpl *t,
static inline int ealg_tmpl_set(const struct xfrm_tmpl *t,
static int count_ah_combs(const struct xfrm_tmpl *t)
static int count_esp_combs(const struct xfrm_tmpl *t)
static int dump_ah_combs(struct sk_buff *skb, const struct xfrm_tmpl *t)
static int dump_esp_combs(struct sk_buff *skb, const struct xfrm_tmpl *t)
static int pfkey_send_acquire(struct xfrm_state *x, struct xfrm_tmpl *t, struct xfrm_policy *xp)
newp->xfrm_nr*sizeof(struct xfrm_tmpl));
struct xfrm_tmpl *tmpl = &policy->xfrm_vec[i];
xfrm_state_ok(const struct xfrm_tmpl *tmpl, const struct xfrm_state *x,
xfrm_policy_ok(const struct xfrm_tmpl *tmpl, const struct sec_path *sp, int start,
struct xfrm_tmpl *tp[XFRM_MAX_DEPTH];
struct xfrm_tmpl *stp[XFRM_MAX_DEPTH];
struct xfrm_tmpl **tpp = tp;
static int migrate_tmpl_match(const struct xfrm_migrate *m, const struct xfrm_tmpl *t)
const struct xfrm_tmpl *tmpl,
const struct flowi *fl, struct xfrm_tmpl *tmpl,
int km_query(struct xfrm_state *x, struct xfrm_tmpl *t, struct xfrm_policy *pol);
const struct xfrm_tmpl *v = p;
xfrm_tmpl_sort(struct xfrm_tmpl **dst, struct xfrm_tmpl **src, int n,
int km_query(struct xfrm_state *x, struct xfrm_tmpl *t, struct xfrm_policy *pol)
struct xfrm_tmpl *t = &xp->xfrm_vec[i];
struct xfrm_tmpl *kp = &xp->xfrm_vec[i];
struct xfrm_tmpl *t = &xp->xfrm_vec[i];
struct xfrm_tmpl *xt, struct xfrm_policy *xp)
static int xfrm_send_acquire(struct xfrm_state *x, struct xfrm_tmpl *xt,
struct xfrm_user_tmpl xfrm_tmpl = {};
xfrm_tmpl.family = AF_INET;
xfrm_tmpl.id.proto = IPPROTO_ESP;
if (rtattr_pack(&req.nh, sizeof(req), XFRMA_TMPL, &xfrm_tmpl, sizeof(xfrm_tmpl)))