Changes in uspace/lib/net/nil/nil_remote.c [fe8dfa6:404dbae] in mainline
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/lib/net/nil/nil_remote.c
rfe8dfa6 r404dbae 33 33 /** @file 34 34 * Network interface layer interface implementation for remote modules. 35 * @see nil_ remote.h35 * @see nil_interface.h 36 36 */ 37 37 38 38 #include <nil_remote.h> 39 #include <nil_interface.h> 39 40 #include <generic.h> 40 41 #include <net/device.h> 41 42 #include <net/packet.h> 42 43 #include <packet_client.h> 44 43 45 #include <ipc/nil.h> 44 46 45 47 /** Notify the network interface layer about the device state change. 46 48 * 47 * @param[in] nil_phone Network interface layer phone. 48 * @param[in] device_id Device identifier. 49 * @param[in] state New device state. 50 * 51 * @return EOK on success. 52 * @return Other error codes as defined for each specific module 53 * device state function. 54 * 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. 55 55 */ 56 int nil_device_state_msg (int nil_phone, device_id_t device_id, int state)56 int nil_device_state_msg_remote(int nil_phone, device_id_t device_id, int state) 57 57 { 58 58 return generic_device_state_msg_remote(nil_phone, NET_NIL_DEVICE_STATE, … … 65 65 * upper layers. 66 66 * 67 * @param[in] nil_phone Network interface layer phone. 68 * @param[in] device_id Source device identifier. 69 * @param[in] packet Received packet or the received packet queue. 70 * @param[in] target Target service. Ignored parameter. 71 * 72 * @return EOK on success. 73 * @return Other error codes as defined for each specific module 74 * received function. 75 * 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. 76 74 */ 77 int nil_received_msg (int nil_phone, device_id_t device_id,78 packet_t *packet, services_t target)75 int nil_received_msg_remote(int nil_phone, device_id_t device_id, 76 packet_t packet, services_t target) 79 77 { 80 78 return generic_received_msg_remote(nil_phone, NET_NIL_RECEIVED,
Note:
See TracChangeset
for help on using the changeset viewer.