Deleted Added
full compact
print-domain.c (36899) print-domain.c (39300)
1/*
1/*
2 * Copyright (c) 1988, 1989, 1990, 1991, 1992, 1993, 1994, 1995, 1996
2 * Copyright (c) 1988, 1989, 1990, 1991, 1992, 1993, 1994, 1995, 1996, 1997
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: (1) source code distributions
7 * retain the above copyright notice and this paragraph in its entirety, (2)
8 * distributions including binary code include the above copyright notice and
9 * this paragraph in its entirety in the documentation or other materials
10 * provided with the distribution, and (3) all advertising materials mentioning

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

16 * written permission.
17 * THIS SOFTWARE IS PROVIDED ``AS IS'' AND WITHOUT ANY EXPRESS OR IMPLIED
18 * WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED WARRANTIES OF
19 * MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE.
20 */
21
22#ifndef lint
23static const char rcsid[] =
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: (1) source code distributions
7 * retain the above copyright notice and this paragraph in its entirety, (2)
8 * distributions including binary code include the above copyright notice and
9 * this paragraph in its entirety in the documentation or other materials
10 * provided with the distribution, and (3) all advertising materials mentioning

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

16 * written permission.
17 * THIS SOFTWARE IS PROVIDED ``AS IS'' AND WITHOUT ANY EXPRESS OR IMPLIED
18 * WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED WARRANTIES OF
19 * MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE.
20 */
21
22#ifndef lint
23static const char rcsid[] =
24 "@(#) $Header: print-domain.c,v 1.37 96/12/10 23:21:06 leres Exp $ (LBL)";
24 "@(#) $Header: print-domain.c,v 1.39 97/06/13 12:56:28 leres Exp $ (LBL)";
25#endif
26
27#include <sys/param.h>
28#include <sys/time.h>
29#include <sys/socket.h>
30
31#if __STDC__
32struct mbuf;

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

39#include <netinet/in_systm.h>
40#include <netinet/ip.h>
41#include <netinet/ip_var.h>
42#include <netinet/udp.h>
43#include <netinet/udp_var.h>
44#include <netinet/tcp.h>
45#include <netinet/tcpip.h>
46
25#endif
26
27#include <sys/param.h>
28#include <sys/time.h>
29#include <sys/socket.h>
30
31#if __STDC__
32struct mbuf;

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

39#include <netinet/in_systm.h>
40#include <netinet/ip.h>
41#include <netinet/ip_var.h>
42#include <netinet/udp.h>
43#include <netinet/udp_var.h>
44#include <netinet/tcp.h>
45#include <netinet/tcpip.h>
46
47#ifdef NOERROR
47#undef NOERROR /* Solaris sucks */
48#undef NOERROR /* Solaris sucks */
49#endif
50#ifdef NOERROR
48#undef T_UNSPEC /* SINIX does too */
51#undef T_UNSPEC /* SINIX does too */
52#endif
49#include <arpa/nameser.h>
50
51#include <stdio.h>
52
53#include "interface.h"
54#include "addrtoname.h"
55#include "extract.h" /* must come after interface.h */
56

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

211 { T_NSAP, "NSAP" },
212 { T_NSAP_PTR, "NSAP_PTR" },
213 { T_SIG, "SIG" },
214 { T_KEY, "KEY" },
215 { T_PX, "PX" },
216 { T_GPOS, "GPOS" },
217 { T_AAAA, "AAAA" },
218 { T_LOC , "LOC " },
53#include <arpa/nameser.h>
54
55#include <stdio.h>
56
57#include "interface.h"
58#include "addrtoname.h"
59#include "extract.h" /* must come after interface.h */
60

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

215 { T_NSAP, "NSAP" },
216 { T_NSAP_PTR, "NSAP_PTR" },
217 { T_SIG, "SIG" },
218 { T_KEY, "KEY" },
219 { T_PX, "PX" },
220 { T_GPOS, "GPOS" },
221 { T_AAAA, "AAAA" },
222 { T_LOC , "LOC " },
223#ifndef T_UINFO
224#define T_UINFO 100
225#endif
226 { T_UINFO, "UINFO" },
227#ifndef T_UID
228#define T_UID 101
229#endif
230 { T_UID, "UID" },
231#ifndef T_GID
232#define T_GID 102
233#endif
234 { T_GID, "GID" },
219 { T_UNSPEC, "UNSPEC" },
220 { T_UNSPECA, "UNSPECA" },
221 { T_AXFR, "AXFR" },
222 { T_MAILB, "MAILB" },
223 { T_MAILA, "MAILA" },
224 { T_ANY, "ANY" },
225 { 0, NULL }
226};

--- 171 unchanged lines hidden ---
235 { T_UNSPEC, "UNSPEC" },
236 { T_UNSPECA, "UNSPECA" },
237 { T_AXFR, "AXFR" },
238 { T_MAILB, "MAILB" },
239 { T_MAILA, "MAILA" },
240 { T_ANY, "ANY" },
241 { 0, NULL }
242};

--- 171 unchanged lines hidden ---