Please wait until the page is fully downloaded and then press the "Expand" button or the blue line numbers.

0021001 /*
0021002 arp.h
0021003 
0021004 Copyright 1995 Philip Homburg
0021005 */
0021006 
0021007 #ifndef ARP_H
0021008 #define ARP_H
0021009 
0021010 #define ARP_ETHERNET       1
0021011 
0021012 #define ARP_REQUEST       1
0021013 #define ARP_REPLY       2
0021014 
0021015 /* Prototypes */
0021016 typedef void (*arp_func_t) ARGS(( int fd, ipaddr_t ipaddr,
0021017          ether_addr_t *ethaddr ));
0021018 
0021019 void arp_prep ARGS(( void ));
0021020 void arp_init ARGS(( void ));
0021021 void arp_set_ipaddr ARGS(( int eth_port, ipaddr_t ipaddr ));
0021022 int arp_set_cb ARGS(( int eth_port, int ip_port, arp_func_t arp_func ));
0021023 int arp_ip_eth ARGS(( int eth_port, ipaddr_t ipaddr, ether_addr_t *ethaddr ));
0021024 
0021025 #endif /* ARP_H */
0021026 
0021027 /*
0021028  * $PchId: arp.h,v 1.5 1995/11/21 06:45:27 philip Exp $
0021029  */