Changeset f14291b in mainline for uspace/srv/net/il/ip/ip.c


Ignore:
Timestamp:
2010-10-19T20:55:53Z (14 years ago)
Author:
Jakub Jermar <jakub@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
a93d79a
Parents:
1882525 (diff), a7a85d16 (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/il/ip/ip.c

    r1882525 rf14291b  
    3838#include <async.h>
    3939#include <errno.h>
     40#include <err.h>
    4041#include <fibril_synch.h>
    4142#include <stdio.h>
     
    4344#include <ipc/ipc.h>
    4445#include <ipc/services.h>
     46#include <ipc/net.h>
     47#include <ipc/nil.h>
     48#include <ipc/il.h>
     49#include <ipc/ip.h>
    4550#include <sys/types.h>
    46 
    47 #include <net_err.h>
    48 #include <net_messages.h>
    49 #include <net_modules.h>
     51#include <byteorder.h>
     52
     53#include <net/socket_codes.h>
     54#include <net/in.h>
     55#include <net/in6.h>
     56#include <net/inet.h>
     57#include <net/modules.h>
     58#include <net/device.h>
     59#include <net/packet.h>
     60#include <net/icmp_codes.h>
     61
    5062#include <arp_interface.h>
    51 #include <net_byteorder.h>
    5263#include <net_checksum.h>
    53 #include <net_device.h>
    5464#include <icmp_client.h>
    55 #include <icmp_codes.h>
    5665#include <icmp_interface.h>
    5766#include <il_interface.h>
    58 #include <in.h>
    59 #include <in6.h>
    60 #include <inet.h>
    6167#include <ip_client.h>
    6268#include <ip_interface.h>
     
    6470#include <nil_interface.h>
    6571#include <tl_interface.h>
    66 #include <socket_codes.h>
    67 #include <socket_errno.h>
    6872#include <adt/measured_strings.h>
    6973#include <adt/module_map.h>
    70 #include <packet/packet_client.h>
     74#include <packet_client.h>
    7175#include <packet_remote.h>
    72 #include <nil_messages.h>
    73 #include <il_messages.h>
    7476#include <il_local.h>
    75 #include <ip_local.h>
    7677
    7778#include "ip.h"
    7879#include "ip_header.h"
    79 #include "ip_messages.h"
    8080#include "ip_module.h"
     81#include "ip_local.h"
    8182
    8283/** IP module name.
     
    422423        ip_globals.client_connection = client_connection;
    423424        ERROR_PROPAGATE(modules_initialize(&ip_globals.modules));
    424         ERROR_PROPAGATE(add_module(NULL, &ip_globals.modules, ARP_NAME, ARP_FILENAME, SERVICE_ARP, arp_task_get_id(), arp_connect_module));
     425        ERROR_PROPAGATE(add_module(NULL, &ip_globals.modules, ARP_NAME, ARP_FILENAME, SERVICE_ARP, 0, arp_connect_module));
    425426        fibril_rwlock_write_unlock(&ip_globals.lock);
    426427        return EOK;
     
    619620        fibril_rwlock_write_unlock(&ip_globals.netifs_lock);
    620621        return EOK;
    621 }
    622 
    623 int ip_connect_module(services_t service){
    624         return EOK;
    625 }
    626 
    627 int ip_bind_service(services_t service, int protocol, services_t me, async_client_conn_t receiver, tl_received_msg_t received_msg){
    628         return ip_register(protocol, me, 0, received_msg);
    629622}
    630623
Note: See TracChangeset for help on using the changeset viewer.