Added uip-over-mesh, bugfixes, printing of statistics, renamed init() function to netsim_init()

This commit is contained in:
adamdunkels 2007-03-22 18:59:34 +00:00
parent eea7f463d7
commit 1b762247fa
12 changed files with 128 additions and 148 deletions

View file

@ -30,7 +30,7 @@
*
* Author: Adam Dunkels <adam@sics.se>
*
* $Id: ether.h,v 1.4 2007/03/13 13:07:48 adamdunkels Exp $
* $Id: ether.h,v 1.5 2007/03/22 18:59:34 adamdunkels Exp $
*/
#ifndef __ETHER_H__
#define __ETHER_H__
@ -59,7 +59,7 @@ void ether_client_init(int port);
void ether_tick(void);
u16_t ether_client_poll(u8_t *buf, int len);
u16_t ether_client_read(u8_t *buf, int len);
void ether_server_poll(void);
void ether_put(char *packet, int len, int src_x, int src_y);
@ -75,8 +75,9 @@ clock_time_t ether_time(void);
/*#define ETHER_STRENGTH 24*/
int ether_strength(void);
void ether_set_strength(int s);
void ether_set_collisions(int c);
void ether_set_drop_probability(double p);
int ether_print_stats(void);
#endif /* __ETHER_H__ */