Changeset a7a85d16 in mainline for uspace/lib/c/include/ipc/arp.h
- Timestamp:
- 2010-10-16T17:16:30Z (13 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade
- Children:
- 668f8cbf, e0e568ff, f14291b
- Parents:
- ef689ef0 (diff), c62ae1d6 (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
ref689ef0 ra7a85d16 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 41 #include <ipc/ipc.h> 42 42 #include <ipc/net.h> 43 43 44 /** ARP module messages. 45 */ 46 typedef enum{ 44 /** ARP module messages. */ 45 typedef enum { 47 46 /** Clean cache message. 48 * 47 * @see arp_clean_cache() 49 48 */ 50 49 NET_ARP_CLEAN_CACHE = NET_ARP_FIRST, 51 50 /** Clear address cache message. 52 * 51 * @see arp_clear_address_msg() 53 52 */ 54 53 NET_ARP_CLEAR_ADDRESS, 55 54 /** Clear device cache message. 56 * 55 * @see arp_clear_device_req() 57 56 */ 58 57 NET_ARP_CLEAR_DEVICE, 59 58 /** New device message. 60 * 59 * @see arp_device_req() 61 60 */ 62 61 NET_ARP_DEVICE, 63 62 /** Address translation message. 64 * 63 * @see arp_translate_req() 65 64 */ 66 65 NET_ARP_TRANSLATE 67 66 } arp_messages; 68 67 69 /** @name ARP specific message parameters definitions 70 */ 68 /** @name ARP specific message parameters definitions */ 71 69 /*@{*/ 72 70 73 71 /** Returns the protocol service message parameter. 74 * 72 * @param[in] call The message call structure. 75 73 */ 76 74 #define ARP_GET_NETIF(call) \ 77 ({services_t service = (services_t) IPC_GET_ARG2(*call); service;}) 75 ({ \ 76 services_t service = (services_t) IPC_GET_ARG2(*call); \ 77 service; \ 78 }) 78 79 79 80 /*@}*/
Note:
See TracChangeset
for help on using the changeset viewer.