~ubuntu-branches/ubuntu/jaunty/arp-scan/jaunty

« back to all changes in this revision

Viewing changes to arp-scan.h

  • Committer: Bazaar Package Importer
  • Author(s): Tim Brown
  • Date: 2007-05-22 21:57:35 UTC
  • mfrom: (1.1.1 upstream)
  • Revision ID: james.westby@ubuntu.com-20070522215735-42zr032pmyfi4m4m
Tags: 1.6-2
* Checksums weren't matching
* Upload sponsored by Philipp Hug <debian@hug.cx>

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
1
/*
2
 
 * The ARP Scan Engine (arp-scan-engine) is Copyright (C) 2005 Roy Hills,
3
 
 * NTA Monitor Ltd.
 
2
 * ARP Scan is Copyright (C) 2005-2007 Roy Hills, NTA Monitor Ltd.
4
3
 *
5
4
 * This program is free software; you can redistribute it and/or
6
5
 * modify it under the terms of the GNU General Public License
16
15
 * along with this program; if not, write to the Free Software
17
16
 * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA  02111-1307, USA.
18
17
 *
19
 
 * $Id: arp-scan.h 8257 2006-07-21 18:52:02Z rsh $
 
18
 * $Id: arp-scan.h 10534 2007-04-10 10:17:13Z rsh $
20
19
 *
21
20
 * arp-scan.h -- Header file for ARP scanner
22
21
 *
114
113
#include <sys/ioctl.h>
115
114
#endif
116
115
 
 
116
#ifdef ARP_PCAP_DLPI
 
117
#ifdef HAVE_SYS_BUFMOD_H
 
118
#include <sys/bufmod.h>
 
119
#endif
 
120
#endif
 
121
 
117
122
#include "hash.h"               /* Hash table functions */
118
123
 
119
124
/* Defines */
187
192
 
188
193
/* Functions */
189
194
 
 
195
#ifndef HAVE_STRLCAT
 
196
size_t strlcat(char *dst, const char *src, size_t siz);
 
197
#endif
 
198
#ifndef HAVE_STRLCPY
 
199
size_t strlcpy(char *dst, const char *src, size_t siz);
 
200
#endif
 
201
 
190
202
void err_sys(const char *, ...);
191
203
void warn_sys(const char *, ...);
192
204
void err_msg(const char *, ...);
210
222
void clean_up(void);
211
223
void arp_scan_version(void);
212
224
char *make_message(const char *, ...);
213
 
char *printable(const unsigned char*, size_t);
214
225
void callback(u_char *, const struct pcap_pkthdr *, const u_char *);
215
226
void process_options(int, char *[]);
216
227
struct in_addr *get_host_address(const char *, int, struct in_addr *, char **);
233
244
void *Malloc(size_t);
234
245
void *Realloc(void *, size_t);
235
246
unsigned long int Strtoul(const char *, int);
 
247
/* MT19937 prototypes */
 
248
void init_genrand(unsigned long);
 
249
void init_by_array(unsigned long[], int);
 
250
unsigned long genrand_int32(void);
 
251
long genrand_int31(void);
 
252
double genrand_real1(void);
 
253
double genrand_real2(void);
 
254
double genrand_real3(void);
 
255
double genrand_res53(void);
236
256
/* The following functions are just to prevent rcsid being optimised away */
237
257
void wrappers_use_rcsid(void);
238
258
void error_use_rcsid(void);