Changeset 849ed54 in mainline for uspace/lib/net/include/arp_interface.h
- Timestamp:
- 2010-03-30T18:39:04Z (15 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 7553689
- Parents:
- 7d6fe4db
- File:
-
- 1 moved
Legend:
- Unmodified
- Added
- Removed
-
uspace/lib/net/include/arp_interface.h
r7d6fe4db r849ed54 41 41 #define __NET_ARP_INTERFACE_H__ 42 42 43 #include "../structures/measured_strings.h" 44 45 #include "device.h" 43 #include <adt/measured_strings.h> 44 #include <net_device.h> 46 45 47 46 /** @name ARP module interface … … 67 66 * @returns Other error codes as defined for the nil_get_broadcast_addr() function. 68 67 */ 69 int arp_device_req(int arp_phone, device_id_t device_id, services_t protocol, services_t netif, measured_string_ref address);68 extern int arp_device_req(int arp_phone, device_id_t device_id, services_t protocol, services_t netif, measured_string_ref address); 70 69 71 70 /** Translates the given protocol address to the network interface address. … … 83 82 * @returns ENOENT if the mapping is not found. 84 83 */ 85 int arp_translate_req(int arp_phone, device_id_t device_id, services_t protocol, measured_string_ref address, measured_string_ref * translation, char ** data);84 extern int arp_translate_req(int arp_phone, device_id_t device_id, services_t protocol, measured_string_ref address, measured_string_ref * translation, char ** data); 86 85 87 86 /** Clears the device cache. … … 91 90 * @returns ENOENT if the device is not found. 92 91 */ 93 int arp_clear_device_req(int arp_phone, device_id_t device_id);92 extern int arp_clear_device_req(int arp_phone, device_id_t device_id); 94 93 95 94 /** Clears the given protocol address from the cache. … … 101 100 * @returns ENOENT if the mapping is not found. 102 101 */ 103 int arp_clear_address_req(int arp_phone, device_id_t device_id, services_t protocol, measured_string_ref address);102 extern int arp_clear_address_req(int arp_phone, device_id_t device_id, services_t protocol, measured_string_ref address); 104 103 105 104 /** Cleans the cache. … … 107 106 * @returns EOK on success. 108 107 */ 109 int arp_clean_cache_req(int arp_phone);108 extern int arp_clean_cache_req(int arp_phone); 110 109 111 110 /** Connects to the ARP module. … … 114 113 * @returns 0 if called by the bundle module. 115 114 */ 116 int arp_connect_module(services_t service);115 extern int arp_connect_module(services_t service); 117 116 118 117 /** Returns the ARP task identifier. … … 120 119 * @returns 0 if called by the remote module. 121 120 */ 122 task_id_t arp_task_get_id(void);121 extern task_id_t arp_task_get_id(void); 123 122 124 123 /*@}*/
Note:
See TracChangeset
for help on using the changeset viewer.