#include <tl_common.h>
#include <packet_client.h>
#include <packet_remote.h>
#include <icmp_remote.h>
#include <ip_remote.h>
#include <ip_interface.h>
#include <tl_remote.h>
#include <net/socket_codes.h>
#include <net/in.h>
#include <net/in6.h>
#include <net/inet.h>
#include <net/device.h>
#include <net/packet.h>
#include <async.h>
#include <ipc/services.h>
#include <errno.h>
Go to the source code of this file.
Functions | |
int | tl_get_address_port (const struct sockaddr *addr, int addrlen, uint16_t *port) |
Gets the address port. | |
int | tl_get_ip_packet_dimension (int ip_phone, packet_dimensions_t *packet_dimensions, device_id_t device_id, packet_dimension_t **packet_dimension) |
Get IP packet dimensions. | |
int | tl_prepare_icmp_packet (int packet_phone, int icmp_phone, packet_t *packet, services_t error) |
Prepares the packet for ICMP error notification. | |
int | tl_set_address_port (struct sockaddr *addr, int addrlen, uint16_t port) |
Sets the address port. | |
int | tl_socket_read_packet_data (int packet_phone, packet_t **packet, size_t prefix, const packet_dimension_t *dimension, const struct sockaddr *addr, socklen_t addrlen) |
Receives data from the socket into a packet. | |
int | tl_update_ip_packet_dimension (packet_dimensions_t *packet_dimensions, device_id_t device_id, size_t content) |
Updates IP device packet dimensions cache. |
Definition in file tl_common.c.