Changes in uspace/lib/net/nil/nil_remote.c [46d4d9f:f5a3479] in mainline
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/lib/net/nil/nil_remote.c
r46d4d9f rf5a3479 27 27 */ 28 28 29 /** @addtogroup libnet29 /** @addtogroup net_nil 30 30 * @{ 31 31 */ … … 47 47 /** Notify the network interface layer about the device state change. 48 48 * 49 * @param[in] nil_phone The network interface layer phone. 50 * @param[in] device_id The device identifier. 51 * @param[in] state The new device state. 52 * @return EOK on success. 53 * @return Other error codes as defined for each specific module 54 * device state function. 49 * @param[in] nil_phone The network interface layer phone. 50 * @param[in] device_id The device identifier. 51 * @param[in] state The new device state. 52 * 53 * @return EOK on success. 54 * @return Other error codes as defined for each specific module device 55 * state function. 56 * 55 57 */ 56 58 int nil_device_state_msg_remote(int nil_phone, device_id_t device_id, int state) … … 65 67 * upper layers. 66 68 * 67 * @param[in] nil_phone The network interface layer phone. 68 * @param[in] device_id The source device identifier. 69 * @param[in] packet The received packet or the received packet queue. 70 * @param target The target service. Ignored parameter. 71 * @return EOK on success. 72 * @return Other error codes as defined for each specific module 73 * received function. 69 * @param[in] nil_phone The network interface layer phone. 70 * @param[in] device_id The source device identifier. 71 * @param[in] packet The received packet or the received packet queue. 72 * @param target The target service. Ignored parameter. 73 * 74 * @return EOK on success. 75 * @return Other error codes as defined for each specific module 76 * received function. 77 * 74 78 */ 75 79 int nil_received_msg_remote(int nil_phone, device_id_t device_id, 76 packet_t *packet, services_t target)80 packet_t packet, services_t target) 77 81 { 78 return generic_received_msg_remote(nil_phone, NET_NIL_RECEIVED, 79 device_id,packet_get_id(packet), target, 0);82 return generic_received_msg_remote(nil_phone, NET_NIL_RECEIVED, device_id, 83 packet_get_id(packet), target, 0); 80 84 } 81 85
Note:
See TracChangeset
for help on using the changeset viewer.