Lines Matching refs:mhp
1838 * mhp: pointer to the buffer initialized like below:
1839 * caddr_t mhp[SADB_EXT_MAX + 1];
1846 pfkey_align(struct sadb_msg *msg, caddr_t *mhp)
1854 if (msg == NULL || mhp == NULL) {
1861 mhp[i] = NULL;
1863 mhp[0] = (void *)msg;
1882 if (mhp[ext->sadb_ext_type] != NULL) {
1924 mhp[ext->sadb_ext_type] = (void *)ext;
1947 * mhp: pointer to the buffer initialized like below:
1949 * caddr_t mhp[SADB_EXT_MAX + 1];
1955 pfkey_check(caddr_t *mhp)
1960 if (mhp == NULL || mhp[0] == NULL) {
1965 msg = (void *)mhp[0];
2036 if (mhp[SADB_EXT_ADDRESS_SRC] != NULL
2037 && mhp[SADB_EXT_ADDRESS_DST] != NULL) {
2040 src0 = (void *)(mhp[SADB_EXT_ADDRESS_SRC]);
2041 dst0 = (void *)(mhp[SADB_EXT_ADDRESS_DST]);