Changeset 89c57b6 in mainline for uspace/lib/c/include/ipc/arp.h
- Timestamp:
- 2011-04-13T14:45:41Z (14 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 88634420
- Parents:
- cefb126 (diff), 17279ead (diff)
Note: this is a merge changeset, the changes displayed below correspond to the merge itself.
Use the(diff)
links above to see all the changes relative to each parent. - File:
-
- 1 moved
Legend:
- Unmodified
- Added
- Removed
-
uspace/lib/c/include/ipc/arp.h
rcefb126 r89c57b6 27 27 */ 28 28 29 /** @addtogroup arp30 * 29 /** @addtogroup libc 30 * @{ 31 31 */ 32 32 33 33 /** @file 34 * 35 * 34 * ARP module messages. 35 * @see arp_interface.h 36 36 */ 37 37 38 #ifndef __NET_ARP_MESSAGES__39 #define __NET_ARP_MESSAGES__38 #ifndef LIBC_ARP_MESSAGES_ 39 #define LIBC_ARP_MESSAGES_ 40 40 41 #include <ipc/ ipc.h>41 #include <ipc/net.h> 42 42 43 #include <net_messages.h> 44 45 /** ARP module messages. 46 */ 47 typedef enum{ 43 /** ARP module messages. */ 44 typedef enum { 48 45 /** Clean cache message. 49 * 46 * @see arp_clean_cache() 50 47 */ 51 48 NET_ARP_CLEAN_CACHE = NET_ARP_FIRST, 52 49 /** Clear address cache message. 53 * 50 * @see arp_clear_address_msg() 54 51 */ 55 52 NET_ARP_CLEAR_ADDRESS, 56 53 /** Clear device cache message. 57 * 54 * @see arp_clear_device_req() 58 55 */ 59 56 NET_ARP_CLEAR_DEVICE, 60 57 /** New device message. 61 * 58 * @see arp_device_req() 62 59 */ 63 60 NET_ARP_DEVICE, 64 61 /** Address translation message. 65 * 62 * @see arp_translate_req() 66 63 */ 67 64 NET_ARP_TRANSLATE 68 65 } arp_messages; 69 66 70 /** @name ARP specific message parameters definitions 71 */ 67 /** @name ARP specific message parameters definitions */ 72 68 /*@{*/ 73 69 74 /** Returns the protocol service message parameter. 75 * @param[in] call The message call structure. 70 /** Return the protocol service message parameter. 71 * 72 * @param[in] call Message call structure. 73 * 76 74 */ 77 #define ARP_GET_NETIF(call) \ 78 ({services_t service = (services_t) IPC_GET_ARG2(*call); service;}) 75 #define ARP_GET_NETIF(call) ((services_t) IPC_GET_ARG2(call)) 79 76 80 77 /*@}*/
Note:
See TracChangeset
for help on using the changeset viewer.