Subversion Repositories HelenOS

Compare Revisions

Ignore whitespace Rev 4693 → Rev 4695

/branches/network/uspace/srv/net/include/arp_interface.h
86,6 → 86,16
*/
int arp_clear_device_req( int arp_phone, device_id_t device_id );
 
/** Clears the given protocol address from the cache.
* @param arp_phone The ARP module phone used for (semi)remote calls. Input parameter.
* @param device_id The device identifier. Input parameter.
* @param protocol The requesting protocol service. Input parameter.
* @param address The protocol address to be cleared. Input parameter.
* @returns EOK on success.
* @returns ENOENT if the mapping is not found.
*/
int arp_clear_address_req( int arp_phone, device_id_t device_id, services_t protocol, measured_string_ref address );
 
/** Cleans the cache.
* @param arp_phone The ARP module phone used for (semi)remote calls. Input parameter.
* @returns EOK on success.
/branches/network/uspace/srv/net/include/il_interface.h
73,6 → 73,16
return generic_received_msg( il_phone, NET_IL_RECEIVED, device_id, packet_get_id( packet ), target );
}
 
/** Notifies the internetwork layer modules about the mtu change.
* @param il_phone The internetwork layer module phone used for (semi)remote calls. Input parameter.
* @param device_id The device identifier. Input parameter.
* @param mtu The new mtu value. Input parameter.
* @returns EOK on success.
*/
inline static int il_mtu_changed_msg( int il_phone, device_id_t device_id, int mtu, services_t target ){
return generic_device_state_msg( il_phone, NET_IL_MTU_CHANGED, device_id, mtu, target );
}
 
#endif
 
/** @}