Changeset 849ed54 in mainline for uspace/app/ping


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/ping
Files:
4 added
2 moved

Legend:

Unmodified
Added
Removed
  • uspace/app/ping/Makefile

    r7d6fe4db r849ed54  
    2828#
    2929
    30 NET_BASE = ../..
    31 USPACE_PREFIX = ../../../..
    32 LIBS = $(NET_BASE)/socket/libsocket.a
    33 BINARY = echo
     30USPACE_PREFIX = ../..
     31LIBS = $(LIBSOCKET_PREFIX)/libsocket.a
     32EXTRA_CFLAGS = -I$(LIBSOCKET_PREFIX)/include
     33BINARY = ping
    3434
    3535SOURCES = \
    36         echo.c \
    37         $(NET_BASE)/app/parse.c \
    38         $(NET_BASE)/app/print_error.c
     36        ping.c \
     37        parse.c \
     38        print_error.c
    3939
    4040include $(USPACE_PREFIX)/Makefile.common
  • uspace/app/ping/ping.c

    r7d6fe4db r849ed54  
    4242#include <ipc/services.h>
    4343
    44 #include "../../include/icmp_api.h"
    45 #include "../../include/in.h"
    46 #include "../../include/in6.h"
    47 #include "../../include/inet.h"
    48 #include "../../include/ip_codes.h"
    49 #include "../../include/socket_errno.h"
    50 
    51 #include "../../err.h"
    52 
    53 #include "../parse.h"
    54 #include "../print_error.h"
     44#include <icmp_api.h>
     45#include <in.h>
     46#include <in6.h>
     47#include <inet.h>
     48#include <ip_codes.h>
     49#include <socket_errno.h>
     50#include <net_err.h>
     51
     52#include "parse.h"
     53#include "print_error.h"
    5554
    5655/** Echo module name.
Note: See TracChangeset for help on using the changeset viewer.