source: trunk/minix/servers/inet/generic/arp.h@ 20

Last change on this file since 20 was 9, checked in by Mattia Monga, 14 years ago

Minix 3.1.2a

File size: 720 bytes
Line 
1/*
2arp.h
3
4Copyright 1995 Philip Homburg
5*/
6
7#ifndef ARP_H
8#define ARP_H
9
10#define ARP_ETHERNET 1
11
12#define ARP_REQUEST 1
13#define ARP_REPLY 2
14
15/* Prototypes */
16typedef void (*arp_func_t) ARGS(( int fd, ipaddr_t ipaddr,
17 ether_addr_t *ethaddr ));
18
19void arp_prep ARGS(( void ));
20void arp_init ARGS(( void ));
21void arp_set_ipaddr ARGS(( int eth_port, ipaddr_t ipaddr ));
22int arp_set_cb ARGS(( int eth_port, int ip_port, arp_func_t arp_func ));
23int arp_ip_eth ARGS(( int eth_port, ipaddr_t ipaddr, ether_addr_t *ethaddr ));
24
25int arp_ioctl ARGS(( int eth_port, int fd, ioreq_t req,
26 get_userdata_t get_userdata, put_userdata_t put_userdata ));
27
28#endif /* ARP_H */
29
30/*
31 * $PchId: arp.h,v 1.7 2001/04/19 18:58:17 philip Exp $
32 */
Note: See TracBrowser for help on using the repository browser.