2 * $Id: libnet_test.h,v 1.1.1.1 2000/05/25 00:28:49 route Exp $
6 * Copyright (c) 1998 - 2001 Mike D. Schiffman <mike@infonexus.com>
9 #ifndef __LIBNET_TEST_H
10 #define __LIBNET_TEST_H
12 #include "../include/libnet.h"
14 u_char enet_src[6] = {0x0d, 0x0e, 0x0a, 0x0d, 0x00, 0x00};
15 u_char enet_dst[6] = {0xff, 0xff, 0xff, 0xff, 0xff, 0xff};
16 u_char ip_src[4] = {0x0a, 0x00, 0x00, 0x01};
17 u_char ip_dst[4] = {0x0a, 0x00, 0x00, 0x02};
19 int send_arp(struct libnet_link_int *, u_char *);
20 int libnet_do_arp(struct libnet_link_int *, u_char *, struct ether_addr *, u_long);
21 int send_tcp(struct libnet_link_int *, u_char *, u_long, u_short, u_long, u_short);
22 int send_icmp(struct libnet_link_int *, u_char *, u_long, u_long);
25 #ifndef IPOPT_SECURITY
26 #define IPOPT_SECURITY 130
29 #endif /* __LIBNET_TEST_H */