Subversion Repositories HelenOS

Rev

Rev 4350 | Rev 4743 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 4350 Rev 4703
Line 47... Line 47...
47
#include "../structures/measured_strings.h"
47
#include "../structures/measured_strings.h"
48
#include "../structures/packet/packet.h"
48
#include "../structures/packet/packet.h"
49
 
49
 
50
#include "device.h"
50
#include "device.h"
51
 
51
 
-
 
52
/** @name Network interface module interface
-
 
53
 *  This interface is used by other modules.
-
 
54
 */
-
 
55
/*@{*/
-
 
56
 
52
/** Returns the device local hardware address.
57
/** Returns the device local hardware address.
53
 *  @param netif_phone The network interface phone. Input parameter.
58
 *  @param netif_phone The network interface phone. Input parameter.
54
 *  @param device_id The device identifier. Input parameter.
59
 *  @param device_id The device identifier. Input parameter.
55
 *  @param address The device local hardware address. Output parameter.
60
 *  @param address The device local hardware address. Output parameter.
56
 *  @param data The address data. Output parameter.
61
 *  @param data The address data. Output parameter.
Line 97... Line 102...
97
 *  @returns Other error codes as defined for the find_device() function.
102
 *  @returns Other error codes as defined for the find_device() function.
98
 *  @returns Other error codes as defined for the netif_stop_message() function.
103
 *  @returns Other error codes as defined for the netif_stop_message() function.
99
 */
104
 */
100
int netif_stop_req( int netif_phone, device_id_t device_id );
105
int netif_stop_req( int netif_phone, device_id_t device_id );
101
 
106
 
-
 
107
/** Returns the device usage statistics.
-
 
108
 *  @param netif_phone The network interface phone. Input parameter.
-
 
109
 *  @param device_id The device identifier. Input parameter.
-
 
110
 *  @param stats The device usage statistics. Output parameter.
-
 
111
 *  @returns EOK on success.
-
 
112
 */
-
 
113
int netif_stats_req( int netif_phone, device_id_t device_id, device_stats_ref stats );
-
 
114
 
102
/** Creates bidirectional connection with the network interface module service and registers the message receiver.
115
/** Creates bidirectional connection with the network interface module service and registers the message receiver.
103
 *  @param service The network interface module service. Input parameter.
116
 *  @param service The network interface module service. Input parameter.
104
 *  @param device_id The device identifier. Input parameter.
117
 *  @param device_id The device identifier. Input parameter.
105
 *  @param me The requesting module service. Input parameter.
118
 *  @param me The requesting module service. Input parameter.
106
 *  @param receiver The message receiver. Input parameter.
119
 *  @param receiver The message receiver. Input parameter.
Line 108... Line 121...
108
 *  @returns EOK on success.
121
 *  @returns EOK on success.
109
 *  @returns Other error codes as defined for the bind_service() function.
122
 *  @returns Other error codes as defined for the bind_service() function.
110
 */
123
 */
111
int netif_bind_service( services_t service, device_id_t device_id, services_t me, async_client_conn_t receiver );
124
int netif_bind_service( services_t service, device_id_t device_id, services_t me, async_client_conn_t receiver );
112
 
125
 
-
 
126
/*@}*/
-
 
127
 
113
#endif
128
#endif
114
 
129
 
115
/** @}
130
/** @}
116
 */
131
 */