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

0026001 /*
0026002 eth.h
0026003 
0026004 Copyright 1995 Philip Homburg
0026005 */
0026006 
0026007 #ifndef ETH_H
0026008 #define ETH_H
0026009 
0026010 #define NWEO_DEFAULT (NWEO_EN_LOC | NWEO_DI_BROAD | NWEO_DI_MULTI | \
0026011          NWEO_DI_PROMISC | NWEO_REMANY | NWEO_RWDATALL)
0026012 
0026013 #define eth_addrcmp(a,b) (memcmp((_VOIDSTAR)&a, (_VOIDSTAR)&b, \
0026014          sizeof(a)))
0026015 
0026016 /* Forward declatations */
0026017 
0026018 struct acc;
0026019 
0026020 /* prototypes */
0026021 
0026022 void eth_prep ARGS(( void ));
0026023 void eth_init ARGS(( void ));
0026024 int eth_open ARGS(( int port, int srfd,
0026025          get_userdata_t get_userdata, put_userdata_t put_userdata,
0026026          put_pkt_t put_pkt ));
0026027 int eth_ioctl ARGS(( int fd, ioreq_t req));
0026028 int eth_read ARGS(( int port, size_t count ));
0026029 int eth_write ARGS(( int port, size_t count ));
0026030 int eth_cancel ARGS(( int fd, int which_operation ));
0026031 void eth_close ARGS(( int fd ));
0026032 int eth_send ARGS(( int port, struct acc *data, size_t data_len ));
0026033 
0026034 #endif /* ETH_H */
0026035 
0026036 /*
0026037  * $PchId: eth.h,v 1.6 1996/05/07 20:49:07 philip Exp $
0026038  */