Changes in uspace/lib/net/include/nil_skel.h [609243f4:ffa2c8ef] in mainline
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/lib/net/include/nil_skel.h
r609243f4 rffa2c8ef 39 39 #define LIBNET_NIL_SKEL_H_ 40 40 41 #include <async.h> 42 #include <fibril_synch.h> 41 43 #include <ipc/services.h> 44 42 45 #include <adt/measured_strings.h> 43 46 #include <net/device.h> 44 47 #include <net/packet.h> 45 #include <async.h>46 48 47 49 /** Module initialization. … … 49 51 * This has to be implemented in user code. 50 52 * 51 * @param[in] sess Networking module session.53 * @param[in] net_phone Networking module phone. 52 54 * 53 55 * @return EOK on success. … … 56 58 * 57 59 */ 58 extern int nil_initialize( async_sess_t *sess);60 extern int nil_initialize(int net_phone); 59 61 60 62 /** Notify the network interface layer about the device state change. … … 62 64 * This has to be implemented in user code. 63 65 * 66 * @param[in] nil_phone Network interface layer phone. 64 67 * @param[in] device_id Device identifier. 65 68 * @param[in] state New device state. … … 70 73 * 71 74 */ 72 extern int nil_device_state_msg_local( nic_device_id_t device_id, sysarg_t state);75 extern int nil_device_state_msg_local(int, device_id_t, int); 73 76 74 77 /** Pass the packet queue to the network interface layer. … … 79 82 * This has to be implemented in user code. 80 83 * 84 * @param[in] nil_phone Network interface layer phone. 81 85 * @param[in] device_id Source device identifier. 82 86 * @param[in] packet Received packet or the received packet queue. 87 * @param[in] target Target service. Ignored parameter. 83 88 * 84 89 * @return EOK on success. … … 87 92 * 88 93 */ 89 extern int nil_received_msg_local( nic_device_id_t device_id, packet_t *packet);94 extern int nil_received_msg_local(int, device_id_t, packet_t *, services_t); 90 95 91 96 /** Message processing function. … … 93 98 * This has to be implemented in user code. 94 99 * 100 * @param[in] name Module name. 95 101 * @param[in] callid Message identifier. 96 102 * @param[in] call Message parameters. … … 106 112 * 107 113 */ 108 extern int nil_module_message(ipc_callid_t callid, ipc_call_t *call,109 ipc_call_t *answer, size_t *count);114 extern int nil_module_message(ipc_callid_t, ipc_call_t *, ipc_call_t *, 115 size_t *); 110 116 111 extern int nil_module_start( sysarg_t);117 extern int nil_module_start(int); 112 118 113 119 #endif
Note:
See TracChangeset
for help on using the changeset viewer.