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