/branches/network/uspace/srv/net/structures/packet/packet.c |
---|
250,5 → 250,15 |
} |
} |
packet_t pq_next( packet_t packet ){ |
if( ! packet_is_valid( packet )) return NULL; |
return pm_find( packet->next ); |
} |
packet_t pq_previous( packet_t packet ){ |
if( ! packet_is_valid( packet )) return NULL; |
return pm_find( packet->previous ); |
} |
/** @} |
*/ |