Changeset 26e7d6d in mainline for uspace/lib/net/il/il_remote.c
- Timestamp:
- 2011-09-19T16:31:00Z (13 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- a347a11
- Parents:
- 3842a955 (diff), 086290d (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/il/il_remote.c
r3842a955 r26e7d6d 39 39 #include <generic.h> 40 40 #include <packet_client.h> 41 42 41 #include <ipc/services.h> 43 42 #include <ipc/il.h> 44 45 43 #include <net/device.h> 46 44 #include <net/packet.h> … … 48 46 /** Notify the internetwork layer modules about the device state change. 49 47 * 50 * @param[in] il_phone The internetwork layer module phone used for 51 * (semi)remote calls. 52 * @param[in] device_id The device identifier. 53 * @param[in] state The new device state. 54 * @param[in] target The target internetwork module service to be 48 * @param[in] sess Internetwork layer module session. 49 * @param[in] device_id Device identifier. 50 * @param[in] state New device state. 51 * @param[in] target Target internetwork module service to be 55 52 * delivered to. 56 53 * … … 58 55 * 59 56 */ 60 int il_device_state_msg( int il_phone, device_id_t device_id,57 int il_device_state_msg(async_sess_t *sess, device_id_t device_id, 61 58 device_state_t state, services_t target) 62 59 { 63 return generic_device_state_msg_remote( il_phone, NET_IL_DEVICE_STATE,60 return generic_device_state_msg_remote(sess, NET_IL_DEVICE_STATE, 64 61 device_id, state, target); 65 62 } … … 67 64 /** Notify the internetwork layer modules about the received packet/s. 68 65 * 69 * @param[in] il_phone The internetwork layer module phone used for 70 * (semi)remote calls. 71 * @param[in] device_id The device identifier. 72 * @param[in] packet The received packet or the received packet queue. 73 * @param[in] target The target internetwork module service to be 66 * @param[in] sess Internetwork layer module session. 67 * @param[in] device_id Device identifier. 68 * @param[in] packet Received packet or the received packet queue. 69 * @param[in] target Target internetwork module service to be 74 70 * delivered to. 75 71 * … … 77 73 * 78 74 */ 79 int il_received_msg( int il_phone, device_id_t device_id, packet_t *packet,75 int il_received_msg(async_sess_t *sess, device_id_t device_id, packet_t *packet, 80 76 services_t target) 81 77 { 82 return generic_received_msg_remote( il_phone, NET_IL_RECEIVED, device_id,78 return generic_received_msg_remote(sess, NET_IL_RECEIVED, device_id, 83 79 packet_get_id(packet), target, 0); 84 80 } … … 86 82 /** Notify the internetwork layer modules about the mtu change. 87 83 * 88 * @param[in] il_phone The internetwork layer module phone used for 89 * (semi)remote calls. 90 * @param[in] device_id The device identifier. 91 * @param[in] mtu The new mtu value. 92 * @param[in] target The target internetwork module service to be 84 * @param[in] sess Internetwork layer module session. 85 * @param[in] device_id Device identifier. 86 * @param[in] mtu New MTU value. 87 * @param[in] target Target internetwork module service to be 93 88 * delivered to. 94 89 * … … 96 91 * 97 92 */ 98 int il_mtu_changed_msg( int il_phone, device_id_t device_id, size_t mtu,93 int il_mtu_changed_msg(async_sess_t *sess, device_id_t device_id, size_t mtu, 99 94 services_t target) 100 95 { 101 return generic_device_state_msg_remote( il_phone, NET_IL_MTU_CHANGED,102 device_id, (int)mtu, target);96 return generic_device_state_msg_remote(sess, NET_IL_MTU_CHANGED, 97 device_id, mtu, target); 103 98 } 104 99
Note:
See TracChangeset
for help on using the changeset viewer.