Ignore:
File:
1 edited

Legend:

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

    r42a9f27 r14f1db0  
    2727 */
    2828
    29 /** @addtogroup libnet
     29/** @addtogroup netif
    3030 * @{
    3131 */
    3232
    33 #ifndef LIBNET_NETIF_INTERFACE_H_
    34 #define LIBNET_NETIF_INTERFACE_H_
     33#ifndef __NET_NETIF_INTERFACE_H__
     34#define __NET_NETIF_INTERFACE_H__
     35
     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 */
    3553
    3654#include <netif_remote.h>
    37 #include <packet_client.h>
     55#include <packet/packet_client.h>
    3856
    3957#define netif_module_message    netif_module_message_standalone
     
    4765#define netif_bind_service      netif_bind_service_remote
    4866
     67#endif /* CONFIG_NETIF_NIL_BUNDLE */
     68
    4969#endif
    5070
Note: See TracChangeset for help on using the changeset viewer.