tsig_250.h revision fd6de7af3225d018c4fa0599b706f51691c6a6db
5fc7ba3e1ac5d72239e9971e0f469dd5796738f9Andreas Gustafsson/*
69fe9aaafdd6a141610e86a777d325db75422070Mark Andrews * Copyright (C) 1999, 2000 Internet Software Consortium.
dafcb997e390efa4423883dafd100c975c4095d6Mark Andrews *
40f53fa8d9c6a4fc38c0014495e7a42b08f52481David Lawrence * Permission to use, copy, modify, and distribute this software for any
5fc7ba3e1ac5d72239e9971e0f469dd5796738f9Andreas Gustafsson * purpose with or without fee is hereby granted, provided that the above
5fc7ba3e1ac5d72239e9971e0f469dd5796738f9Andreas Gustafsson * copyright notice and this permission notice appear in all copies.
5fc7ba3e1ac5d72239e9971e0f469dd5796738f9Andreas Gustafsson *
40f53fa8d9c6a4fc38c0014495e7a42b08f52481David Lawrence * THE SOFTWARE IS PROVIDED "AS IS" AND INTERNET SOFTWARE CONSORTIUM DISCLAIMS
dafcb997e390efa4423883dafd100c975c4095d6Mark Andrews * ALL WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES
dafcb997e390efa4423883dafd100c975c4095d6Mark Andrews * OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL INTERNET SOFTWARE
dafcb997e390efa4423883dafd100c975c4095d6Mark Andrews * CONSORTIUM BE LIABLE FOR ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL
dafcb997e390efa4423883dafd100c975c4095d6Mark Andrews * DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR
dafcb997e390efa4423883dafd100c975c4095d6Mark Andrews * PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS
dafcb997e390efa4423883dafd100c975c4095d6Mark Andrews * ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS
dafcb997e390efa4423883dafd100c975c4095d6Mark Andrews * SOFTWARE.
5fc7ba3e1ac5d72239e9971e0f469dd5796738f9Andreas Gustafsson */
5fc7ba3e1ac5d72239e9971e0f469dd5796738f9Andreas Gustafsson
a903095bf4512dae561c7f6fc7854a51bebf334aMark Andrews/* $Id: tsig_250.h,v 1.17 2000/06/01 16:47:26 gson Exp $ */
ab023a65562e62b85a824509d829b6fad87e00b1Rob Austein
ab023a65562e62b85a824509d829b6fad87e00b1Rob Austein/* RFC 2845 */
9c3531d72aeaad6c5f01efe6a1c82023e1379e4dDavid Lawrence
5fc7ba3e1ac5d72239e9971e0f469dd5796738f9Andreas Gustafsson#ifndef ANY_255_TSIG_250_H
5fc7ba3e1ac5d72239e9971e0f469dd5796738f9Andreas Gustafsson#define ANY_255_TSIG_250_H 1
593cb00bd17e5e2ab0dcb7c635a9a81082dc5d0eAndreas Gustafsson
593cb00bd17e5e2ab0dcb7c635a9a81082dc5d0eAndreas Gustafssontypedef struct dns_rdata_any_tsig {
9aba20edee4e704433a464ae43b070b0775de506Mark Andrews dns_rdatacommon_t common;
3e14b69d196a3ebeecc4662c426344dcfd7db678Andreas Gustafsson isc_mem_t * mctx;
9aba20edee4e704433a464ae43b070b0775de506Mark Andrews dns_name_t algorithm;
1a69a1a78cfaa86f3b68bbc965232b7876d4da2aDavid Lawrence isc_uint64_t timesigned;
16a68807e13caea3183a41a5292f1b3f48b81a26Mark Andrews isc_uint16_t fudge;
d8e34837cd6c88c42b3ecdb9107a43ecf8252e79David Lawrence isc_uint16_t siglen;
1a69a1a78cfaa86f3b68bbc965232b7876d4da2aDavid Lawrence unsigned char * signature;
9aba20edee4e704433a464ae43b070b0775de506Mark Andrews isc_uint16_t originalid;
364a82f7c25b62967678027043425201a5e5171aBob Halley isc_uint16_t error;
5fc7ba3e1ac5d72239e9971e0f469dd5796738f9Andreas Gustafsson isc_uint16_t otherlen;
1a69a1a78cfaa86f3b68bbc965232b7876d4da2aDavid Lawrence unsigned char * other;
1a69a1a78cfaa86f3b68bbc965232b7876d4da2aDavid Lawrence} dns_rdata_any_tsig_t;
9aba20edee4e704433a464ae43b070b0775de506Mark Andrews
5fc7ba3e1ac5d72239e9971e0f469dd5796738f9Andreas Gustafsson#endif /* ANY_255_TSIG_250_H */
3e14b69d196a3ebeecc4662c426344dcfd7db678Andreas Gustafsson