ipseckey_45.c revision 0c27b3fe77ac1d5094ba3521e8142d9e7973133f
/*
* Copyright (C) 2005, 2007, 2009, 2011, 2012, 2014-2016 Internet Systems Consortium, Inc. ("ISC")
*
* This Source Code Form is subject to the terms of the Mozilla Public
* License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at http://mozilla.org/MPL/2.0/.
*/
/* $Id$ */
#ifndef RDATA_GENERIC_IPSECKEY_45_C
#define RDATA_GENERIC_IPSECKEY_45_C
#include <string.h>
#define RRTYPE_IPSECKEY_ATTRIBUTES (0)
static inline isc_result_t
unsigned int gateway;
unsigned char addr6[16];
/*
* Precedence.
*/
ISC_FALSE));
/*
* Gateway type.
*/
ISC_FALSE));
/*
* Algorithm.
*/
ISC_FALSE));
/*
* Gateway.
*/
ISC_FALSE));
switch (gateway) {
case 0:
break;
case 1:
return (ISC_R_NOSPACE);
break;
case 2:
return (ISC_R_NOSPACE);
break;
case 3:
break;
}
/*
* Public key.
*/
}
static inline isc_result_t
char buf[sizeof("255 ")];
unsigned short num;
unsigned short gateway;
return (ISC_R_NOTIMPLEMENTED);
/*
* Precedence.
*/
/*
* Gateway type.
*/
/*
* Algorithm.
*/
/*
* Gateway.
*/
switch (gateway) {
case 0:
break;
case 1:
break;
case 2:
break;
case 3:
break;
}
/*
* Key.
*/
else
}
return (ISC_R_SUCCESS);
}
static inline isc_result_t
return (ISC_R_UNEXPECTEDEND);
case 0:
case 1:
return (ISC_R_UNEXPECTEDEND);
case 2:
return (ISC_R_UNEXPECTEDEND);
case 3:
default:
return (ISC_R_NOTIMPLEMENTED);
}
}
static inline isc_result_t
}
static inline int
}
static inline isc_result_t
isc_uint32_t n;
return (ISC_R_NOTIMPLEMENTED);
switch (ipseckey->gateway_type) {
case 0:
break;
case 1:
break;
case 2:
break;
case 3:
break;
}
}
static inline isc_result_t
isc_uint32_t n;
return (ISC_R_NOTIMPLEMENTED);
switch (ipseckey->gateway_type) {
case 0:
break;
case 1:
n = uint32_fromregion(®ion);
break;
case 2:
break;
case 3:
break;
}
return (ISC_R_NOMEMORY);
}
} else
return (ISC_R_SUCCESS);
}
static inline void
return;
}
static inline isc_result_t
return (ISC_R_SUCCESS);
}
static inline isc_result_t
}
static inline isc_boolean_t
return (ISC_TRUE);
}
static inline isc_boolean_t
return (ISC_TRUE);
}
static inline int
int order;
if (order != 0)
return (order);
}
#endif /* RDATA_GENERIC_IPSECKEY_45_C */