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/include/ip_interface.h

    rd0febca r7715994  
    7070 *  @returns EOK on success.
    7171 */
    72 typedef int     ( * tl_received_msg_t )( device_id_t device_id, packet_t packet, services_t receiver, services_t error );
     72typedef int     (*tl_received_msg_t)(device_id_t device_id, packet_t packet, services_t receiver, services_t error);
    7373
    7474/** Creates bidirectional connection with the ip module service and registers the message receiver.
     
    8282 *  @returns Other error codes as defined for the bind_service() function.
    8383 */
    84 int     ip_bind_service( services_t service, int protocol, services_t me, async_client_conn_t receiver, tl_received_msg_t tl_received_msg );
     84int ip_bind_service(services_t service, int protocol, services_t me, async_client_conn_t receiver, tl_received_msg_t tl_received_msg);
    8585
    8686/** Registers the new device.
     
    9898 *  @returns Other error codes as defined for the arp_device_req() function.
    9999 */
    100 int     ip_device_req( int ip_phone, device_id_t device_id, services_t netif );
     100int ip_device_req(int ip_phone, device_id_t device_id, services_t netif);
    101101
    102102/** Sends the packet queue.
     
    110110 *  @returns Other error codes as defined for the generic_send_msg() function.
    111111 */
    112 int     ip_send_msg( int ip_phone, device_id_t device_id, packet_t packet, services_t sender, services_t error );
     112int ip_send_msg(int ip_phone, device_id_t device_id, packet_t packet, services_t sender, services_t error);
    113113
    114114/** Connects to the IP module.
     
    117117 *  @returns 0 if called by the bundle module.
    118118 */
    119 int     ip_connect_module( services_t service );
     119int ip_connect_module(services_t service);
    120120
    121121/** Adds a route to the device routing table.
     
    127127 *  @param[in] gateway The target network gateway. Not used if zero.
    128128 */
    129 int     ip_add_route_req( int ip_phone, device_id_t device_id, in_addr_t address, in_addr_t netmask, in_addr_t gateway );
     129int ip_add_route_req(int ip_phone, device_id_t device_id, in_addr_t address, in_addr_t netmask, in_addr_t gateway);
    130130
    131131/** Sets the default gateway.
     
    135135 *  @param[in] gateway The default gateway.
    136136 */
    137 int     ip_set_gateway_req( int ip_phone, device_id_t device_id, in_addr_t gateway );
     137int ip_set_gateway_req(int ip_phone, device_id_t device_id, in_addr_t gateway);
    138138
    139139/** Returns the device packet dimension for sending.
     
    145145 *  @returns Other error codes as defined for the generic_packet_size_req() function.
    146146 */
    147 int     ip_packet_size_req( int ip_phone, device_id_t device_id, packet_dimension_ref packet_dimension );
     147int ip_packet_size_req(int ip_phone, device_id_t device_id, packet_dimension_ref packet_dimension);
    148148
    149149/** Notifies the IP module about the received error notification packet.
     
    155155 *  @returns EOK on success.
    156156 */
    157 int     ip_received_error_msg( int ip_phone, device_id_t device_id, packet_t packet, services_t target, services_t error );
     157int ip_received_error_msg(int ip_phone, device_id_t device_id, packet_t packet, services_t target, services_t error);
    158158
    159159/** Returns the device identifier and the IP pseudo header based on the destination address.
     
    166166 *  @param[out] headerlen The IP pseudo header length.
    167167 */
    168 int     ip_get_route_req( int ip_phone, ip_protocol_t protocol, const struct sockaddr * destination, socklen_t addrlen, device_id_t * device_id, ip_pseudo_header_ref * header, size_t * headerlen );
     168int ip_get_route_req(int ip_phone, ip_protocol_t protocol, const struct sockaddr * destination, socklen_t addrlen, device_id_t * device_id, ip_pseudo_header_ref * header, size_t * headerlen);
    169169
    170170/*@}*/
Note: See TracChangeset for help on using the changeset viewer.