Lines Matching defs:mhp

222 	caddr_t mhp[SADB_EXT_MAX + 1];
236 if (pfkey_align(m, mhp)) {
240 if (pfkey_check(mhp)) {
245 m_sa = (struct sadb_sa *)mhp[SADB_EXT_SA];
246 m_sa2 = (struct sadb_x_sa2 *)mhp[SADB_X_EXT_SA2];
247 m_lftc = (struct sadb_lifetime *)mhp[SADB_EXT_LIFETIME_CURRENT];
248 m_lfth = (struct sadb_lifetime *)mhp[SADB_EXT_LIFETIME_HARD];
249 m_lfts = (struct sadb_lifetime *)mhp[SADB_EXT_LIFETIME_SOFT];
250 m_saddr = (struct sadb_address *)mhp[SADB_EXT_ADDRESS_SRC];
251 m_daddr = (struct sadb_address *)mhp[SADB_EXT_ADDRESS_DST];
252 m_paddr = (struct sadb_address *)mhp[SADB_EXT_ADDRESS_PROXY];
253 m_auth = (struct sadb_key *)mhp[SADB_EXT_KEY_AUTH];
254 m_enc = (struct sadb_key *)mhp[SADB_EXT_KEY_ENCRYPT];
255 m_sid = (struct sadb_ident *)mhp[SADB_EXT_IDENTITY_SRC];
256 m_did = (struct sadb_ident *)mhp[SADB_EXT_IDENTITY_DST];
257 m_sens = (struct sadb_sens *)mhp[SADB_EXT_SENSITIVITY];
258 m_sa_replay = (struct sadb_x_sa_replay *)mhp[SADB_X_EXT_SA_REPLAY];
259 natt_type = (struct sadb_x_nat_t_type *)mhp[SADB_X_EXT_NAT_T_TYPE];
260 natt_sport = (struct sadb_x_nat_t_port *)mhp[SADB_X_EXT_NAT_T_SPORT];
261 natt_dport = (struct sadb_x_nat_t_port *)mhp[SADB_X_EXT_NAT_T_DPORT];
262 natt_oai = (struct sadb_address *)mhp[SADB_X_EXT_NAT_T_OAI];
263 natt_oar = (struct sadb_address *)mhp[SADB_X_EXT_NAT_T_OAR];
412 caddr_t mhp[SADB_EXT_MAX + 1];
420 if (pfkey_align(m, mhp)) {
424 if (pfkey_check(mhp)) {
429 m_saddr = (struct sadb_address *)mhp[SADB_EXT_ADDRESS_SRC];
430 m_daddr = (struct sadb_address *)mhp[SADB_EXT_ADDRESS_DST];
431 m_xpl = (struct sadb_x_policy *)mhp[SADB_X_EXT_POLICY];
432 m_lftc = (struct sadb_lifetime *)mhp[SADB_EXT_LIFETIME_CURRENT];
433 m_lfth = (struct sadb_lifetime *)mhp[SADB_EXT_LIFETIME_HARD];