Home
last modified time | relevance | path

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

/external/ipsec-tools/src/racoon/
Dnattraversal.c493 isakmp_plist_append_natt_vids (struct payload_list *plist, vchar_t *vid_natt[MAX_NATT_VID_COUNT]){ in isakmp_plist_append_natt_vids()
496 if(vid_natt == NULL) in isakmp_plist_append_natt_vids()
500 vid_natt[i]=NULL; in isakmp_plist_append_natt_vids()
508 if ((vid_natt[vid_natt_i] = set_vendorid(VENDORID_NATT_RFC)) != NULL) in isakmp_plist_append_natt_vids()
511 if ((vid_natt[vid_natt_i] = set_vendorid(VENDORID_NATT_08)) != NULL) in isakmp_plist_append_natt_vids()
515 if ((vid_natt[vid_natt_i] = set_vendorid(VENDORID_NATT_07)) != NULL) in isakmp_plist_append_natt_vids()
519 if ((vid_natt[vid_natt_i] = set_vendorid(VENDORID_NATT_06)) != NULL) in isakmp_plist_append_natt_vids()
523 if ((vid_natt[vid_natt_i] = set_vendorid(VENDORID_NATT_05)) != NULL) in isakmp_plist_append_natt_vids()
527 if ((vid_natt[vid_natt_i] = set_vendorid(VENDORID_NATT_04)) != NULL) in isakmp_plist_append_natt_vids()
531 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
193 memset (vid_natt, 0, sizeof (vid_natt));
195 if ((vid_natt[vid_natt_i] = set_vendorid(VENDORID_NATT_00)) != NULL)
199 if ((vid_natt[vid_natt_i] = set_vendorid(VENDORID_NATT_02)) != NULL)
203 if ((vid_natt[vid_natt_i] = set_vendorid(VENDORID_NATT_02_N)) != NULL)
207 if ((vid_natt[vid_natt_i] = set_vendorid(VENDORID_NATT_RFC)) != NULL)
244 plist = isakmp_plist_append(plist, vid_natt[i], ISAKMP_NPTYPE_VID);
268 vfree(vid_natt[i]);
907 vchar_t *vid_natt = NULL; local
951 vid_natt = set_vendorid(iph1->natt_options->version);
[all …]
Disakmp_agg.c118 vchar_t *vid_natt[MAX_NATT_VID_COUNT] = { NULL }; local
255 plist = isakmp_plist_append_natt_vids(plist, vid_natt);
297 for (i = 0; i < MAX_NATT_VID_COUNT && vid_natt[i] != NULL; i++)
298 vfree(vid_natt[i]);
925 vchar_t *vid_natt = NULL; local
1002 vid_natt = set_vendorid(iph1->natt_options->version);
1206 if (vid_natt) {
1208 plist = isakmp_plist_append(plist, vid_natt, ISAKMP_NPTYPE_VID);
Disakmp_ident.c115 vchar_t *vid_natt[MAX_NATT_VID_COUNT] = { NULL }; local
156 plist = isakmp_plist_append_natt_vids(plist, vid_natt);
228 for (i = 0; i < MAX_NATT_VID_COUNT && vid_natt[i] != NULL; i++)
229 vfree(vid_natt[i]);
965 vchar_t *vid_natt = NULL; local
1025 vid_natt = set_vendorid(iph1->natt_options->version);
1027 if (vid_natt)
1028 plist = isakmp_plist_append(plist, vid_natt, ISAKMP_NPTYPE_VID);
1079 if (vid_natt)
1080 vfree(vid_natt);
Dnattraversal.h87 isakmp_plist_append_natt_vids (struct payload_list *plist, vchar_t *vid_natt[MAX_NATT_VID_COUNT]);