Searched refs:sadb_ident_t (Results 1 – 6 of 6) sorted by relevance
762 parse_ident(int argc, char **argv, sadb_ident_t **idpp) in parse_ident()765 sadb_ident_t *idp; in parse_ident()770 alloclen = sizeof (sadb_ident_t) + IKEDOORROUNDUP(strlen(argv[1]) + 1); in parse_ident()771 *idpp = idp = (sadb_ident_t *)malloc(alloclen); in parse_ident()786 alloclen - (sizeof (sadb_ident_t))); in parse_ident()838 parse_ident_pr(int argc, char **argv, sadb_ident_t **id1pp, in parse_ident_pr()839 sadb_ident_t **id2pp) in parse_ident_pr()1043 sadb_ident_t *sidp; in parse_ps()1122 a_locidtotal = IKEDOORROUNDUP(sizeof (sadb_ident_t) + locidlen); in parse_ps()1126 a_remidtotal = IKEDOORROUNDUP(sizeof (sadb_ident_t) + remidlen); in parse_ps()[all …]
186 } sadb_ident_t; typedef
1112 sadb_ident_t *id; in ext_check()1174 id = (sadb_ident_t *)ext; in ext_check()1176 i -= sizeof (sadb_ident_t); in ext_check()
1087 sadb_ident_t *ident; in sadb_sa2msg()1220 srcidsize = roundup(sizeof (sadb_ident_t) + in sadb_sa2msg()1228 dstidsize = roundup(sizeof (sadb_ident_t) + in sadb_sa2msg()1414 ident = (sadb_ident_t *)walker; in sadb_sa2msg()1427 ident = (sadb_ident_t *)walker; in sadb_sa2msg()2313 sq->dstid = (sadb_ident_t *)ksi->ks_in_extv[SADB_EXT_IDENTITY_DST]; in sadb_form_query()2320 sq->srcid = (sadb_ident_t *)ksi->ks_in_extv[SADB_EXT_IDENTITY_SRC]; in sadb_form_query()3404 sadb_ident_t *id =3405 (sadb_ident_t *)ksi->ks_in_extv[SADB_EXT_IDENTITY_SRC];3421 sadb_ident_t *id =[all …]
683 sadb_ident_t *srcid, *dstid;
2221 SADB_64TO8(id->sadb_ident_len) - sizeof (sadb_ident_t)); in print_ident()