Changeset 514ee46 in mainline


Ignore:
Timestamp:
2010-10-14T21:50:26Z (14 years ago)
Author:
Jakub Jermar <jakub@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
f63a591d
Parents:
a358279
Message:

Move the rest of net_messages.h to standard library.

Location:
uspace
Files:
2 added
1 deleted
28 edited

Legend:

Unmodified
Added
Removed
  • uspace/lib/net/Makefile

    ra358279 r514ee46  
    3333
    3434SOURCES = \
     35        generic/generic.c \
    3536        generic/net_remote.c \
    3637        generic/net_checksum.c \
  • uspace/lib/net/generic/net_remote.c

    ra358279 r514ee46  
    4040#include <malloc.h>
    4141
    42 #include <net_messages.h>
     42#include <generic.h>
    4343#include <net/modules.h>
    4444#include <net/device.h>
  • uspace/lib/net/generic/packet_client.c

    ra358279 r514ee46  
    4343#include <packet_client.h>
    4444
    45 #include <net_messages.h>
    4645#include <net/packet.h>
    4746#include <net/packet_header.h>
  • uspace/lib/net/generic/packet_remote.c

    ra358279 r514ee46  
    4343#include <sys/mman.h>
    4444
    45 #include <net_messages.h>
    4645#include <packet_client.h>
    4746#include <packet_remote.h>
  • uspace/lib/net/il/arp_remote.c

    ra358279 r514ee46  
    3636 */
    3737
     38#include <arp_interface.h>
     39#include <arp_messages.h>
     40#include <generic.h>
     41
    3842#include <async.h>
    3943#include <errno.h>
     
    4145#include <ipc/services.h>
    4246
    43 #include <net_messages.h>
    4447#include <net/modules.h>
    4548#include <net/device.h>
    46 #include <arp_interface.h>
    4749#include <adt/measured_strings.h>
    48 #include <arp_messages.h>
    4950
    5051int arp_connect_module(services_t service){
  • uspace/lib/net/il/ip_remote.c

    ra358279 r514ee46  
    4040 */
    4141
     42#include <ip_remote.h>
     43#include <ip_interface.h>
     44#include <ip_messages.h>
     45#include <il_messages.h>
     46#include <packet_client.h>
     47#include <generic.h>
     48
    4249#include <ipc/services.h>
    4350
    44 #include <net_messages.h>
    4551#include <net/modules.h>
    4652#include <net/device.h>
    4753#include <net/inet.h>
    48 #include <ip_interface.h>
    49 #include <packet_client.h>
    50 #include <il_messages.h>
    51 #include <ip_messages.h>
    52 #include <ip_remote.h>
    5354
    5455/** Add a route to the device routing table.
  • uspace/lib/net/include/arp_interface.h

    ra358279 r514ee46  
    3535
    3636#include <adt/measured_strings.h>
     37#include <task.h>
     38
     39#include <ipc/services.h>
     40
    3741#include <net/device.h>
     42#include <net/socket.h>
    3843
    3944/** @name ARP module interface
  • uspace/lib/net/include/il_interface.h

    ra358279 r514ee46  
    3939#define __NET_IL_INTERFACE_H__
    4040
    41 #include <async.h>
     41#include <generic.h>
    4242
    4343#include <ipc/services.h>
    4444
    45 #include <net_messages.h>
    4645#include <net/device.h>
    4746#include <net/packet.h>
     47#include <il_messages.h>
     48
    4849#include <packet_client.h>
    49 #include <il_messages.h>
    5050
    5151/** @name Internetwork layer module interface
  • uspace/lib/net/include/ip_remote.h

    ra358279 r514ee46  
    3434#define __NET_IP_REMOTE_H__
    3535
    36 #include <async.h>
    3736#include <ipc/services.h>
    3837
     
    4039#include <net/inet.h>
    4140#include <net/in.h>
     41#include <net/packet.h>
     42#include <net/device.h>
     43#include <net/socket.h>
    4244
    4345extern int ip_set_gateway_req_remote(int, device_id_t, in_addr_t);
  • uspace/lib/net/include/netif_remote.h

    ra358279 r514ee46  
    3434#define __NET_NETIF_REMOTE_H__
    3535
    36 #include <async.h>
    37 #include <fibril_synch.h>
    38 #include <ipc/ipc.h>
     36#include <ipc/services.h>
     37#include <adt/measured_strings.h>
     38#include <net/device.h>
    3939
    4040extern int netif_get_addr_req_remote(int, device_id_t, measured_string_ref *,
  • uspace/lib/net/include/nil_interface.h

    ra358279 r514ee46  
    3939#include <ipc/ipc.h>
    4040
    41 #include <net_messages.h>
    42 #include <adt/measured_strings.h>
    43 #include <net/packet.h>
     41#include <generic.h>
    4442#include <nil_messages.h>
    45 #include <net/device.h>
     43#include <nil_remote.h>
    4644
    4745#define nil_bind_service(service, device_id, me, receiver) \
     
    6765            netif_service)
    6866
    69 
    70 #include <nil_remote.h>
    71 #include <packet/packet_server.h>
    72 
    7367#define nil_device_state_msg  nil_device_state_msg_remote
    7468#define nil_received_msg      nil_received_msg_remote
  • uspace/lib/net/include/nil_remote.h

    ra358279 r514ee46  
    3434#define __NET_NIL_REMOTE_H__
    3535
    36 #include <async.h>
    37 #include <fibril_synch.h>
    38 #include <ipc/ipc.h>
     36#include <ipc/services.h>
     37#include <net/device.h>
     38#include <net/packet.h>
    3939
    4040extern int nil_device_state_msg_remote(int, device_id_t, int);
  • uspace/lib/net/include/tl_interface.h

    ra358279 r514ee46  
    4141#include <ipc/services.h>
    4242
    43 #include <net_messages.h>
     43#include <generic.h>
    4444#include <net/device.h>
    4545#include <net/packet.h>
  • uspace/lib/net/netif/netif_local.c

    ra358279 r514ee46  
    4444#include <err.h>
    4545
    46 #include <net_messages.h>
     46#include <generic.h>
    4747#include <net/modules.h>
    4848#include <net/packet.h>
  • uspace/lib/net/netif/netif_remote.c

    ra358279 r514ee46  
    4444#include <netif_remote.h>
    4545#include <netif_messages.h>
    46 #include <net_messages.h>
     46#include <generic.h>
    4747
    4848int netif_get_addr_req_remote(int netif_phone, device_id_t device_id,
  • uspace/lib/net/nil/nil_remote.c

    ra358279 r514ee46  
    3636 */
    3737
    38 #include <net_messages.h>
     38#include <nil_remote.h>
     39#include <nil_interface.h>
     40#include <nil_messages.h>
     41#include <generic.h>
    3942#include <net/device.h>
    40 #include <nil_interface.h>
    4143#include <net/packet.h>
    4244#include <packet_client.h>
    43 #include <nil_messages.h>
    44 #include <nil_remote.h>
    4545
    4646/** Notify the network interface layer about the device state change.
  • uspace/lib/net/tl/icmp_remote.c

    ra358279 r514ee46  
    4343#include <sys/types.h>
    4444
    45 #include <net_messages.h>
    4645#include <net/modules.h>
    4746#include <icmp_interface.h>
  • uspace/lib/socket/packet/packet_server.c

    ra358279 r514ee46  
    4646#include <ipc/ipc.h>
    4747#include <ipc/packet.h>
     48#include <ipc/net.h>
     49
    4850#include <net/packet.h>
    4951#include <net/packet_header.h>
     52
    5053#include <packet/packet_server.h>
    51 
    52 #include <net_messages.h>
    5354#include <packet/packet_local.h>
    5455
  • uspace/srv/hw/netif/dp8390/dp8390_module.c

    ra358279 r514ee46  
    4444#include <ipc/services.h>
    4545
    46 #include <net_messages.h>
    4746#include <net/modules.h>
    4847#include <packet_client.h>
  • uspace/srv/net/il/arp/arp.c

    ra358279 r514ee46  
    4545#include <ipc/ipc.h>
    4646#include <ipc/services.h>
     47#include <ipc/net.h>
    4748#include <byteorder.h>
    4849#include <err.h>
    4950
    50 #include <net_messages.h>
    5151#include <net/modules.h>
    5252#include <net/device.h>
  • uspace/srv/net/il/ip/ip.c

    ra358279 r514ee46  
    4444#include <ipc/ipc.h>
    4545#include <ipc/services.h>
     46#include <ipc/net.h>
    4647#include <sys/types.h>
    4748#include <byteorder.h>
     
    5253#include <net/inet.h>
    5354#include <net/modules.h>
    54 
    55 #include <net_messages.h>
     55#include <net/device.h>
     56#include <net/packet.h>
     57#include <net/icmp_codes.h>
     58
    5659#include <arp_interface.h>
    5760#include <net_checksum.h>
    58 #include <net/device.h>
    5961#include <icmp_client.h>
    60 #include <net/icmp_codes.h>
    6162#include <icmp_interface.h>
    6263#include <il_interface.h>
  • uspace/srv/net/net/net.c

    ra358279 r514ee46  
    4646
    4747#include <ipc/ipc.h>
     48#include <ipc/net.h>
    4849#include <ipc/services.h>
    4950
    50 #include <net_messages.h>
    5151#include <net/modules.h>
    5252#include <adt/char_map.h>
  • uspace/srv/net/netif/lo/lo.c

    ra358279 r514ee46  
    4444#include <ipc/services.h>
    4545
    46 #include <net_messages.h>
    4746#include <net/modules.h>
    4847#include <adt/measured_strings.h>
  • uspace/srv/net/nil/eth/eth.c

    ra358279 r514ee46  
    4545
    4646#include <ipc/ipc.h>
     47#include <ipc/net.h>
    4748#include <ipc/services.h>
    4849
    49 #include <net_messages.h>
    5050#include <net/modules.h>
    5151#include <net_checksum.h>
  • uspace/srv/net/nil/nildummy/nildummy.c

    ra358279 r514ee46  
    4343#include <err.h>
    4444#include <ipc/ipc.h>
     45#include <ipc/net.h>
    4546#include <ipc/services.h>
    4647
    47 #include <net_messages.h>
    4848#include <net/modules.h>
    4949#include <net/device.h>
  • uspace/srv/net/tl/icmp/icmp.c

    ra358279 r514ee46  
    4444#include <ipc/ipc.h>
    4545#include <ipc/services.h>
     46#include <ipc/net.h>
    4647#include <ipc/icmp.h>
    4748#include <sys/time.h>
     
    5556#include <net/inet.h>
    5657
    57 #include <net_messages.h>
    5858#include <net/modules.h>
    5959#include <packet_client.h>
  • uspace/srv/net/tl/tcp/tcp.c

    ra358279 r514ee46  
    4747#include <ipc/ipc.h>
    4848#include <ipc/services.h>
     49#include <ipc/net.h>
    4950#include <ipc/socket.h>
    5051
     
    5657#include <net/modules.h>
    5758
    58 #include <net_messages.h>
    5959#include <adt/dynamic_fifo.h>
    6060#include <packet_client.h>
  • uspace/srv/net/tl/udp/udp.c

    ra358279 r514ee46  
    4242#include <ipc/ipc.h>
    4343#include <ipc/services.h>
     44#include <ipc/net.h>
    4445#include <ipc/socket.h>
    4546#include <errno.h>
     
    5354#include <net/modules.h>
    5455
    55 #include <net_messages.h>
    5656#include <adt/dynamic_fifo.h>
    5757#include <packet_client.h>
Note: See TracChangeset for help on using the changeset viewer.