Subversion Repositories HelenOS

Compare Revisions

Ignore whitespace Rev 4692 → Rev 4693

/branches/network/uspace/srv/net/il/ip/ip_messages.h
53,15 → 53,18
NET_IP_SET_GATEWAY
} ip_messages;
 
/** \todo
/** Returns the gateway message parameter.
* @param call The message call structure. Input parameter.
*/
#define IP_GET_GATEWAY( call ) ({ in_addr_t addr; addr.s_addr = IPC_GET_ARG2( * call ); addr; })
 
/** \todo
/** Returns the address message parameter.
* @param call The message call structure. Input parameter.
*/
#define IP_GET_ADDRESS( call ) ({ in_addr_t addr; addr.s_addr = IPC_GET_ARG3( * call ); addr; })
 
/** \todo
/** Returns the network mask message parameter.
* @param call The message call structure. Input parameter.
*/
#define IP_GET_NETMASK( call ) ({ in_addr_t addr; addr.s_addr = IPC_GET_ARG4( * call ); addr; })