Changes in uspace/lib/net/include/ip_interface.h [14f1db0:e526f08] in mainline
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/lib/net/include/ip_interface.h
r14f1db0 re526f08 34 34 #define __NET_IP_INTERFACE_H__ 35 35 36 #include <net/socket_codes.h> 36 37 #include <async.h> 37 38 #include <ipc/services.h> 38 39 39 #include <net _device.h>40 #include < packet/packet.h>40 #include <net/device.h> 41 #include <net/packet.h> 41 42 42 #include <in.h> 43 #include <ip_codes.h> 44 #include <socket_codes.h> 45 46 #ifdef CONFIG_IL_TL_BUNDLE 47 48 #include <ip_local.h> 49 50 #define ip_received_error_msg ip_received_error_msg_local 51 #define ip_set_gateway_req ip_set_gateway_req_local 52 #define ip_packet_size_req ip_packet_size_req_local 53 #define ip_device_req ip_device_req_local 54 #define ip_add_route_req ip_add_route_req_local 55 #define ip_send_msg ip_send_msg_local 56 #define ip_get_route_req ip_get_route_req_local 57 58 #else 43 #include <net/in.h> 44 #include <net/ip_codes.h> 59 45 60 46 #include <ip_remote.h> … … 67 53 #define ip_send_msg ip_send_msg_remote 68 54 #define ip_get_route_req ip_get_route_req_remote 69 70 #endif71 55 72 56 /** @name IP module interface … … 90 74 * @param[in] me The requesting module service. 91 75 * @param[in] receiver The message receiver. Used for remote connection. 92 * @param[in] tl_received_msg The message processing function. Used if bundled together.93 76 * @returns The phone of the needed service. 94 77 * @returns EOK on success. 95 78 * @returns Other error codes as defined for the bind_service() function. 96 79 */ 97 extern int ip_bind_service(services_t service, int protocol, services_t me, async_client_conn_t receiver , tl_received_msg_t tl_received_msg);80 extern int ip_bind_service(services_t service, int protocol, services_t me, async_client_conn_t receiver); 98 81 99 82 /** Connects to the IP module. 100 83 * @param service The IP module service. Ignored parameter. 101 84 * @returns The IP module phone on success. 102 * @returns 0 if called by the bundle module.103 85 */ 104 86 extern int ip_connect_module(services_t service);
Note:
See TracChangeset
for help on using the changeset viewer.