Changes in uspace/lib/net/include/ip_interface.h [46d4d9f:00d7e1b] in mainline
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/lib/net/include/ip_interface.h
r46d4d9f r00d7e1b 35 35 36 36 #include <net/socket_codes.h> 37 #include <async.h>38 37 #include <ipc/services.h> 39 40 38 #include <net/device.h> 41 39 #include <net/packet.h> 42 43 40 #include <net/in.h> 44 41 #include <net/ip_codes.h> 45 46 42 #include <ip_remote.h> 43 #include <async.h> 47 44 48 45 #define ip_received_error_msg ip_received_error_msg_remote 49 46 #define ip_set_gateway_req ip_set_gateway_req_remote 50 47 #define ip_packet_size_req ip_packet_size_req_remote 51 #define ip_device_req ip_device_req_remote52 48 #define ip_add_route_req ip_add_route_req_remote 53 49 #define ip_send_msg ip_send_msg_remote … … 61 57 /** The transport layer notification function type definition. 62 58 * 63 * Notif iesthe transport layer modules about the received packet/s.59 * Notify the transport layer modules about the received packet/s. 64 60 * 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. 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 * 71 69 */ 72 typedef int (*tl_received_msg_t)( device_id_t device_id, packet_t *packet,70 typedef int (*tl_received_msg_t)(nic_device_id_t device_id, packet_t *packet, 73 71 services_t receiver, services_t error); 74 72 75 extern intip_bind_service(services_t, int, services_t, async_client_conn_t);76 extern intip_connect_module(services_t);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); 77 75 78 76 /*@}*/
Note:
See TracChangeset
for help on using the changeset viewer.