• Home
  • History
  • Annotate
  • Raw
  • Download
  • only in /macosx-10.10.1/ipsec-286.1.1/ipsec-tools/racoon/

Lines Matching refs:session

103 getph1byindex(ike_session_t *session, isakmp_index *index)
107 LIST_FOREACH(p, &session->ph1tree, ph1ofsession_chain) {
118 ike_session_getph1byindex(ike_session_t *session, isakmp_index *index)
123 if (session)
124 return getph1byindex(session, index);
139 getph1byindex0 (ike_session_t *session, isakmp_index *index)
143 LIST_FOREACH(p, &session->ph1tree, ph1ofsession_chain) {
153 ike_session_getph1byindex0(ike_session_t *session, isakmp_index *index)
158 if (session)
159 return getph1byindex0(session, index);
175 ike_session_getph1byaddr(ike_session_t *session, struct sockaddr_storage *local, struct sockaddr_storage *remote)
183 LIST_FOREACH(p, &session->ph1tree, ph1ofsession_chain) {
201 sgetph1byaddrwop(ike_session_t *session, struct sockaddr_storage *local, struct sockaddr_storage *remote)
205 LIST_FOREACH(p, &session->ph1tree, ph1ofsession_chain) {
217 ike_session_getph1byaddrwop(ike_session_t *session, struct sockaddr_storage *local, struct sockaddr_storage *remote)
222 if (session)
223 return sgetph1byaddrwop(session, local, remote);
239 sike_session_getph1bydstaddrwop(ike_session_t *session, struct sockaddr_storage *remote)
243 LIST_FOREACH(p, &session->ph1tree, ph1ofsession_chain) {
254 ike_session_getph1bydstaddrwop(ike_session_t *session, struct sockaddr_storage *remote)
259 if (session)
260 return sike_session_getph1bydstaddrwop(session, remote);
420 ike_session_flush_all_phase1_for_session(ike_session_t *session, int ignore_estab_or_assert_handles)
424 LIST_FOREACH_SAFE(p, &session->ph1tree, ph1ofsession_chain, next) {
461 ike_session_t *session = NULL;
467 LIST_FOREACH_SAFE(session, &ike_session_tree, chain, next_session) {
468 ike_session_flush_all_phase1_for_session(session, ignore_estab_or_assert_handles);
480 ike_session_t *session = NULL;
483 LIST_FOREACH(session, &ike_session_tree, chain) {
484 LIST_FOREACH(p, &session->ph2tree, ph2ofsession_chain) {
505 ike_session_t *session;
508 LIST_FOREACH(session, &ike_session_tree, chain) {
509 LIST_FOREACH(p, &session->ph2tree, ph2ofsession_chain) {
550 ike_session_t *session = NULL;
555 LIST_FOREACH_SAFE(session, &ike_session_tree, chain, next_session) {
556 LIST_FOREACH_SAFE(p, &session->ph2tree, ph2ofsession_chain, next_iph2) {
585 ike_session_t *session;
588 LIST_FOREACH(session, &ike_session_tree, chain) {
589 LIST_FOREACH(p, &session->ph2tree, chain) {
606 ike_session_t *session;
610 LIST_FOREACH(session, &ike_session_tree, chain) {
611 LIST_FOREACH(iph2, &session->ph2tree, ph2ofsession_chain) {
640 ike_session_t *session;
644 LIST_FOREACH(session, &ike_session_tree, chain) {
645 LIST_FOREACH(iph2, &session->ph2tree, ph2ofsession_chain) {
804 ike_session_flush_all_phase2_for_session(ike_session_t *session, int ignore_estab_or_assert_handles)
808 LIST_FOREACH_SAFE(p, &session->ph2tree, ph2ofsession_chain, next) {
842 ike_session_t *session = NULL;
848 LIST_FOREACH_SAFE(session, &ike_session_tree, chain, next_session) {
849 ike_session_flush_all_phase2_for_session(session, ignore_estab_or_assert_handles);
858 //%%%%%%%%%%%%%%%%%%% make this smarter - find session using addresses ????
862 ike_session_t *session = NULL;
868 LIST_FOREACH_SAFE(session, &ike_session_tree, chain, next_session) {
869 LIST_FOREACH_SAFE(iph2, &session->ph2tree, ph2ofsession_chain, next_iph2) {
911 ike_session_t *session = NULL;
916 LIST_FOREACH_SAFE(session, &ike_session_tree, chain, next_session) {
917 LIST_FOREACH_SAFE(iph1, &session->ph1tree, ph1ofsession_chain, next_iph1) {
1284 ike_session_t *session;
1288 LIST_FOREACH(session, &ike_session_tree, chain) {
1289 LIST_FOREACH(p, &session->ph1tree, chain) {
1306 ike_session_expire_session(ike_session_t *session)
1313 if (session == NULL)
1316 LIST_FOREACH(p2, &session->ph2tree, ph2ofsession_chain) {
1326 LIST_FOREACH_SAFE(p, &session->ph1tree, ph1ofsession_chain, next) {
1346 ike_session_t *session = NULL;
1351 LIST_FOREACH_SAFE(session, &ike_session_tree, chain, next_session) {
1352 LIST_FOREACH(p2, &session->ph2tree, ph2ofsession_chain) {
1366 LIST_FOREACH(p, &session->ph1tree, ph1ofsession_chain) {
1388 ike_session_t *session = NULL;
1395 LIST_FOREACH_SAFE(session, &ike_session_tree, chain, next_session) {
1397 LIST_FOREACH_SAFE(iph2, &session->ph2tree, ph2ofsession_chain, next_iph2) {
1412 LIST_FOREACH_SAFE(iph2, &session->ph2tree, ph2ofsession_chain, next_iph2) {
1437 ike_session_t *session = NULL;
1440 LIST_FOREACH(session, &ike_session_tree, chain) {
1441 LIST_FOREACH(p, &session->ph1tree, ph1ofsession_chain) {
1471 ike_session_t *session = NULL;
1478 LIST_FOREACH_SAFE(session, &ike_session_tree, chain, next_session) {
1480 LIST_FOREACH_SAFE(iph1, &session->ph1tree, ph1ofsession_chain, next_iph1) {
1535 LIST_FOREACH_SAFE(iph2, &session->ph2tree, ph2ofsession_chain, next_iph2) {