-/* $OpenBSD: pfkdump.c,v 1.38 2015/04/14 12:22:15 mikeb Exp $ */
+/* $OpenBSD: pfkdump.c,v 1.39 2015/04/17 10:04:37 mikeb Exp $ */
/*
* Copyright (c) 2003 Markus Friedl. All rights reserved.
{ SADB_IDENTTYPE_PREFIX, "prefix", NULL },
{ SADB_IDENTTYPE_FQDN, "fqdn", NULL },
{ SADB_IDENTTYPE_USERFQDN, "ufqdn", NULL },
- { SADB_X_IDENTTYPE_CONNECTION, "x_connection", NULL },
{ 0, NULL, NULL }
};
-/* $OpenBSD: pf_key_v2.c,v 1.193 2015/04/14 12:22:15 mikeb Exp $ */
+/* $OpenBSD: pf_key_v2.c,v 1.194 2015/04/17 10:04:37 mikeb Exp $ */
/* $EOM: pf_key_v2.c,v 1.79 2000/12/12 00:33:19 niklas Exp $ */
/*
(int) *reslen, res));
return res;
- case IPSEC_ID_IPV4_ADDR: /* XXX CONNECTION ? */
+ case IPSEC_ID_IPV4_ADDR:
if (inet_ntop(AF_INET, id + ISAKMP_ID_DATA_OFF - ISAKMP_GEN_SZ,
addrbuf, ADDRESS_MAX) == NULL)
return 0;
"IPv4 address %s", res));
return res;
- case IPSEC_ID_IPV6_ADDR: /* XXX CONNECTION ? */
+ case IPSEC_ID_IPV6_ADDR:
if (inet_ntop(AF_INET6,
id + ISAKMP_ID_DATA_OFF - ISAKMP_GEN_SZ,
addrbuf, ADDRESS_MAX) == NULL)
}
/* Check for valid type. */
switch (srcident->sadb_ident_type) {
- case SADB_X_IDENTTYPE_CONNECTION:
- /* XXX */
- break;
-
case SADB_IDENTTYPE_PREFIX:
/* Determine what the address family is. */
srcid = memchr(srcident + 1, ':', slen);
/* Check for valid type. */
switch (dstident->sadb_ident_type) {
- case SADB_X_IDENTTYPE_CONNECTION:
- /* XXX */
- break;
-
case SADB_IDENTTYPE_PREFIX:
/* Determine what the address family is. */
dstid = memchr(dstident + 1, ':', slen);
-/* $OpenBSD: pfkeyv2.h,v 1.67 2015/04/16 19:18:10 markus Exp $ */
+/* $OpenBSD: pfkeyv2.h,v 1.68 2015/04/17 10:04:37 mikeb Exp $ */
/*
* @(#)COPYRIGHT 1.1 (NRL) January 1998
*
#define SADB_IDENTTYPE_PREFIX 1
#define SADB_IDENTTYPE_FQDN 2
#define SADB_IDENTTYPE_USERFQDN 3
-#define SADB_X_IDENTTYPE_CONNECTION 4
-#define SADB_IDENTTYPE_MAX 4
+#define SADB_IDENTTYPE_MAX 3
#define SADB_KEY_FLAGS_MAX 0
-/* $OpenBSD: pfkeyv2_convert.c,v 1.49 2015/04/16 19:18:10 markus Exp $ */
+/* $OpenBSD: pfkeyv2_convert.c,v 1.50 2015/04/17 10:04:37 mikeb Exp $ */
/*
* The author of this code is Angelos D. Keromytis (angelos@keromytis.org)
*
case SADB_IDENTTYPE_USERFQDN:
(*ipr)->ref_type = IPSP_IDENTITY_USERFQDN;
break;
- case SADB_X_IDENTTYPE_CONNECTION:
- (*ipr)->ref_type = IPSP_IDENTITY_CONNECTION;
- break;
default:
free(*ipr, M_CREDENTIALS, 0);
*ipr = NULL;
case IPSP_IDENTITY_USERFQDN:
sadb_ident->sadb_ident_type = SADB_IDENTTYPE_USERFQDN;
break;
- case IPSP_IDENTITY_CONNECTION:
- sadb_ident->sadb_ident_type = SADB_X_IDENTTYPE_CONNECTION;
- break;
}
*p += sizeof(struct sadb_ident);
bcopy((*ipr) + 1, *p, (*ipr)->ref_len);
-/* $OpenBSD: ip_ipsp.h,v 1.167 2015/04/16 19:44:01 markus Exp $ */
+/* $OpenBSD: ip_ipsp.h,v 1.168 2015/04/17 10:04:37 mikeb Exp $ */
/*
* The authors of this code are John Ioannidis (ji@tla.org),
* Angelos D. Keromytis (kermit@csd.uch.gr),
#define IPSP_IDENTITY_PREFIX 1
#define IPSP_IDENTITY_FQDN 2
#define IPSP_IDENTITY_USERFQDN 3
-#define IPSP_IDENTITY_CONNECTION 4
struct tdb { /* tunnel descriptor block */
/*