Rev 4505 | Rev 4707 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 4505 | Rev 4693 | ||
---|---|---|---|
Line 51... | Line 51... | ||
51 | * @see ip_set_default_gateway() |
51 | * @see ip_set_default_gateway() |
52 | */ |
52 | */ |
53 | NET_IP_SET_GATEWAY |
53 | NET_IP_SET_GATEWAY |
54 | } ip_messages; |
54 | } ip_messages; |
55 | 55 | ||
56 | /** \todo |
56 | /** Returns the gateway message parameter. |
- | 57 | * @param call The message call structure. Input parameter. |
|
57 | */ |
58 | */ |
58 | #define IP_GET_GATEWAY( call ) ({ in_addr_t addr; addr.s_addr = IPC_GET_ARG2( * call ); addr; }) |
59 | #define IP_GET_GATEWAY( call ) ({ in_addr_t addr; addr.s_addr = IPC_GET_ARG2( * call ); addr; }) |
59 | 60 | ||
60 | /** \todo |
61 | /** Returns the address message parameter. |
- | 62 | * @param call The message call structure. Input parameter. |
|
61 | */ |
63 | */ |
62 | #define IP_GET_ADDRESS( call ) ({ in_addr_t addr; addr.s_addr = IPC_GET_ARG3( * call ); addr; }) |
64 | #define IP_GET_ADDRESS( call ) ({ in_addr_t addr; addr.s_addr = IPC_GET_ARG3( * call ); addr; }) |
63 | 65 | ||
64 | /** \todo |
66 | /** Returns the network mask message parameter. |
- | 67 | * @param call The message call structure. Input parameter. |
|
65 | */ |
68 | */ |
66 | #define IP_GET_NETMASK( call ) ({ in_addr_t addr; addr.s_addr = IPC_GET_ARG4( * call ); addr; }) |
69 | #define IP_GET_NETMASK( call ) ({ in_addr_t addr; addr.s_addr = IPC_GET_ARG4( * call ); addr; }) |
67 | 70 | ||
68 | #endif |
71 | #endif |
69 | 72 |