Changeset b278b4e in mainline for uspace/lib/net/include


Ignore:
Timestamp:
2010-10-10T19:52:27Z (15 years ago)
Author:
Jakub Jermar <jakub@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
10056483
Parents:
ae972834 (diff), eb51e31 (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 from lp:~jakub/helenos/net.

This is mostly removal of the bundle build support for the networking stack as
we don't want to manually maintain both bundled and modular configurations.

Location:
uspace/lib/net/include
Files:
1 deleted
6 edited

Legend:

Unmodified
Added
Removed
  • uspace/lib/net/include/arp_interface.h

    rae972834 rb278b4e  
    104104 *  @param service The ARP module service. Ignored parameter.
    105105 *  @returns The ARP module phone on success.
    106  *  @returns 0 if called by the bundle module.
    107106 */
    108107extern int arp_connect_module(services_t service);
    109108
    110109/** Returns the ARP task identifier.
    111  *  @returns The current task identifier if called by the bundle module.
    112110 *  @returns 0 if called by the remote module.
    113111 */
  • uspace/lib/net/include/ip_interface.h

    rae972834 rb278b4e  
    4444#include <ip_codes.h>
    4545
    46 #ifdef CONFIG_IL_TL_BUNDLE
    47 
    48 #include <ip_local.h>
    49 
    50 #define ip_received_error_msg  ip_received_error_msg_local
    51 #define ip_set_gateway_req     ip_set_gateway_req_local
    52 #define ip_packet_size_req     ip_packet_size_req_local
    53 #define ip_device_req          ip_device_req_local
    54 #define ip_add_route_req       ip_add_route_req_local
    55 #define ip_send_msg            ip_send_msg_local
    56 #define ip_get_route_req       ip_get_route_req_local
    57 
    58 #else
    59 
    6046#include <ip_remote.h>
    6147
     
    6753#define ip_send_msg            ip_send_msg_remote
    6854#define ip_get_route_req       ip_get_route_req_remote
    69 
    70 #endif
    7155
    7256/** @name IP module interface
     
    10084 *  @param service The IP module service. Ignored parameter.
    10185 *  @returns The IP module phone on success.
    102  *  @returns 0 if called by the bundle module.
    10386 */
    10487extern int ip_connect_module(services_t service);
  • uspace/lib/net/include/net_interface.h

    rae972834 rb278b4e  
    8585 *  @param service The networking module service. Ignored parameter.
    8686 *  @returns The networking module phone on success.
    87  *  @returns 0 if called by the bundle module.
    8887 */
    8988extern int net_connect_module(services_t service);
  • uspace/lib/net/include/netif_interface.h

    rae972834 rb278b4e  
    3434#define __NET_NETIF_INTERFACE_H__
    3535
    36 #ifdef CONFIG_NETIF_NIL_BUNDLE
    37 
    38 #include <netif_local.h>
    39 #include <netif_nil_bundle.h>
    40 #include <packet/packet_server.h>
    41 
    42 #define netif_module_message    netif_nil_module_message
    43 #define netif_module_start      netif_nil_module_start
    44 #define netif_get_addr_req      netif_get_addr_req_local
    45 #define netif_probe_req         netif_probe_req_local
    46 #define netif_send_msg          netif_send_msg_local
    47 #define netif_start_req         netif_start_req_local
    48 #define netif_stop_req          netif_stop_req_local
    49 #define netif_stats_req         netif_stats_req_local
    50 #define netif_bind_service      netif_bind_service_local
    51 
    52 #else /* CONFIG_NETIF_NIL_BUNDLE */
    53 
    5436#include <netif_remote.h>
    5537#include <packet_client.h>
     
    6547#define netif_bind_service      netif_bind_service_remote
    6648
    67 #endif /* CONFIG_NETIF_NIL_BUNDLE */
    68 
    6949#endif
    7050
  • uspace/lib/net/include/netif_local.h

    rae972834 rb278b4e  
    3434 * Network interface module skeleton.
    3535 * The skeleton has to be part of each network interface module.
    36  * The skeleton can be also part of the module bundled with the network interface layer.
    3736 */
    3837
  • uspace/lib/net/include/nil_interface.h

    rae972834 rb278b4e  
    6868
    6969
    70 #ifdef CONFIG_NETIF_NIL_BUNDLE
    71 
    72 #include <nil_local.h>
    73 #include <packet/packet_server.h>
    74 
    75 #define nil_device_state_msg  nil_device_state_msg_local
    76 #define nil_received_msg      nil_received_msg_local
    77 
    78 #else /* CONFIG_NETIF_NIL_BUNDLE */
    79 
    8070#include <nil_remote.h>
    8171#include <packet/packet_server.h>
     
    8474#define nil_received_msg      nil_received_msg_remote
    8575
    86 #endif /* CONFIG_NETIF_NIL_BUNDLE */
    87 
    8876#endif
    8977
Note: See TracChangeset for help on using the changeset viewer.