getnetbydns.c (2e4dbbaa930e32c8768110b5888ed88c61c417a3) | getnetbydns.c (7deb8a7ddd4693fef8940268a30a3927bfa104e6) |
---|---|
1/*- 2 * Copyright (c) 1985, 1988, 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 --- 74 unchanged lines hidden (view full) --- 83#include "res_config.h" 84 85extern int h_errno; 86 87#define BYADDR 0 88#define BYNAME 1 89#define MAXALIASES 35 90 | 1/*- 2 * Copyright (c) 1985, 1988, 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 --- 74 unchanged lines hidden (view full) --- 83#include "res_config.h" 84 85extern int h_errno; 86 87#define BYADDR 0 88#define BYNAME 1 89#define MAXALIASES 35 90 |
91#define MAXPACKET 65536 | 91#if PACKETSZ > 1024 92#define MAXPACKET PACKETSZ 93#else 94#define MAXPACKET 1024 95#endif |
92 93typedef union { 94 HEADER hdr; 95 u_char buf[MAXPACKET]; 96} querybuf; 97 98typedef union { 99 long al; --- 224 unchanged lines hidden --- | 96 97typedef union { 98 HEADER hdr; 99 u_char buf[MAXPACKET]; 100} querybuf; 101 102typedef union { 103 long al; --- 224 unchanged lines hidden --- |