#include <ip_remote.h>
#include <ip_interface.h>
#include <packet_client.h>
#include <generic.h>
#include <ipc/services.h>
#include <ipc/il.h>
#include <ipc/ip.h>
#include <net/modules.h>
#include <net/device.h>
#include <net/inet.h>
Go to the source code of this file.
IP module interface | |
| This interface is used by other modules. | |
| int | ip_bind_service (services_t service, int protocol, services_t me, async_client_conn_t receiver) |
| Creates bidirectional connection with the ip module service and registers the message receiver. | |
| int | ip_connect_module (services_t service) |
| Connects to the IP module. | |
Functions | |
| int | ip_add_route_req_remote (int ip_phone, device_id_t device_id, in_addr_t address, in_addr_t netmask, in_addr_t gateway) |
| Add a route to the device routing table. | |
| int | ip_device_req_remote (int ip_phone, device_id_t device_id, services_t service) |
| Register the new device. | |
| int | ip_get_route_req_remote (int ip_phone, ip_protocol_t protocol, const struct sockaddr *destination, socklen_t addrlen, device_id_t *device_id, void **header, size_t *headerlen) |
| Return the device identifier and the IP pseudo header based on the destination address. | |
| int | ip_packet_size_req_remote (int ip_phone, device_id_t device_id, packet_dimension_t *packet_dimension) |
| Return the device packet dimension for sending. | |
| int | ip_received_error_msg_remote (int ip_phone, device_id_t device_id, packet_t *packet, services_t target, services_t error) |
| Notify the IP module about the received error notification packet. | |
| int | ip_send_msg_remote (int ip_phone, device_id_t device_id, packet_t *packet, services_t sender, services_t error) |
| Send the packet queue. | |
| int | ip_set_gateway_req_remote (int ip_phone, device_id_t device_id, in_addr_t gateway) |
| Set the default gateway. | |
Definition in file ip_remote.c.
1.4.7