Changes in uspace/srv/net/tl/tl_common.h [aadf01e:91478aa] in mainline
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/srv/net/tl/tl_common.h
raadf01e r91478aa 48 48 * @see device.h 49 49 */ 50 DEVICE_MAP_DECLARE( packet_dimensions, packet_dimension_t);50 DEVICE_MAP_DECLARE( packet_dimensions, packet_dimension_t ); 51 51 52 52 /** Gets the address port. … … 59 59 * @returns EAFNOSUPPORT if the address family is not supported. 60 60 */ 61 int tl_get_address_port(const struct sockaddr * addr, int addrlen, uint16_t * port);61 int tl_get_address_port( const struct sockaddr * addr, int addrlen, uint16_t * port ); 62 62 63 63 /** Gets IP packet dimensions. … … 74 74 * @returns Other codes as defined for the ip_packet_size_req() function. 75 75 */ 76 int tl_get_ip_packet_dimension(int ip_phone, packet_dimensions_ref packet_dimensions, device_id_t device_id, packet_dimension_ref * packet_dimension);76 int tl_get_ip_packet_dimension( int ip_phone, packet_dimensions_ref packet_dimensions, device_id_t device_id, packet_dimension_ref * packet_dimension ); 77 77 78 78 /** Updates IP device packet dimensions cache. … … 83 83 * @returns ENOENT if the packet dimension is not cached. 84 84 */ 85 int tl_update_ip_packet_dimension(packet_dimensions_ref packet_dimensions, device_id_t device_id, size_t content);85 int tl_update_ip_packet_dimension( packet_dimensions_ref packet_dimensions, device_id_t device_id, size_t content ); 86 86 87 87 /** Sets the address port. … … 94 94 * @returns EAFNOSUPPORT if the address family is not supported. 95 95 */ 96 int tl_set_address_port(struct sockaddr * addr, int addrlen, uint16_t port);96 int tl_set_address_port( struct sockaddr * addr, int addrlen, uint16_t port ); 97 97 98 98 /** Prepares the packet for ICMP error notification. … … 106 106 * @returns ENOENT if no packet may be sent. 107 107 */ 108 int tl_prepare_icmp_packet(int packet_phone, int icmp_phone, packet_t packet, services_t error);108 int tl_prepare_icmp_packet( int packet_phone, int icmp_phone, packet_t packet, services_t error ); 109 109 110 110 /** Receives data from the socket into a packet. … … 120 120 * @returns Other error codes as defined for the async_data_read_finalize() function. 121 121 */ 122 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);122 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 ); 123 123 124 124 #endif
Note:
See TracChangeset
for help on using the changeset viewer.