Lines Matching refs:SADB_X_EXT_POLICY
210 sizeof(struct sadb_x_policy), /* SADB_X_EXT_POLICY */
232 0, /* SADB_X_EXT_POLICY */
1853 xpl->sadb_x_policy_exttype = SADB_X_EXT_POLICY;
2000 mhp->ext[SADB_X_EXT_POLICY] == NULL) {
2006 mhp->extlen[SADB_X_EXT_POLICY] < sizeof(struct sadb_x_policy)) {
2021 xpl0 = (struct sadb_x_policy *)mhp->ext[SADB_X_EXT_POLICY];
2055 && mhp->extlen[SADB_X_EXT_POLICY] <= sizeof(*xpl0)) {
2192 int mbufItems[] = {SADB_EXT_RESERVED, SADB_X_EXT_POLICY,
2197 int mbufItems[] = {SADB_EXT_RESERVED, SADB_X_EXT_POLICY,
2221 if (xpl->sadb_x_policy_exttype != SADB_X_EXT_POLICY) {
2295 mhp->ext[SADB_X_EXT_POLICY] == NULL) {
2301 mhp->extlen[SADB_X_EXT_POLICY] < sizeof(struct sadb_x_policy)) {
2308 xpl0 = (struct sadb_x_policy *)mhp->ext[SADB_X_EXT_POLICY];
2349 int mbufItems[] = {SADB_EXT_RESERVED, SADB_X_EXT_POLICY,
2393 if (mhp->ext[SADB_X_EXT_POLICY] == NULL ||
2394 mhp->extlen[SADB_X_EXT_POLICY] < sizeof(struct sadb_x_policy)) {
2400 id = ((struct sadb_x_policy *)mhp->ext[SADB_X_EXT_POLICY])->sadb_x_policy_id;
2447 n->m_next = m_copym(m, mhp->extoff[SADB_X_EXT_POLICY],
2448 mhp->extlen[SADB_X_EXT_POLICY], M_DONTWAIT);
2495 if (mhp->ext[SADB_X_EXT_POLICY] == NULL ||
2496 mhp->extlen[SADB_X_EXT_POLICY] < sizeof(struct sadb_x_policy)) {
2501 id = ((struct sadb_x_policy *)mhp->ext[SADB_X_EXT_POLICY])->sadb_x_policy_id;
4211 p->sadb_x_policy_exttype = SADB_X_EXT_POLICY;
7909 case SADB_X_EXT_POLICY: