Changes in uspace/lib/net/include/ip_interface.h [00d7e1b:46d4d9f] in mainline
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/lib/net/include/ip_interface.h
r00d7e1b r46d4d9f 35 35 36 36 #include <net/socket_codes.h> 37 #include <async.h> 37 38 #include <ipc/services.h> 39 38 40 #include <net/device.h> 39 41 #include <net/packet.h> 42 40 43 #include <net/in.h> 41 44 #include <net/ip_codes.h> 45 42 46 #include <ip_remote.h> 43 #include <async.h>44 47 45 48 #define ip_received_error_msg ip_received_error_msg_remote 46 49 #define ip_set_gateway_req ip_set_gateway_req_remote 47 50 #define ip_packet_size_req ip_packet_size_req_remote 51 #define ip_device_req ip_device_req_remote 48 52 #define ip_add_route_req ip_add_route_req_remote 49 53 #define ip_send_msg ip_send_msg_remote … … 57 61 /** The transport layer notification function type definition. 58 62 * 59 * Notif ythe transport layer modules about the received packet/s.63 * Notifies the transport layer modules about the received packet/s. 60 64 * 61 * @param[in] device_id Device identifier. 62 * @param[in] packet Received packet or the received packet queue. 63 * @param[in] receiver Receiving module service. 64 * @param[in] error Packet error reporting service. Prefixes the 65 * received packet. 66 * 67 * @return EOK on success. 68 * 65 * @param[in] device_id The device identifier. 66 * @param[in] packet The received packet or the received packet queue. 67 * @param[in] receiver The receiving module service. 68 * @param[in] error The packet error reporting service. Prefixes the 69 * received packet. 70 * @return EOK on success. 69 71 */ 70 typedef int (*tl_received_msg_t)( nic_device_id_t device_id, packet_t *packet,72 typedef int (*tl_received_msg_t)(device_id_t device_id, packet_t *packet, 71 73 services_t receiver, services_t error); 72 74 73 extern async_sess_t *ip_bind_service(services_t, int, services_t, async_client_conn_t);74 extern async_sess_t *ip_connect_module(services_t);75 extern int ip_bind_service(services_t, int, services_t, async_client_conn_t); 76 extern int ip_connect_module(services_t); 75 77 76 78 /*@}*/
Note:
See TracChangeset
for help on using the changeset viewer.