Changes in uspace/lib/c/include/ipc/arp.h [64d2b10:f87ec535] in mainline
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/lib/c/include/ipc/arp.h
r64d2b10 rf87ec535 39 39 #define LIBC_ARP_MESSAGES_ 40 40 41 #include <ipc/ipc.h> 41 42 #include <ipc/net.h> 42 43 … … 68 69 /*@{*/ 69 70 70 /** Return the protocol service message parameter. 71 * 72 * @param[in] call Message call structure. 73 * 71 /** Returns the protocol service message parameter. 72 * @param[in] call The message call structure. 74 73 */ 75 #define ARP_GET_NETIF(call) ((services_t) IPC_GET_ARG2(call)) 74 #define ARP_GET_NETIF(call) \ 75 ({ \ 76 services_t service = (services_t) IPC_GET_ARG2(*call); \ 77 service; \ 78 }) 76 79 77 80 /*@}*/
Note:
See TracChangeset
for help on using the changeset viewer.