Home
last modified time | relevance | path

Searched refs:mhp (Results 1 – 8 of 8) sorted by relevance

/external/ipsec-tools/src/racoon/
Dpfkey.c200 caddr_t mhp[SADB_EXT_MAX + 1]; in pfkey_handler() local
242 if (pfkey_align(msg, mhp)) { in pfkey_handler()
248 if (pfkey_check(mhp)) { in pfkey_handler()
254 msg = (struct sadb_msg *)mhp[0]; in pfkey_handler()
271 if ((pkrecvf[msg->sadb_msg_type])(mhp) < 0) in pfkey_handler()
928 pk_recvgetspi(mhp) in pk_recvgetspi() argument
929 caddr_t *mhp; in pk_recvgetspi()
941 if (mhp[SADB_EXT_SA] == NULL
942 || mhp[SADB_EXT_ADDRESS_DST] == NULL) {
947 msg = (struct sadb_msg *)mhp[0];
[all …]
Disakmp_inf.c1140 caddr_t mhp[SADB_EXT_MAX + 1]; local
1170 if (pfkey_align(msg, mhp) || pfkey_check(mhp)) {
1177 sa = (struct sadb_sa *)(mhp[SADB_EXT_SA]);
1179 || !mhp[SADB_EXT_ADDRESS_SRC]
1180 || !mhp[SADB_EXT_ADDRESS_DST]) {
1184 src = PFKEY_ADDR_SADDR(mhp[SADB_EXT_ADDRESS_SRC]);
1185 dst = PFKEY_ADDR_SADDR(mhp[SADB_EXT_ADDRESS_DST]);
1186 lt = (struct sadb_lifetime*)mhp[SADB_EXT_LIFETIME_HARD];
1198 natt_type = (void *)mhp[SADB_X_EXT_NAT_T_TYPE];
1202 natt_port = (void *)mhp[SADB_X_EXT_NAT_T_SPORT];
[all …]
Dsession.c491 caddr_t mhp[SADB_EXT_MAX + 1]; in check_flushsa() local
515 if (pfkey_align(msg, mhp) || pfkey_check(mhp)) { in check_flushsa()
522 sa = (struct sadb_sa *)(mhp[SADB_EXT_SA]); in check_flushsa()
Disakmp.c3201 caddr_t mhp[SADB_EXT_MAX + 1]; local
3239 if (pfkey_align(msg, mhp) || pfkey_check(mhp)) {
3246 sa = (struct sadb_sa *)(mhp[SADB_EXT_SA]);
3248 !mhp[SADB_EXT_ADDRESS_SRC] ||
3249 !mhp[SADB_EXT_ADDRESS_DST]) {
3253 src = PFKEY_ADDR_SADDR(mhp[SADB_EXT_ADDRESS_SRC]);
3254 dst = PFKEY_ADDR_SADDR(mhp[SADB_EXT_ADDRESS_DST]);
/external/ipsec-tools/src/libipsec/
Dpfkey_dump.c237 caddr_t mhp[SADB_EXT_MAX + 1]; local
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];
[all …]
Dtest-policy.c323 caddr_t mhp[SADB_EXT_MAX + 1]; local
327 if (pfkey_align(msg, mhp) < 0)
330 return ((struct sadb_x_policy *)mhp[SADB_X_EXT_POLICY])->sadb_x_policy_id;
Dpfkey.c1846 pfkey_align(struct sadb_msg *msg, caddr_t *mhp) in pfkey_align() argument
1854 if (msg == NULL || mhp == NULL) { in pfkey_align()
1861 mhp[i] = NULL; in pfkey_align()
1863 mhp[0] = (void *)msg; in pfkey_align()
1882 if (mhp[ext->sadb_ext_type] != NULL) { in pfkey_align()
1924 mhp[ext->sadb_ext_type] = (void *)ext; in pfkey_align()
1955 pfkey_check(caddr_t *mhp) in pfkey_check() argument
1960 if (mhp == NULL || mhp[0] == NULL) { in pfkey_check()
1965 msg = (void *)mhp[0]; in pfkey_check()
2036 if (mhp[SADB_EXT_ADDRESS_SRC] != NULL in pfkey_check()
[all …]
/external/libxml2/macos/
Dlibxml2.mcp.xml.sit.hqx33 Vr-+BrIE$L!8"bQ"pXcIlKVBY2EhdNlSN4*mhp@+Jm#i"c1@e5*,j8J)b%QB%fU"