Deleted Added
full compact
nameser.h (13771) nameser.h (17902)
1/*
2 * Copyright (c) 1983, 1989, 1993
3 * The Regents of the University of California. All rights reserved.
4 *
5 * Redistribution and use in source and binary forms, with or without
6 * modification, are permitted provided that the following conditions
7 * are met:
8 * 1. Redistributions of source code must retain the above copyright

--- 39 unchanged lines hidden (view full) ---

48 * PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS
49 * ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS
50 * SOFTWARE.
51 * -
52 * --Copyright--
53 *
54 * @(#)nameser.h 8.2 (Berkeley) 2/16/94
55 * From Id: nameser.h,v 4.9.1.15 1994/07/19 22:51:24 vixie Exp
1/*
2 * Copyright (c) 1983, 1989, 1993
3 * The Regents of the University of California. All rights reserved.
4 *
5 * Redistribution and use in source and binary forms, with or without
6 * modification, are permitted provided that the following conditions
7 * are met:
8 * 1. Redistributions of source code must retain the above copyright

--- 39 unchanged lines hidden (view full) ---

48 * PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS
49 * ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS
50 * SOFTWARE.
51 * -
52 * --Copyright--
53 *
54 * @(#)nameser.h 8.2 (Berkeley) 2/16/94
55 * From Id: nameser.h,v 4.9.1.15 1994/07/19 22:51:24 vixie Exp
56 * $Id: nameser.h,v 1.6 1996/01/07 05:01:52 peter Exp $
56 * $Id: nameser.h,v 1.7 1996/01/30 23:31:16 mpp Exp $
57 */
58
59#ifndef _ARPA_NAMESER_H_
60#define _ARPA_NAMESER_H_
61
62#include <sys/param.h>
63#include <sys/types.h>
64#include <sys/cdefs.h>

--- 17 unchanged lines hidden (view full) ---

82#define MAXDNAME 256 /* maximum domain name */
83#define MAXCDNAME 255 /* maximum compressed domain name */
84#define MAXLABEL 63 /* maximum length of domain label */
85#define HFIXEDSZ 12 /* #/bytes of fixed data in header */
86#define QFIXEDSZ 4 /* #/bytes of fixed data in query */
87#define RRFIXEDSZ 10 /* #/bytes of fixed data in r record */
88#define INT32SZ 4 /* for systems without 32-bit ints */
89#define INT16SZ 2 /* for systems without 16-bit ints */
57 */
58
59#ifndef _ARPA_NAMESER_H_
60#define _ARPA_NAMESER_H_
61
62#include <sys/param.h>
63#include <sys/types.h>
64#include <sys/cdefs.h>

--- 17 unchanged lines hidden (view full) ---

82#define MAXDNAME 256 /* maximum domain name */
83#define MAXCDNAME 255 /* maximum compressed domain name */
84#define MAXLABEL 63 /* maximum length of domain label */
85#define HFIXEDSZ 12 /* #/bytes of fixed data in header */
86#define QFIXEDSZ 4 /* #/bytes of fixed data in query */
87#define RRFIXEDSZ 10 /* #/bytes of fixed data in r record */
88#define INT32SZ 4 /* for systems without 32-bit ints */
89#define INT16SZ 2 /* for systems without 16-bit ints */
90#define INADDRSZ 4 /* for sizeof(struct inaddr) != 4 */
90#define INADDRSZ 4 /* IPv4 T_A */
91#define IN6ADDRSZ 16 /* IPv6 T_AAAA */
91
92
93
92/*
93 * Internet nameserver port number
94 */
95#define NAMESERVER_PORT 53
96
97/*
98 * Currently defined opcodes
99 */

--- 195 unchanged lines hidden ---
94/*
95 * Internet nameserver port number
96 */
97#define NAMESERVER_PORT 53
98
99/*
100 * Currently defined opcodes
101 */

--- 195 unchanged lines hidden ---