ip_messages.h File Reference

IP module messages. More...

#include <ipc/ipc.h>
#include "../../include/in.h"
#include "../../include/ip_codes.h"
Include dependency graph for ip_messages.h:
This graph shows which files directly or indirectly include this file:

Defines

IP specific message parameters definitions



#define IP_GET_ADDRESS(call)   ({in_addr_t addr; addr.s_addr = IPC_GET_ARG3(*call); addr;})
 Returns the address message parameter.
#define IP_GET_GATEWAY(call)   ({in_addr_t addr; addr.s_addr = IPC_GET_ARG2(*call); addr;})
 Returns the gateway message parameter.
#define IP_SET_HEADERLEN(answer)   ((size_t *) &IPC_GET_ARG2(*answer))
 Sets the header length in the message answer.
#define IP_GET_NETMASK(call)   ({in_addr_t addr; addr.s_addr = IPC_GET_ARG4(*call); addr;})
 Returns the network mask message parameter.
#define IP_GET_PROTOCOL(call)   ((ip_protocol_t) IPC_GET_ARG1(*call))
 Returns the protocol message parameter.

Enumerations

enum  ip_messages { NET_IP_ADD_ROUTE = NET_IP_FIRST, NET_IP_GET_ROUTE, NET_IP_RECEIVED_ERROR, NET_IP_SET_GATEWAY }
 

IP module messages.

More...

Detailed Description

IP module messages.

See also:
ip_interface.h

Generated on Thu Mar 11 20:46:00 2010 for Networking and TCP/IP stack for HelenOS system by  doxygen 1.6.1