Changes in uspace/lib/net/nil/nil_remote.c [404dbae:14f1db0] in mainline
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/lib/net/nil/nil_remote.c
r404dbae r14f1db0 27 27 */ 28 28 29 /** @addtogroup libnet29 /** @addtogroup net_nil 30 30 * @{ 31 31 */ … … 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> 38 44 #include <nil_remote.h> 39 #include <nil_interface.h>40 #include <generic.h>41 #include <net/device.h>42 #include <net/packet.h>43 #include <packet_client.h>44 45 #include <ipc/nil.h>46 45 47 46 /** Notify the network interface layer about the device state change. 48 47 * 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. 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. 51 * 52 * @return EOK on success. 53 * @return Other error codes as defined for each specific module device 54 * state function. 55 * 55 56 */ 56 57 int nil_device_state_msg_remote(int nil_phone, device_id_t device_id, int state) … … 65 66 * upper layers. 66 67 * 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. 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. 72 * 73 * @return EOK on success. 74 * @return Other error codes as defined for each specific module 75 * received function. 76 * 74 77 */ 75 78 int nil_received_msg_remote(int nil_phone, device_id_t device_id, 76 79 packet_t packet, services_t target) 77 80 { 78 return generic_received_msg_remote(nil_phone, NET_NIL_RECEIVED, 79 device_id,packet_get_id(packet), target, 0);81 return generic_received_msg_remote(nil_phone, NET_NIL_RECEIVED, device_id, 82 packet_get_id(packet), target, 0); 80 83 } 81 84
Note:
See TracChangeset
for help on using the changeset viewer.