Deleted Added
full compact
arp.c (24583) arp.c (26119)
1/*
2 * arp.c (C) 1995 Darren Reed
3 *
4 * The author provides this program as-is, with no gaurantee for its
5 * suitability for any specific purpose. The author takes no responsibility
6 * for the misuse/abuse of this program and provides it for the sole purpose
7 * of testing packet filter policies. This file maybe distributed freely
8 * providing it is not modified and that this notice remains in tact.

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

20#include <netinet/in.h>
21#include <net/if.h>
22#include <net/if_arp.h>
23#include <netinet/in.h>
24#include <netinet/ip_var.h>
25#include <netinet/tcp.h>
26#include "ipsend.h"
27
1/*
2 * arp.c (C) 1995 Darren Reed
3 *
4 * The author provides this program as-is, with no gaurantee for its
5 * suitability for any specific purpose. The author takes no responsibility
6 * for the misuse/abuse of this program and provides it for the sole purpose
7 * of testing packet filter policies. This file maybe distributed freely
8 * providing it is not modified and that this notice remains in tact.

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

20#include <netinet/in.h>
21#include <net/if.h>
22#include <net/if_arp.h>
23#include <netinet/in.h>
24#include <netinet/ip_var.h>
25#include <netinet/tcp.h>
26#include "ipsend.h"
27
28#if defined(__SVR4) || defined(__svr4__)
29#define bcopy(a,b,c) memmove(b,a,c)
30#define bzero(a,c) memset(a,0,c)
31#define bcmp(a,b,c) memcmp(a,b,c)
32#endif
33
34/*
35 * lookup host and return
36 * its IP address in address
37 * (4 bytes)
38 */
39int resolve(host, address)
40char *host, *address;

--- 82 unchanged lines hidden ---
28
29/*
30 * lookup host and return
31 * its IP address in address
32 * (4 bytes)
33 */
34int resolve(host, address)
35char *host, *address;

--- 82 unchanged lines hidden ---