Changeset 849ed54 in mainline for uspace/app/nettest2


Ignore:
Timestamp:
2010-03-30T18:39:04Z (16 years ago)
Author:
Martin Decky <martin@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
7553689
Parents:
7d6fe4db
Message:

Networking work:
Split the networking stack into end-user library (libsocket) and two helper libraries (libnet and libnetif).
Don't use over-the-hand compiling and linking, but rather separation of conserns.
There might be still some issues and the non-modular networking architecture is currently broken, but this will be fixed soon.

Location:
uspace/app/nettest2
Files:
6 added
2 moved

Legend:

Unmodified
Added
Removed
  • uspace/app/nettest2/Makefile

    r7d6fe4db r849ed54  
    2828#
    2929
    30 NET_BASE = ../..
    31 USPACE_PREFIX = ../../../..
    32 LIBS = $(NET_BASE)/socket/libsocket.a
     30USPACE_PREFIX = ../..
     31LIBS = $(LIBSOCKET_PREFIX)/libsocket.a
     32EXTRA_CFLAGS = -I$(LIBSOCKET_PREFIX)/include
    3333BINARY = nettest2
    3434
    3535SOURCES = \
    3636        nettest2.c \
    37         $(NET_BASE)/app/nettest.c \
    38         $(NET_BASE)/app/parse.c \
    39         $(NET_BASE)/app/print_error.c
     37        nettest.c \
     38        parse.c \
     39        print_error.c
    4040
    4141include $(USPACE_PREFIX)/Makefile.common
  • uspace/app/nettest2/nettest2.c

    r7d6fe4db r849ed54  
    4141#include <time.h>
    4242
    43 #include "../../include/in.h"
    44 #include "../../include/in6.h"
    45 #include "../../include/inet.h"
    46 #include "../../include/socket.h"
    47 
    48 #include "../../err.h"
    49 
    50 #include "../nettest.h"
    51 #include "../parse.h"
    52 #include "../print_error.h"
     43#include <in.h>
     44#include <in6.h>
     45#include <inet.h>
     46#include <socket.h>
     47#include <net_err.h>
     48
     49#include "nettest.h"
     50#include "parse.h"
     51#include "print_error.h"
    5352
    5453/** Echo module name.
Note: See TracChangeset for help on using the changeset viewer.