Changeset a7a85d16 in mainline for uspace/srv
- Timestamp:
- 2010-10-16T17:16:30Z (15 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 668f8cbf, e0e568ff, f14291b
- Parents:
- ef689ef0 (diff), c62ae1d6 (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. - Location:
- uspace/srv/net
- Files:
-
- 15 edited
- 1 moved
Legend:
- Unmodified
- Added
- Removed
-
uspace/srv/net/il/arp/arp.c
ref689ef0 ra7a85d16 46 46 #include <ipc/services.h> 47 47 #include <ipc/net.h> 48 #include <ipc/arp.h> 49 #include <ipc/il.h> 48 50 #include <byteorder.h> 49 51 #include <err.h> … … 58 60 #include <packet_client.h> 59 61 #include <packet_remote.h> 60 #include <il_messages.h>61 62 #include <il_interface.h> 62 63 #include <il_local.h> 63 #include <arp_messages.h>64 64 65 65 #include "arp.h" … … 534 534 } 535 535 return EOK; 536 }537 538 task_id_t arp_task_get_id(void){539 return task_get_id();540 536 } 541 537 -
uspace/srv/net/il/arp/arp_module.c
ref689ef0 ra7a85d16 80 80 81 81 async_set_client_connection(client_connection); 82 arp_globals.net_phone = net_connect_module( SERVICE_NETWORKING);82 arp_globals.net_phone = net_connect_module(); 83 83 ERROR_PROPAGATE(pm_init()); 84 84 -
uspace/srv/net/il/ip/ip.c
ref689ef0 ra7a85d16 45 45 #include <ipc/services.h> 46 46 #include <ipc/net.h> 47 #include <ipc/nil.h> 48 #include <ipc/il.h> 49 #include <ipc/ip.h> 47 50 #include <sys/types.h> 48 51 #include <byteorder.h> … … 71 74 #include <packet_client.h> 72 75 #include <packet_remote.h> 73 #include <nil_messages.h>74 #include <il_messages.h>75 76 #include <il_local.h> 76 #include <ip_local.h>77 77 78 78 #include "ip.h" 79 79 #include "ip_header.h" 80 #include "ip_messages.h"81 80 #include "ip_module.h" 81 #include "ip_local.h" 82 82 83 83 /** IP module name. … … 423 423 ip_globals.client_connection = client_connection; 424 424 ERROR_PROPAGATE(modules_initialize(&ip_globals.modules)); 425 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)); 426 426 fibril_rwlock_write_unlock(&ip_globals.lock); 427 427 return EOK; -
uspace/srv/net/il/ip/ip_local.h
ref689ef0 ra7a85d16 31 31 */ 32 32 33 #ifndef __NET_IP_LOCAL_H__34 #define __NET_IP_LOCAL_H__33 #ifndef NET_IP_LOCAL_H_ 34 #define NET_IP_LOCAL_H_ 35 35 36 36 #include <async.h> -
uspace/srv/net/il/ip/ip_module.c
ref689ef0 ra7a85d16 79 79 80 80 async_set_client_connection(client_connection); 81 ip_globals.net_phone = net_connect_module( SERVICE_NETWORKING);81 ip_globals.net_phone = net_connect_module(); 82 82 ERROR_PROPAGATE(pm_init()); 83 83 -
uspace/srv/net/net/net.c
ref689ef0 ra7a85d16 46 46 47 47 #include <ipc/ipc.h> 48 #include <ipc/services.h> 48 49 #include <ipc/net.h> 49 #include <ipc/services.h> 50 #include <ipc/net_net.h> 51 #include <ipc/il.h> 50 52 51 53 #include <net/modules.h> … … 55 57 #include <adt/module_map.h> 56 58 #include <net/packet.h> 57 #include <il_messages.h>58 59 #include <netif_remote.h> 59 60 #include <net/device.h> … … 61 62 #include <net_interface.h> 62 63 #include <ip_interface.h> 63 #include <net_net_messages.h>64 64 65 65 #include "net.h" -
uspace/srv/net/netif/lo/lo.c
ref689ef0 ra7a85d16 43 43 #include <ipc/ipc.h> 44 44 #include <ipc/services.h> 45 #include <ipc/nil.h> 45 46 46 47 #include <net/modules.h> … … 49 50 #include <net/device.h> 50 51 #include <nil_interface.h> 51 #include <nil_messages.h>52 52 #include <netif_interface.h> 53 53 #include <netif_local.h> -
uspace/srv/net/netstart/netstart.c
ref689ef0 ra7a85d16 48 48 #include <ipc/ipc.h> 49 49 #include <ipc/services.h> 50 #include <ipc/net_net.h> 50 51 51 52 #include <net/modules.h> 52 #include <net_net_messages.h>53 53 54 54 #include "self_test.h" -
uspace/srv/net/nil/eth/eth_module.c
ref689ef0 ra7a85d16 63 63 64 64 async_set_client_connection(client_connection); 65 int net_phone = net_connect_module( SERVICE_NETWORKING);65 int net_phone = net_connect_module(); 66 66 ERROR_PROPAGATE(pm_init()); 67 67 -
uspace/srv/net/nil/nildummy/nildummy_module.c
ref689ef0 ra7a85d16 71 71 72 72 async_set_client_connection(client_connection); 73 int net_phone = net_connect_module( SERVICE_NETWORKING);73 int net_phone = net_connect_module(); 74 74 ERROR_PROPAGATE(pm_init()); 75 75 -
uspace/srv/net/tl/icmp/icmp.c
ref689ef0 ra7a85d16 45 45 #include <ipc/services.h> 46 46 #include <ipc/net.h> 47 #include <ipc/tl.h> 47 48 #include <ipc/icmp.h> 48 49 #include <sys/time.h> … … 69 70 #include <ip_interface.h> 70 71 #include <net_interface.h> 71 #include <tl_messages.h>72 72 #include <tl_interface.h> 73 73 #include <tl_local.h> -
uspace/srv/net/tl/icmp/icmp_module.c
ref689ef0 ra7a85d16 69 69 70 70 async_set_client_connection(client_connection); 71 icmp_globals.net_phone = net_connect_module( SERVICE_NETWORKING);71 icmp_globals.net_phone = net_connect_module(); 72 72 if(icmp_globals.net_phone < 0){ 73 73 return icmp_globals.net_phone; -
uspace/srv/net/tl/tcp/tcp.c
ref689ef0 ra7a85d16 48 48 #include <ipc/services.h> 49 49 #include <ipc/net.h> 50 #include <ipc/tl.h> 50 51 #include <ipc/socket.h> 51 52 … … 68 69 #include <socket_core.h> 69 70 #include <tl_common.h> 70 #include <tl_messages.h>71 71 #include <tl_local.h> 72 72 #include <tl_interface.h> -
uspace/srv/net/tl/tcp/tcp_module.c
ref689ef0 ra7a85d16 71 71 72 72 async_set_client_connection(client_connection); 73 tcp_globals.net_phone = net_connect_module( SERVICE_NETWORKING);73 tcp_globals.net_phone = net_connect_module(); 74 74 ERROR_PROPAGATE(pm_init()); 75 75 -
uspace/srv/net/tl/udp/udp.c
ref689ef0 ra7a85d16 43 43 #include <ipc/services.h> 44 44 #include <ipc/net.h> 45 #include <ipc/tl.h> 45 46 #include <ipc/socket.h> 46 47 #include <errno.h> … … 67 68 #include <tl_local.h> 68 69 #include <tl_interface.h> 69 #include <tl_messages.h>70 70 71 71 #include "udp.h" -
uspace/srv/net/tl/udp/udp_module.c
ref689ef0 ra7a85d16 69 69 70 70 async_set_client_connection(client_connection); 71 udp_globals.net_phone = net_connect_module( SERVICE_NETWORKING);71 udp_globals.net_phone = net_connect_module(); 72 72 if(udp_globals.net_phone < 0){ 73 73 return udp_globals.net_phone;
Note:
See TracChangeset
for help on using the changeset viewer.