Subversion Repositories HelenOS

Compare Revisions

Ignore whitespace Rev 4730 → Rev 4731

/branches/network/uspace/srv/net/netif/netif_module.h
66,6 → 66,7
* @param packet The packet queue. Input parameter.
* @param sender The sending module service. Input parameter.
* @returns EOK on success.
* @returns EFORWARD if the device is not active (in the NETIF_ACTIVE state).
* @returns Other error codes as defined for the find_device() function.
* @returns Other error codes as defined for the specific module message implementation.
*/
/branches/network/uspace/srv/net/netif/dp8390/dp8390_module.c
221,6 → 221,10
packet_t next;
 
ERROR_PROPAGATE( find_device( device_id, & device ));
if( device->state != NETIF_ACTIVE ){
netif_pq_release( packet_get_id( packet ));
return EFORWARD;
}
dep = ( dpeth_t * ) device->specific;
// process packet queue
do{
/branches/network/uspace/srv/net/netif/lo/lo.c
185,7 → 185,10
int phone;
 
ERROR_PROPAGATE( find_device( device_id, & device ));
if( device->state != NETIF_ACTIVE ) return EPERM;
if( device->state != NETIF_ACTIVE ){
netif_pq_release( packet_get_id( packet ));
return EFORWARD;
}
next = packet;
do{
++ (( device_stats_ref ) device->specific )->send_packets;