Changeset 849ed54 in mainline for uspace/lib/net/generic


Ignore:
Timestamp:
2010-03-30T18:39:04Z (15 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/lib/net/generic
Files:
3 moved

Legend:

Unmodified
Added
Removed
  • uspace/lib/net/generic/net_checksum.c

    r7d6fe4db r849ed54  
    3737#include <sys/types.h>
    3838
    39 #include "include/checksum.h"
     39#include <net_checksum.h>
    4040
    4141/** Big-endian encoding CRC divider.
  • uspace/lib/net/generic/net_remote.c

    r7d6fe4db r849ed54  
    4040#include <malloc.h>
    4141
    42 #include "../messages.h"
    43 #include "../modules.h"
    44 
    45 #include "../include/device.h"
    46 #include "../include/net_interface.h"
    47 
    48 #include "../structures/measured_strings.h"
    49 
    50 #include "net_messages.h"
     42#include <net_messages.h>
     43#include <net_modules.h>
     44#include <net_device.h>
     45#include <net_interface.h>
     46#include <adt/measured_strings.h>
     47#include <net_net_messages.h>
    5148
    5249int net_connect_module(services_t service){
  • uspace/lib/net/generic/packet_remote.c

    r7d6fe4db r849ed54  
    3838#include <async.h>
    3939#include <errno.h>
    40 
    4140#include <ipc/ipc.h>
    4241#include <sys/mman.h>
    4342
    44 #include "../../err.h"
    45 #include "../../messages.h"
    46 
    47 #include "packet.h"
    48 #include "packet_client.h"
    49 #include "packet_header.h"
    50 #include "packet_messages.h"
     43#include <net_err.h>
     44#include <net_messages.h>
     45#include <packet/packet.h>
     46#include <packet/packet_client.h>
     47#include <packet/packet_header.h>
     48#include <packet/packet_messages.h>
    5149
    5250/** Obtains the packet from the packet server as the shared memory block.
Note: See TracChangeset for help on using the changeset viewer.