Home
last modified time | relevance | path

Searched refs:dstid (Results 1 – 3 of 3) sorted by relevance

/illumos-gate/usr/src/cmd/cmd-inet/usr.sbin/ipsecutils/
H A Dipseckey.c1653 struct sadb_ident *srcid = NULL, *dstid = NULL; in doaddup() local
2392 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 …]
/illumos-gate/usr/src/uts/common/inet/
H A Dsadb.h683 sadb_ident_t *srcid, *dstid; member
/illumos-gate/usr/src/uts/common/inet/ip/
H A Dsadb.c1104 boolean_t srcid = B_FALSE, dstid = B_FALSE; in sadb_sa2msg() local
1237 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()