Subversion Repositories HelenOS

Rev

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

Rev 4703 Rev 4743
Line 60... Line 60...
60
 *  @param address The device local hardware address. Output parameter.
60
 *  @param address The device local hardware address. Output parameter.
61
 *  @param data The address data. Output parameter.
61
 *  @param data The address data. Output parameter.
62
 *  @returns EOK on success.
62
 *  @returns EOK on success.
63
 *  @returns EBADMEM if the address parameter is NULL.
63
 *  @returns EBADMEM if the address parameter is NULL.
64
 *  @returns ENOENT if there no such device.
64
 *  @returns ENOENT if there no such device.
65
 *  @returns Other error codes as defined for the netif_get_addr() function.
65
 *  @returns Other error codes as defined for the netif_get_addr_message() function.
66
 */
66
 */
67
int netif_get_addr( int netif_phone, device_id_t device_id, measured_string_ref * address, char ** data );
67
int netif_get_addr_req( int netif_phone, device_id_t device_id, measured_string_ref * address, char ** data );
68
 
68
 
69
/** Probes the existence of the device.
69
/** Probes the existence of the device.
70
 *  @param netif_phone The network interface phone. Input parameter.
70
 *  @param netif_phone The network interface phone. Input parameter.
71
 *  @param device_id The device identifier. Input parameter.
71
 *  @param device_id The device identifier. Input parameter.
72
 *  @param irq The device interrupt number. Input parameter.
72
 *  @param irq The device interrupt number. Input parameter.
Line 110... Line 110...
110
 *  @param stats The device usage statistics. Output parameter.
110
 *  @param stats The device usage statistics. Output parameter.
111
 *  @returns EOK on success.
111
 *  @returns EOK on success.
112
 */
112
 */
113
int netif_stats_req( int netif_phone, device_id_t device_id, device_stats_ref stats );
113
int netif_stats_req( int netif_phone, device_id_t device_id, device_stats_ref stats );
114
 
114
 
115
/** Creates bidirectional connection with the network interface module service and registers the message receiver.
115
/** Creates bidirectional connection with the network interface module and registers the message receiver.
116
 *  @param service The network interface module service. Input parameter.
116
 *  @param service The network interface module service. Input parameter.
117
 *  @param device_id The device identifier. Input parameter.
117
 *  @param device_id The device identifier. Input parameter.
118
 *  @param me The requesting module service. Input parameter.
118
 *  @param me The requesting module service. Input parameter.
119
 *  @param receiver The message receiver. Input parameter.
119
 *  @param receiver The message receiver. Input parameter.
120
 *  @returns The phone of the needed service.
120
 *  @returns The phone of the needed service.