Searched refs:dstid (Results 1 – 3 of 3) sorted by relevance
1653 struct sadb_ident *srcid = NULL, *dstid = NULL; in doaddup() local2392 if (dstid != NULL) { in doaddup()2398 alloclen = sizeof (*dstid) + in doaddup()2400 dstid = malloc(alloclen); in doaddup()2401 if (dstid == NULL) in doaddup()2406 dstid->sadb_ident_len = SADB_8TO64(alloclen); in doaddup()2408 dstid->sadb_ident_reserved = 0; in doaddup()2837 if (dstid != NULL) { in doaddup()2838 bcopy(dstid, nexthdr, SADB_64TO8(dstid->sadb_ident_len)); in doaddup()2839 nexthdr += dstid->sadb_ident_len; in doaddup()[all …]
683 sadb_ident_t *srcid, *dstid; member
1104 boolean_t srcid = B_FALSE, dstid = B_FALSE; in sadb_sa2msg() local1237 dstid = B_TRUE; in sadb_sa2msg()1431 if (dstid) { in sadb_sa2msg()2319 sq->dstid = (sadb_ident_t *)ksi->ks_in_extv[SADB_EXT_IDENTITY_DST]; in sadb_form_query()2320 if ((match & IPSA_Q_DSTID) && (sq->dstid != NULL)) { in sadb_form_query()2321 sq->didstr = (char *)(sq->dstid + 1); in sadb_form_query()2322 sq->didtype = sq->dstid->sadb_ident_type; in sadb_form_query()