Changes in uspace/lib/net/include/tl_interface.h [14f1db0:018d79b8] in mainline
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/lib/net/include/tl_interface.h
r14f1db0 r018d79b8 27 27 */ 28 28 29 /** @addtogroup net_tl30 * 29 /** @addtogroup libnet 30 * @{ 31 31 */ 32 32 … … 35 35 */ 36 36 37 #ifndef __NET_TL_INTERFACE_H__38 #define __NET_TL_INTERFACE_H__37 #ifndef LIBNET_TL_INTERFACE_H_ 38 #define LIBNET_TL_INTERFACE_H_ 39 39 40 40 #include <async.h> 41 41 #include <ipc/services.h> 42 #include <ipc/tl.h> 42 43 43 #include <net_messages.h> 44 #include <net_device.h> 45 #include <packet/packet.h> 46 #include <packet/packet_client.h> 47 #include <tl_messages.h> 44 #include <generic.h> 45 #include <net/device.h> 46 #include <net/packet.h> 47 #include <packet_client.h> 48 48 49 49 /** @name Transport layer module interface … … 52 52 /*@{*/ 53 53 54 /** Notify the remote transport layer modules about the received packet/s. 55 * 56 * @param[in] tl_phone The transport layer module phone used for remote calls. 57 * @param[in] device_id The device identifier. 58 * @param[in] packet The received packet or the received packet queue. 59 * The packet queue is used to carry a fragmented 60 * datagram. The first packet contains the headers, 61 * the others contain only data. 62 * @param[in] target The target transport layer module service to be 63 * delivered to. 64 * @param[in] error The packet error reporting service. Prefixes the 65 * received packet. 66 * 67 * @return EOK on success. 68 * 69 */ 70 inline static int tl_received_msg(int tl_phone, device_id_t device_id, 71 packet_t packet, services_t target, services_t error) 72 { 73 return generic_received_msg_remote(tl_phone, NET_TL_RECEIVED, device_id, 74 packet_get_id(packet), target, error); 75 } 54 extern int tl_received_msg(int, device_id_t, packet_t, services_t, services_t); 76 55 77 56 /*@}*/
Note:
See TracChangeset
for help on using the changeset viewer.