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