Changeset 7715994 in mainline for uspace/srv/net/tl/tl_common.h


Ignore:
Timestamp:
2010-03-13T12:17:02Z (14 years ago)
Author:
Jiri Svoboda <jiri@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
6ba20a6b
Parents:
d0febca (diff), 2070570 (diff)
Note: this is a merge changeset, the changes displayed below correspond to the merge itself.
Use the (diff) links above to see all the changes relative to each parent.
Message:

Merge mainline changes.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/srv/net/tl/tl_common.h

    rd0febca r7715994  
    4848 *  @see device.h
    4949 */
    50 DEVICE_MAP_DECLARE( packet_dimensions, packet_dimension_t );
     50DEVICE_MAP_DECLARE(packet_dimensions, packet_dimension_t);
    5151
    5252/** Gets the address port.
     
    5959 *  @returns EAFNOSUPPORT if the address family is not supported.
    6060 */
    61 int     tl_get_address_port( const struct sockaddr * addr, int addrlen, uint16_t * port );
     61int tl_get_address_port(const struct sockaddr * addr, int addrlen, uint16_t * port);
    6262
    6363/** Gets IP packet dimensions.
     
    7474 *  @returns Other codes as defined for the ip_packet_size_req() function.
    7575 */
    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 );
     76int tl_get_ip_packet_dimension(int ip_phone, packet_dimensions_ref packet_dimensions, device_id_t device_id, packet_dimension_ref * packet_dimension);
    7777
    7878/** Updates IP device packet dimensions cache.
     
    8383 *  @returns ENOENT if the packet dimension is not cached.
    8484 */
    85 int     tl_update_ip_packet_dimension( packet_dimensions_ref packet_dimensions, device_id_t device_id, size_t content );
     85int tl_update_ip_packet_dimension(packet_dimensions_ref packet_dimensions, device_id_t device_id, size_t content);
    8686
    8787/** Sets the address port.
     
    9494 *  @returns EAFNOSUPPORT if the address family is not supported.
    9595 */
    96 int     tl_set_address_port( struct sockaddr * addr, int addrlen, uint16_t port );
     96int tl_set_address_port(struct sockaddr * addr, int addrlen, uint16_t port);
    9797
    9898/** Prepares the packet for ICMP error notification.
     
    106106 *  @returns ENOENT if no packet may be sent.
    107107 */
    108 int     tl_prepare_icmp_packet( int packet_phone, int icmp_phone, packet_t packet, services_t error );
     108int tl_prepare_icmp_packet(int packet_phone, int icmp_phone, packet_t packet, services_t error);
    109109
    110110/** Receives data from the socket into a packet.
     
    120120 *  @returns Other error codes as defined for the async_data_read_finalize() function.
    121121 */
    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 );
     122int 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);
    123123
    124124#endif
Note: See TracChangeset for help on using the changeset viewer.