tl_common.h File Reference

Transport layer common functions. More...

#include "../structures/packet/packet.h"
#include "../include/device.h"
#include "../include/inet.h"
#include "../include/socket_codes.h"
Include dependency graph for tl_common.h:
This graph shows which files directly or indirectly include this file:

Functions

 DEVICE_MAP_DECLARE (packet_dimensions, packet_dimension_t)
 Device packet dimensions.
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_ref packet_dimensions, device_id_t device_id, packet_dimension_ref *packet_dimension)
 Gets IP packet dimensions.
int tl_update_ip_packet_dimension (packet_dimensions_ref packet_dimensions, device_id_t device_id, size_t content)
 Updates IP device packet dimensions cache.
int tl_set_address_port (struct sockaddr *addr, int addrlen, uint16_t port)
 Sets the address port.
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_socket_read_packet_data (int packet_phone, packet_ref packet, size_t prefix, const packet_dimension_ref dimension, const struct sockaddr *addr, socklen_t addrlen)
 Receives data from the socket into a packet.

Detailed Description

Transport layer common functions.


Generated on Thu Mar 11 20:46:21 2010 for Networking and TCP/IP stack for HelenOS system by  doxygen 1.6.1