Home
last modified time | relevance | path

Searched refs:vid_natt (Results 1 – 5 of 5) sorted by relevance

/external/ipsec-tools/src/racoon/
Dnattraversal.c468 isakmp_plist_append_natt_vids (struct payload_list *plist, vchar_t *vid_natt[MAX_NATT_VID_COUNT]){ in isakmp_plist_append_natt_vids()
471 if(vid_natt == NULL) in isakmp_plist_append_natt_vids()
475 vid_natt[i]=NULL; in isakmp_plist_append_natt_vids()
483 if ((vid_natt[vid_natt_i] = set_vendorid(VENDORID_NATT_RFC)) != NULL) in isakmp_plist_append_natt_vids()
486 if ((vid_natt[vid_natt_i] = set_vendorid(VENDORID_NATT_08)) != NULL) in isakmp_plist_append_natt_vids()
490 if ((vid_natt[vid_natt_i] = set_vendorid(VENDORID_NATT_07)) != NULL) in isakmp_plist_append_natt_vids()
494 if ((vid_natt[vid_natt_i] = set_vendorid(VENDORID_NATT_06)) != NULL) in isakmp_plist_append_natt_vids()
498 if ((vid_natt[vid_natt_i] = set_vendorid(VENDORID_NATT_05)) != NULL) in isakmp_plist_append_natt_vids()
502 if ((vid_natt[vid_natt_i] = set_vendorid(VENDORID_NATT_04)) != NULL) in isakmp_plist_append_natt_vids()
506 if ((vid_natt[vid_natt_i] = set_vendorid(VENDORID_NATT_03)) != NULL) in isakmp_plist_append_natt_vids()
[all …]
Disakmp_base.c110 vchar_t *vid_natt[MAX_NATT_VID_COUNT] = { NULL }; local
192 memset (vid_natt, 0, sizeof (vid_natt));
194 if ((vid_natt[vid_natt_i] = set_vendorid(VENDORID_NATT_00)) != NULL)
198 if ((vid_natt[vid_natt_i] = set_vendorid(VENDORID_NATT_02)) != NULL)
202 if ((vid_natt[vid_natt_i] = set_vendorid(VENDORID_NATT_02_N)) != NULL)
206 if ((vid_natt[vid_natt_i] = set_vendorid(VENDORID_NATT_RFC)) != NULL)
243 plist = isakmp_plist_append(plist, vid_natt[i], ISAKMP_NPTYPE_VID);
268 vfree(vid_natt[i]);
970 vchar_t *vid_natt = NULL; local
1014 vid_natt = set_vendorid(iph1->natt_options->version);
[all …]
Disakmp_ident.c114 vchar_t *vid_natt[MAX_NATT_VID_COUNT] = { NULL }; local
154 plist = isakmp_plist_append_natt_vids(plist, vid_natt);
227 for (i = 0; i < MAX_NATT_VID_COUNT && vid_natt[i] != NULL; i++)
228 vfree(vid_natt[i]);
1019 vchar_t *vid_natt = NULL; local
1079 vid_natt = set_vendorid(iph1->natt_options->version);
1081 if (vid_natt)
1082 plist = isakmp_plist_append(plist, vid_natt, ISAKMP_NPTYPE_VID);
1136 if (vid_natt)
1137 vfree(vid_natt);
Disakmp_agg.c120 vchar_t *vid_natt[MAX_NATT_VID_COUNT] = { NULL }; local
267 plist = isakmp_plist_append_natt_vids(plist, vid_natt);
312 for (i = 0; i < MAX_NATT_VID_COUNT && vid_natt[i] != NULL; i++)
313 vfree(vid_natt[i]);
1003 vchar_t *vid_natt = NULL; local
1093 vid_natt = set_vendorid(iph1->natt_options->version);
1295 if (vid_natt) {
1297 plist = isakmp_plist_append(plist, vid_natt, ISAKMP_NPTYPE_VID);
Dnattraversal.h87 isakmp_plist_append_natt_vids (struct payload_list *plist, vchar_t *vid_natt[MAX_NATT_VID_COUNT]);