Subversion Repositories HelenOS

Rev

Rev 4731 | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 4731 Rev 4756
Line 72... Line 72...
72
/** Network interface global data.
72
/** Network interface global data.
73
 */
73
 */
74
netif_globals_t netif_globals;
74
netif_globals_t netif_globals;
75
 
75
 
76
/** Changes the loopback state.
76
/** Changes the loopback state.
77
 *  @param device The device structure. Input parameter.
77
 *  @param[in] device The device structure.
78
 *  @param state The new device state. Input parameter.
78
 *  @param[in] state The new device state.
79
 *  @returns The new state if changed.
79
 *  @returns The new state if changed.
80
 *  @returns EOK otherwise.
80
 *  @returns EOK otherwise.
81
 */
81
 */
82
int change_state_message( device_ref device, device_state_t state );
82
int change_state_message( device_ref device, device_state_t state );
83
 
83
 
84
/** Creates and returns the loopback network interface structure.
84
/** Creates and returns the loopback network interface structure.
85
 *  @param device_id The new devce identifier. Input parameter.
85
 *  @param[in] device_id The new devce identifier.
86
 *  @param device The device structure. Output parameter.
86
 *  @param[out] device The device structure.
87
 *  @returns EOK on success.
87
 *  @returns EOK on success.
88
 *  @returns EXDEV if one loopback network interface already exists.
88
 *  @returns EXDEV if one loopback network interface already exists.
89
 *  @returns ENOMEM if there is not enough memory left.
89
 *  @returns ENOMEM if there is not enough memory left.
90
 */
90
 */
91
int create( device_id_t device_id, device_ref * device );
91
int create( device_id_t device_id, device_ref * device );