Changeset 89c57b6 in mainline for uspace/lib/net/nil/nil_remote.c
- Timestamp:
- 2011-04-13T14:45:41Z (14 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 88634420
- Parents:
- cefb126 (diff), 17279ead (diff)
Note: this is a merge changeset, the changes displayed below correspond to the merge itself.
Use the(diff)
links above to see all the changes relative to each parent. - File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/lib/net/nil/nil_remote.c
rcefb126 r89c57b6 27 27 */ 28 28 29 /** @addtogroup net_nil29 /** @addtogroup libnet 30 30 * @{ 31 31 */ … … 33 33 /** @file 34 34 * Network interface layer interface implementation for remote modules. 35 * @see nil_ interface.h35 * @see nil_remote.h 36 36 */ 37 37 38 #include <net_messages.h>39 #include <net_device.h>40 #include <nil_interface.h>41 #include <packet/packet.h>42 #include <packet/packet_client.h>43 #include <nil_messages.h>44 38 #include <nil_remote.h> 39 #include <generic.h> 40 #include <net/device.h> 41 #include <net/packet.h> 42 #include <packet_client.h> 43 #include <ipc/nil.h> 45 44 46 45 /** Notify the network interface layer about the device state change. 47 46 * 48 * @param[in] nil_phone The network interface layer phone.49 * @param[in] device_id The device identifier.50 * @param[in] state The new device state.47 * @param[in] nil_phone Network interface layer phone. 48 * @param[in] device_id Device identifier. 49 * @param[in] state New device state. 51 50 * 52 51 * @return EOK on success. 53 * @return Other error codes as defined for each specific module device54 * state function.52 * @return Other error codes as defined for each specific module 53 * device state function. 55 54 * 56 55 */ 57 int nil_device_state_msg _remote(int nil_phone, device_id_t device_id, int state)56 int nil_device_state_msg(int nil_phone, device_id_t device_id, int state) 58 57 { 59 58 return generic_device_state_msg_remote(nil_phone, NET_NIL_DEVICE_STATE, … … 66 65 * upper layers. 67 66 * 68 * @param[in] nil_phone The network interface layer phone.69 * @param[in] device_id The source device identifier.70 * @param[in] packet The received packet or the received packet queue.71 * @param target The target service. Ignored parameter.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. 72 71 * 73 72 * @return EOK on success. … … 76 75 * 77 76 */ 78 int nil_received_msg _remote(int nil_phone, device_id_t device_id,79 packet_t packet, services_t target)77 int nil_received_msg(int nil_phone, device_id_t device_id, 78 packet_t *packet, services_t target) 80 79 { 81 return generic_received_msg_remote(nil_phone, NET_NIL_RECEIVED, device_id,82 packet_get_id(packet), target, 0);80 return generic_received_msg_remote(nil_phone, NET_NIL_RECEIVED, 81 device_id, packet_get_id(packet), target, 0); 83 82 } 84 83
Note:
See TracChangeset
for help on using the changeset viewer.