mx_15.c revision ad1317338af79edad878c9c3e4361798503310ba
/*
* Copyright (C) 1998-2001, 2003-2005, 2007, 2009, 2012, 2015, 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: mx_15.c,v 1.58 2009/12/04 22:06:37 tbox Exp $ */
/* reviewed: Wed Mar 15 18:05:46 PST 2000 by brister */
#ifndef RDATA_GENERIC_MX_15_C
#define RDATA_GENERIC_MX_15_C
#include <string.h>
#include <dns/fixedname.h>
#define RRTYPE_MX_ATTRIBUTES (0)
static isc_boolean_t
char tmp[sizeof("xxxx:xxxx:xxxx:xxxx:xxxx:xxxx:123.123.123.123.")];
return (ISC_TRUE);
return (ISC_FALSE);
return (ISC_TRUE);
}
static inline isc_result_t
ISC_FALSE));
ISC_FALSE));
if ((options & DNS_RDATA_CHECKMX) != 0)
if ((options & DNS_RDATA_CHECKNAMES) != 0)
return (ISC_R_SUCCESS);
}
static inline isc_result_t
char buf[sizeof("64000")];
unsigned short num;
}
static inline isc_result_t
return (ISC_R_UNEXPECTEDEND);
}
static inline isc_result_t
}
static inline int
int order;
if (order != 0)
}
static inline isc_result_t
}
static inline isc_result_t
return (ISC_R_SUCCESS);
}
static inline void
return;
}
static unsigned char port25_offset[] = { 0, 3 };
static unsigned char port25_ndata[] = "\003_25\004_tcp";
static dns_name_t port25 =
static inline isc_result_t
return (ISC_R_SUCCESS);
if (result != ISC_R_SUCCESS)
return (result);
if (result != ISC_R_SUCCESS)
return (ISC_R_SUCCESS);
}
static inline isc_result_t
}
static inline isc_boolean_t
}
static inline isc_boolean_t
return (ISC_FALSE);
}
return (ISC_TRUE);
}
static inline int
}
#endif /* RDATA_GENERIC_MX_15_C */