Searched refs:dstid (Results 1 - 11 of 11) sorted by relevance

/openbsd-current/regress/sbin/iked/live/
H A DMakefile48 dstid (FQDN|UFQDN|ASN1_DN)\/[^ ]*/p"`; \
52 dstid (FQDN|UFQDN|ASN1_DN)\/[^ ]*/p"`; \
148 echo "DSTID=\"$$dstid\"" >> $@_$$side.conf; \
364 REGRESS_TARGETS += run-dstid-fail
365 run-dstid-fail:
378 dstid="dstid invalid"; \
385 REGRESS_TARGETS += run-dstid
386 run-dstid:
394 dstid
[all...]
/openbsd-current/sbin/ipsecctl/
H A Dparse.y250 char *dstid;
385 $7.dstid, $8);
399 $10.srcid, $10.dstid, &$11, $12);
428 satype, tmode, mode, $7.srcid, $7.dstid,
631 $$.dstid = NULL;
635 $$.dstid = $4;
639 $$.dstid = NULL;
643 $$.dstid = $2;
1061 { "dstid", DSTID },
2177 if (auth->dstid
[all...]
H A Dike.c122 if (r->auth->dstid) {
124 r->auth->dstid);
125 fprintf(fd, SET "[id-%s]:ID-type=%s force\n", r->auth->dstid,
130 r->auth->dstid, r->auth->dstid);
133 r->auth->dstid, r->auth->dstid);
799 if (r->auth->dstid)
800 fprintf(fd, DELETE "[%s-ID]\n", r->auth->dstid);
H A Dipsecctl.c228 free(rp->auth->dstid);
334 if (r1->auth->dstid) {
335 if (r2->auth->dstid == NULL)
338 if (strcmp(r1->auth->dstid, r2->auth->dstid))
497 if (r->auth->dstid)
498 printf(" dstid %s", r->auth->dstid);
738 free(rp->auth->dstid);
H A Dpfkey.c267 if (auth && auth->dstid) {
268 len = ROUNDUP(strlen(auth->dstid) + 1) + sizeof(*sa_dstid);
278 strlcpy((char *)(sa_dstid + 1), auth->dstid,
279 ROUNDUP(strlen(auth->dstid) + 1));
931 rule->auth->dstid = calloc(1, len);
932 if (rule->auth->dstid == NULL)
935 strlcpy(rule->auth->dstid, (char *)(sident + 1), len);
H A Dipsecctl.h130 char *dstid; member in struct:ipsec_auth
/openbsd-current/sbin/isakmpd/
H A Dpf_key_v2.c1489 u_int8_t dstid_type, u_int8_t *dstid, int dstid_len,
1546 if (dstid) {
1558 memcpy(sid + 1, dstid, dstid_len);
2343 char *srcid = 0, *dstid = 0, *prefstring = 0; local
2771 dstid = memchr(dstident + 1, ':', slen);
2772 if (dstid)
2777 dstid = memchr(dstident + 1, '/', slen);
2778 if (!dstid) {
2783 masklen = atoi(dstid + 1);
2798 *dstid
1483 pf_key_v2_flow(struct sockaddr *laddr, struct sockaddr *lmask, struct sockaddr *raddr, struct sockaddr *rmask, u_int8_t tproto, u_int16_t sport, u_int16_t dport, u_int8_t *spi, u_int8_t proto, struct sockaddr *dst, struct sockaddr *src, int delete, int ingress, u_int8_t srcid_type, u_int8_t *srcid, int srcid_len, u_int8_t dstid_type, u_int8_t *dstid, int dstid_len, struct ipsec_proto *iproto) argument
[all...]
/openbsd-current/gnu/usr.sbin/mkhybrid/src/libhfs_iso/
H A Dhfs.c1846 long srcid, dstid; local
1860 found = v_resolve(&vol, dstpath, &dst, &dstid, dstname, 0);
1870 if (dstid == 0)
1880 dstid = dst.u.dir.dirDirID;
1883 found = v_catsearch(vol, dstid, dstname, 0, 0, 0);
1888 moving = (srcid != dstid);
1915 if (moving && dstid == HFS_CNID_ROOTPAR)
1935 for (id = dstid; id != HFS_CNID_ROOTDIR; id = dst.u.dthd.thdParID)
1956 if (dstid == HFS_CNID_ROOTPAR)
1978 r_makecatkey(&key, dstid, dstnam
[all...]
/openbsd-current/sbin/iked/
H A Dparse.y420 char *dstid;
555 $3, $12.srcid, $12.dstid, $13, &$14, &$15,
834 $$.dstid = NULL;
838 $$.dstid = $4;
842 $$.dstid = NULL;
846 $$.dstid = $2;
1351 { "dstid", DSTID },
2473 uint8_t flags, char *srcid, char *dstid,
2544 if (dstid) {
2545 pol.pol_peerid.id_type = get_id_type(dstid);
[all...]
H A Dikev2.c1011 /* get dstid */
1029 /* get dstid */
1882 srcid ? "srcid" : "dstid",
3480 char dstid[IKED_ID_SIZE]; local
3485 if (ikev2_print_id(IKESA_DSTID(sa), dstid, sizeof(dstid)) == -1)
3486 bzero(dstid, sizeof(dstid));
3488 SPI_SA(sa, __func__), dstid);
7137 "address re-use (identical dstid)");
7629 char dstid[IKED_ID_SIZE], srcid[IKED_ID_SIZE]; local
[all...]
/openbsd-current/sys/net/
H A Dpfkeyv2_convert.c737 struct sadb_ident *srcid, struct sadb_ident *dstid)
744 import_identity(&tmp->id_local, swapped ? dstid: srcid, &id_local_sz);
745 import_identity(&tmp->id_remote, swapped ? srcid: dstid, &id_remote_sz);
736 import_identities(struct ipsec_ids **ids, int swapped, struct sadb_ident *srcid, struct sadb_ident *dstid) argument

Completed in 132 milliseconds