key.c | 1824 _key_msg2sp(const struct sadb_x_policy *xpl0, size_t len, int *error, 1830 KASSERT(xpl0 != NULL); 1831 KASSERT(len >= sizeof(*xpl0)); 1833 if (len != PFKEY_EXTLEN(xpl0)) { 1845 newsp->spidx.dir = xpl0->sadb_x_policy_dir; 1846 newsp->policy = xpl0->sadb_x_policy_type; 1849 switch (xpl0->sadb_x_policy_type) { 1876 if (PFKEY_EXTLEN(xpl0) < sizeof(*xpl0)) { 1882 tlen = PFKEY_EXTLEN(xpl0) - sizeof(*xpl0) 2210 const struct sadb_x_policy *xpl0; local in function:key_spdadd 2505 struct sadb_x_policy *xpl0; local in function:key_api_spddelete 5339 const struct sadb_x_policy *xpl0; local in function:key_init_spidx_bymsghdr [all...] |