Changeset f87ec535 in mainline
- Timestamp:
- 2010-10-15T18:48:08Z (14 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 522253c1
- Parents:
- c89eefb
- Location:
- uspace
- Files:
-
- 2 edited
- 1 moved
Legend:
- Unmodified
- Added
- Removed
-
uspace/lib/c/include/ipc/arp.h
rc89eefb rf87ec535 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 /*@}*/ -
uspace/lib/net/il/arp_remote.c
rc89eefb rf87ec535 37 37 38 38 #include <arp_interface.h> 39 #include <arp_messages.h>40 39 #include <generic.h> 41 40 … … 44 43 #include <ipc/ipc.h> 45 44 #include <ipc/services.h> 45 #include <ipc/arp.h> 46 46 47 47 #include <net/modules.h> -
uspace/srv/net/il/arp/arp.c
rc89eefb rf87ec535 46 46 #include <ipc/services.h> 47 47 #include <ipc/net.h> 48 #include <ipc/arp.h> 48 49 #include <byteorder.h> 49 50 #include <err.h> … … 61 62 #include <il_interface.h> 62 63 #include <il_local.h> 63 #include <arp_messages.h>64 64 65 65 #include "arp.h"
Note:
See TracChangeset
for help on using the changeset viewer.