Searched refs:iph2 (Results 1 - 12 of 12) sorted by relevance
/netgear-R7000-V1.0.7.12_1.2.5/src/router/iputils/racoon/ |
H A D | isakmp_quick.c | 99 quick_i1prep(iph2, msg) 100 struct ph2handle *iph2; 106 if (iph2->status != PHASE2ST_STATUS2) { 108 "status mismatched %d.\n", iph2->status); 112 iph2->msgid = isakmp_newmsgid2(iph2->ph1); 113 iph2->ivm = oakley_newiv2(iph2->ph1, iph2->msgid); 114 if (iph2 [all...] |
H A D | handler.c | 385 struct ph2handle *iph2; local 388 LIST_FOREACH(iph2, &ph2tree, chain) { 389 if (iph2->proposal == NULL && iph2->approval == NULL) 391 if (iph2->approval != NULL) { 392 for (pr = iph2->approval->head; pr != NULL; 397 return iph2; 399 } else if (iph2->proposal != NULL) { 400 for (pr = iph2->proposal->head; pr != NULL; 405 return iph2; 419 struct ph2handle *iph2 = NULL; local 576 struct ph2handle *iph2, *next; local [all...] |
H A D | pfkey.c | 728 pfkey_timeover(iph2) 729 struct ph2handle *iph2; 733 saddrwop2str(iph2->dst)); 734 SCHED_KILL(iph2->sce); 737 if (iph2->side == INITIATOR) 738 pk_sendeacquire(iph2); 740 unbindph12(iph2); 741 remph2(iph2); 742 delph2(iph2); 755 pk_sendgetspi(iph2) 812 struct ph2handle *iph2; local 1018 struct ph2handle *iph2; local 1255 struct ph2handle *iph2; local 1320 struct ph2handle *iph2; local 1431 struct ph2handle *iph2[MAXNESTEDSA]; local 1631 struct ph2handle *iph2 = NULL; local [all...] |
H A D | isakmp.c | 472 struct ph2handle *iph2; local 495 iph2 = getph2bymsgid(iph1, msgid); 496 if (iph2 == NULL) { 506 iph2->flags |= ISAKMP_FLAG_C; 509 if (quick_main(iph2, msg) < 0) { 512 unbindph12(iph2); 513 remph2(iph2); 514 delph2(iph2); 648 quick_main(iph2, msg) 649 struct ph2handle *iph2; 942 struct ph2handle *iph2 = 0; local [all...] |
H A D | isakmp_inf.c | 239 isakmp_info_send_d2(iph2) 240 struct ph2handle *iph2; 250 if (iph2->status != PHASE2ST_ESTABLISHED) 257 iph1 = getph1byaddr(iph2->src, iph2->dst); 262 for (pr = iph2->approval->head; pr != NULL; pr = pr->next) { 431 isakmp_info_send_n2(iph2, type, data) 432 struct ph2handle *iph2; 436 struct ph1handle *iph1 = iph2->ph1; 443 if (!iph2 486 struct ph2handle *iph2 = NULL; local 742 struct ph2handle *iph2; local 822 struct ph2handle *iph2; local 929 struct ph2handle *iph2; local [all...] |
H A D | proposal.c | 884 set_proposal_from_policy(iph2, sp_main, sp_sub) 885 struct ph2handle *iph2; 899 newpp->lifetime = iph2->sainfo->lifetime; 900 newpp->lifebyte = iph2->sainfo->lifebyte; 901 newpp->pfs_group = iph2->sainfo->pfs_group; 937 if (iph2->side == INITIATOR) 942 if (memcmp(iph2->dst, paddr, sysdep_sa_len(iph2->dst))){ 964 if (iph2->side == INITIATOR) 969 if (set_satrnsbysainfo(newpr, iph2 [all...] |
H A D | ipsec_doi.c | 711 ipsecdoi_selectph2proposal(iph2) 712 struct ph2handle *iph2; 718 pair = get_proppair(iph2->sa, IPSECDOI_TYPE_PH2); 723 ret = get_ph2approval(iph2, pair); 730 iph2->sa_ret = get_sabyproppair(ret, iph2->ph1); 732 if (iph2->sa_ret == NULL) 746 ipsecdoi_checkph2proposal(iph2) 747 struct ph2handle *iph2; 755 spair = get_proppair(iph2 [all...] |
H A D | oakley.c | 371 oakley_compute_keymat(iph2, side) 372 struct ph2handle *iph2; 378 if (iph2->approval->pfs_group && iph2->dhpub_p) { 379 if (oakley_dh_compute(iph2->pfsgrp, iph2->dhpub, 380 iph2->dhpriv, iph2->dhpub_p, &iph2->dhgxy) < 0) 385 if (oakley_compute_keymat_x(iph2, sid [all...] |
H A D | ipsec_doi.h | 183 extern int ipsecdoi_updatespi __P((struct ph2handle *iph2));
|
H A D | kmpstat.c | 947 struct ph2handle *iph2; local 970 iph2 = (struct ph2handle *)buf; 971 addr = (struct sockaddr *)(++iph2);
|
/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/net/ipv4/ |
H A D | af_inet.c | 1337 struct iphdr *iph2; local 1342 iph2 = ip_hdr(p); 1344 if ((iph->protocol ^ iph2->protocol) | 1345 (iph->tos ^ iph2->tos) | 1346 ((__force u32)iph->saddr ^ (__force u32)iph2->saddr) | 1347 ((__force u32)iph->daddr ^ (__force u32)iph2->daddr)) { 1354 (iph->ttl ^ iph2->ttl) | 1355 ((u16)(ntohs(iph2->id) + NAPI_GRO_CB(p)->count) ^ id);
|
/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/net/ipv6/ |
H A D | af_inet6.c | 892 struct ipv6hdr *iph2; local 897 iph2 = ipv6_hdr(p); 901 memcmp(iph, iph2, offsetof(struct ipv6hdr, payload_len)) || 902 memcmp(&iph->nexthdr, &iph2->nexthdr,
|
Completed in 145 milliseconds