From 787140df3992ccc3ebdc09f6d2dcb584f580f49f Mon Sep 17 00:00:00 2001 From: Mike Frysinger Date: Thu, 23 Mar 2006 23:44:29 +0000 Subject: remove in place of external link --- networking/udhcp/arpping.h | 35 ----------------------------------- 1 file changed, 35 deletions(-) delete mode 100644 networking/udhcp/arpping.h (limited to 'networking/udhcp/arpping.h') diff --git a/networking/udhcp/arpping.h b/networking/udhcp/arpping.h deleted file mode 100644 index 30959ca99..000000000 --- a/networking/udhcp/arpping.h +++ /dev/null @@ -1,35 +0,0 @@ -/* - * arpping .h - */ - -#ifndef ARPPING_H -#define ARPPING_H - -#include -#include -#include -#include - -struct arpMsg { - /* Ethernet header */ - u_char h_dest[6]; /* destination ether addr */ - u_char h_source[6]; /* source ether addr */ - u_short h_proto; /* packet type ID field */ - - /* ARP packet */ - uint16_t htype; /* hardware type (must be ARPHRD_ETHER) */ - uint16_t ptype; /* protocol type (must be ETH_P_IP) */ - uint8_t hlen; /* hardware address length (must be 6) */ - uint8_t plen; /* protocol address length (must be 4) */ - uint16_t operation; /* ARP opcode */ - uint8_t sHaddr[6]; /* sender's hardware address */ - uint8_t sInaddr[4]; /* sender's IP address */ - uint8_t tHaddr[6]; /* target's hardware address */ - uint8_t tInaddr[4]; /* target's IP address */ - uint8_t pad[18]; /* pad for min. Ethernet payload (60 bytes) */ -} ATTRIBUTE_PACKED; - -/* function prototypes */ -int arpping(uint32_t yiaddr, uint32_t ip, uint8_t *arp, char *interface); - -#endif -- cgit v1.2.3