Lines Matching refs:xpl
1829 struct sadb_x_policy *xpl;
1849 xpl = mtod(m, struct sadb_x_policy *);
1850 bzero(xpl, tlen);
1852 xpl->sadb_x_policy_len = PFKEY_UNIT64(tlen);
1853 xpl->sadb_x_policy_exttype = SADB_X_EXT_POLICY;
1854 xpl->sadb_x_policy_type = sp->policy;
1855 xpl->sadb_x_policy_dir = sp->spidx.dir;
1856 xpl->sadb_x_policy_id = sp->id;
1857 p = (caddr_t)xpl + sizeof(*xpl);
1985 struct sadb_x_policy *xpl0, *xpl;
2215 sizeof(*xpl), &off);
2220 xpl = (struct sadb_x_policy *)(mtod(mpolicy, caddr_t) + off);
2221 if (xpl->sadb_x_policy_exttype != SADB_X_EXT_POLICY) {
2225 xpl->sadb_x_policy_id = newsp->id;