Lines Matching refs:mhp
237 caddr_t mhp[SADB_EXT_MAX + 1];
263 if (pfkey_align(m, mhp)) {
267 if (pfkey_check(mhp)) {
272 m_sa = (void *)mhp[SADB_EXT_SA];
273 m_sa2 = (void *)mhp[SADB_X_EXT_SA2];
274 m_lftc = (void *)mhp[SADB_EXT_LIFETIME_CURRENT];
275 m_lfth = (void *)mhp[SADB_EXT_LIFETIME_HARD];
276 m_lfts = (void *)mhp[SADB_EXT_LIFETIME_SOFT];
277 m_saddr = (void *)mhp[SADB_EXT_ADDRESS_SRC];
278 m_daddr = (void *)mhp[SADB_EXT_ADDRESS_DST];
280 m_paddr = (void *)mhp[SADB_EXT_ADDRESS_PROXY];
282 m_auth = (void *)mhp[SADB_EXT_KEY_AUTH];
283 m_enc = (void *)mhp[SADB_EXT_KEY_ENCRYPT];
285 m_sid = (void *)mhp[SADB_EXT_IDENTITY_SRC];
286 m_did = (void *)mhp[SADB_EXT_IDENTITY_DST];
287 m_sens = (void *)mhp[SADB_EXT_SENSITIVITY];
290 m_sec_ctx = (struct sadb_x_sec_ctx *)mhp[SADB_X_EXT_SEC_CTX];
293 natt_type = (void *)mhp[SADB_X_EXT_NAT_T_TYPE];
294 natt_sport = (void *)mhp[SADB_X_EXT_NAT_T_SPORT];
295 natt_dport = (void *)mhp[SADB_X_EXT_NAT_T_DPORT];
296 natt_oa = (void *)mhp[SADB_X_EXT_NAT_T_OA];
489 caddr_t mhp[SADB_EXT_MAX + 1];
503 if (pfkey_align(m, mhp)) {
507 if (pfkey_check(mhp)) {
512 m_saddr = (void *)mhp[SADB_EXT_ADDRESS_SRC];
513 m_daddr = (void *)mhp[SADB_EXT_ADDRESS_DST];
515 m_tag = (void *)mhp[SADB_X_EXT_TAG];
517 m_xpl = (void *)mhp[SADB_X_EXT_POLICY];
518 m_lftc = (void *)mhp[SADB_EXT_LIFETIME_CURRENT];
519 m_lfth = (void *)mhp[SADB_EXT_LIFETIME_HARD];
522 m_sec_ctx = (struct sadb_x_sec_ctx *)mhp[SADB_X_EXT_SEC_CTX];