Subversion Repositories HelenOS

Compare Revisions

Ignore whitespace Rev 4722 → Rev 4723

/branches/network/uspace/srv/net/il/il_messages.h
57,11 → 57,11
*/
NET_IL_RECEIVED,
/** Packet send message.
* @see ip_send_msg()
* @see il_send_msg()
*/
NET_IL_SEND,
/** Packet size message.
* @see ip_packet_size_req()
* @see il_packet_size_req()
*/
NET_IL_PACKET_SPACE,
/** Device MTU changed message.
/branches/network/uspace/srv/net/il/arp/arp.c
73,9 → 73,10
arp_globals_t arp_globals;
 
/** Creates new protocol specific data.
* @param proto Protocol specific data. Output parameter.
* @param service Protocol module service. Input parameter.
* @param address Actual protocol device address. Input parameter.
* Allocates and returns the needed memory block as the proto parameter.
* @param proto The allocated protocol specific data. Output parameter.
* @param service The protocol module service. Input parameter.
* @param address The actual protocol device address. Input parameter.
* @returns EOK on success.
* @returns ENOMEM if there is not enough memory left.
*/
210,6 → 211,7
 
measured_string_ref tmp;
 
// copy the given address for exclusive use
tmp = measured_string_copy( address );
if( ERROR_OCCURRED( arp_device_message( device_id, netif, protocol, tmp ))){
free( tmp->value );