Changeset 8e3a65c in mainline


Ignore:
Timestamp:
2010-10-15T19:29:14Z (14 years ago)
Author:
Jakub Jermar <jakub@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
25d2de69
Parents:
f5a3479
Message:

Move transport layer modules messages definitions to standard library.

Location:
uspace
Files:
4 edited
1 moved

Legend:

Unmodified
Added
Removed
  • uspace/lib/c/include/ipc/tl.h

    rf5a3479 r8e3a65c  
    2727 */
    2828
    29 /** @addtogroup net_tl
    30  *  @{
     29/** @addtogroup libc
     30 * @{
    3131 */
    3232
    3333/** @file
    34  *  Transport layer modules messages.
    35  *  @see tl_interface.h
     34 * Transport layer modules messages.
     35 * @see tl_interface.h
    3636 */
    3737
    38 #ifndef __NET_TL_MESSAGES_H__
    39 #define __NET_TL_MESSAGES_H__
     38#ifndef LIBC_TL_MESSAGES_H_
     39#define LIBC_TL_MESSAGES_H_
    4040
    4141#include <ipc/ipc.h>
    4242#include <ipc/net.h>
    4343
    44 /** Transport layer modules messages.
    45  */
    46 typedef enum{
     44/** Transport layer modules messages. */
     45typedef enum {
    4746        /** Packet received message.
    48          *  @see tl_received_msg()
     47         * @see tl_received_msg()
    4948         */
    5049        NET_TL_RECEIVED = NET_TL_FIRST
  • uspace/lib/net/include/tl_interface.h

    rf5a3479 r8e3a65c  
    4040#include <async.h>
    4141#include <ipc/services.h>
     42#include <ipc/tl.h>
    4243
    4344#include <generic.h>
     
    4546#include <net/packet.h>
    4647#include <packet_client.h>
    47 #include <tl_messages.h>
    4848
    4949/** @name Transport layer module interface
  • uspace/srv/net/tl/icmp/icmp.c

    rf5a3479 r8e3a65c  
    4545#include <ipc/services.h>
    4646#include <ipc/net.h>
     47#include <ipc/tl.h>
    4748#include <ipc/icmp.h>
    4849#include <sys/time.h>
     
    6970#include <ip_interface.h>
    7071#include <net_interface.h>
    71 #include <tl_messages.h>
    7272#include <tl_interface.h>
    7373#include <tl_local.h>
  • uspace/srv/net/tl/tcp/tcp.c

    rf5a3479 r8e3a65c  
    4848#include <ipc/services.h>
    4949#include <ipc/net.h>
     50#include <ipc/tl.h>
    5051#include <ipc/socket.h>
    5152
     
    6869#include <socket_core.h>
    6970#include <tl_common.h>
    70 #include <tl_messages.h>
    7171#include <tl_local.h>
    7272#include <tl_interface.h>
  • uspace/srv/net/tl/udp/udp.c

    rf5a3479 r8e3a65c  
    4343#include <ipc/services.h>
    4444#include <ipc/net.h>
     45#include <ipc/tl.h>
    4546#include <ipc/socket.h>
    4647#include <errno.h>
     
    6768#include <tl_local.h>
    6869#include <tl_interface.h>
    69 #include <tl_messages.h>
    7070
    7171#include "udp.h"
Note: See TracChangeset for help on using the changeset viewer.