Changeset 849ed54 in mainline for uspace/lib/net/include/netif_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/netif_interface.h
r7d6fe4db r849ed54 43 43 #include <ipc/services.h> 44 44 45 #include "../messages.h" 46 47 #include "../structures/measured_strings.h" 48 #include "../structures/packet/packet.h" 49 50 #include "device.h" 45 #include <net_messages.h> 46 #include <adt/measured_strings.h> 47 #include <packet/packet.h> 48 #include <net_device.h> 51 49 52 50 /** @name Network interface module interface … … 65 63 * @returns Other error codes as defined for the netif_get_addr_message() function. 66 64 */ 67 int netif_get_addr_req(int netif_phone, device_id_t device_id, measured_string_ref * address, char ** data);65 extern int netif_get_addr_req(int netif_phone, device_id_t device_id, measured_string_ref * address, char ** data); 68 66 69 67 /** Probes the existence of the device. … … 75 73 * @returns Other errro codes as defined for the netif_probe_message(). 76 74 */ 77 int netif_probe_req(int netif_phone, device_id_t device_id, int irq, int io);75 extern int netif_probe_req(int netif_phone, device_id_t device_id, int irq, int io); 78 76 79 77 /** Sends the packet queue. … … 85 83 * @returns Other error codes as defined for the generic_send_msg() function. 86 84 */ 87 int netif_send_msg(int netif_phone, device_id_t device_id, packet_t packet, services_t sender);85 extern int netif_send_msg(int netif_phone, device_id_t device_id, packet_t packet, services_t sender); 88 86 89 87 /** Starts the device. … … 94 92 * @returns Other error codes as defined for the netif_start_message() function. 95 93 */ 96 int netif_start_req(int netif_phone, device_id_t device_id);94 extern int netif_start_req(int netif_phone, device_id_t device_id); 97 95 98 96 /** Stops the device. … … 103 101 * @returns Other error codes as defined for the netif_stop_message() function. 104 102 */ 105 int netif_stop_req(int netif_phone, device_id_t device_id);103 extern int netif_stop_req(int netif_phone, device_id_t device_id); 106 104 107 105 /** Returns the device usage statistics. … … 111 109 * @returns EOK on success. 112 110 */ 113 int netif_stats_req(int netif_phone, device_id_t device_id, device_stats_ref stats);111 extern int netif_stats_req(int netif_phone, device_id_t device_id, device_stats_ref stats); 114 112 115 113 /** Creates bidirectional connection with the network interface module and registers the message receiver. … … 122 120 * @returns Other error codes as defined for the bind_service() function. 123 121 */ 124 int netif_bind_service(services_t service, device_id_t device_id, services_t me, async_client_conn_t receiver);122 extern int netif_bind_service(services_t service, device_id_t device_id, services_t me, async_client_conn_t receiver); 125 123 126 124 /*@}*/
Note:
See TracChangeset
for help on using the changeset viewer.