/branches/network/uspace/srv/net/nil/eth/eth.c |
---|
77,7 → 77,7 |
/** Maximum packet content length. |
*/ |
#define ETH_MAX_CONTENT 1500 |
#define ETH_MAX_CONTENT 1500u |
/** Minimum packet content length. |
*/ |
273,7 → 273,6 |
int index; |
eth_proto_ref proto; |
//TODO clear device if off? |
fibril_rwlock_read_lock( & eth_globals.protos_lock ); |
for( index = eth_protos_count( & eth_globals.protos ) - 1; index >= 0; -- index ){ |
proto = eth_protos_get_index( & eth_globals.protos, index ); |