File: enum.h

package info (click to toggle)
irpas 0.10-4.1
  • links: PTS
  • area: non-free
  • in suites: jessie, jessie-kfreebsd, lenny, squeeze, wheezy
  • size: 412 kB
  • ctags: 973
  • sloc: ansic: 7,385; makefile: 145
file content (22 lines) | stat: -rw-r--r-- 422 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
/* ICMP enumeration for libpackets 
 * 
 * $Id: enum.h,v 1.3 2001/07/03 20:00:10 fx Exp $
 * */
#ifndef _ENUM_H_
#define _ENUM_H_

#include <netinet/in.h>

typedef struct {
    struct in_addr	addr;
    void		*next;
} enum_target_t;

extern enum_target_t	*enum_anchor;

int	enumerate(char *dest,int ping,int verbose);
int	enum_known(struct in_addr *addr);
int	enum_print(void);
void	enum_free(void);

#endif /* _ENUM_H_ */