root/net/netsyms.c

/* [previous][next][first][last][top][bottom][index][help] */

DEFINITIONS

This source file includes following definitions.
  1. export_net_symbols

   1 /*
   2  *  linux/net/netsyms.c
   3  *
   4  *  Symbol table for the linux networking subsystem. Moved here to
   5  *  make life simpler in ksyms.c.
   6  */
   7 
   8 #include <linux/config.h>
   9 #include <linux/module.h>
  10 
  11 #include <linux/in.h>
  12 #include <linux/net.h>
  13 #include <linux/netdevice.h>
  14 #include <linux/firewall.h>
  15 #include <linux/trdevice.h>
  16 #include <linux/ioport.h>
  17 
  18 #ifdef CONFIG_AX25
  19 #include <net/ax25.h>
  20 #endif
  21 
  22 #ifdef CONFIG_INET
  23 #include <linux/ip.h>
  24 #include <linux/etherdevice.h>
  25 #include <net/protocol.h>
  26 #include <net/arp.h>
  27 #include <net/ip.h>
  28 #include <net/udp.h>
  29 #include <net/tcp.h>
  30 #include <net/icmp.h>
  31 #include <net/route.h>
  32 #include <linux/net_alias.h>
  33 #endif
  34 
  35 #ifdef CONFIG_NET_ALIAS
  36 #include <linux/net_alias.h>
  37 #endif
  38 
  39 #if     defined(CONFIG_ULTRA)   ||      defined(CONFIG_WD80x3)          || \
  40         defined(CONFIG_EL2)     ||      defined(CONFIG_NE2000)          || \
  41         defined(CONFIG_E2100)   ||      defined(CONFIG_HPLAN_PLUS)      || \
  42         defined(CONFIG_HPLAN)   ||      defined(CONFIG_AC3200)
  43 #include "../drivers/net/8390.h"
  44 #endif
  45 
  46 extern int (*rarp_ioctl_hook)(int,void*);
  47 
  48 #ifdef CONFIG_IPX_MODULE
  49 extern struct datalink_proto   *make_EII_client(void);
  50 extern struct datalink_proto   *make_8023_client(void);
  51 extern void destroy_EII_client(struct datalink_proto *);
  52 extern void destroy_8023_client(struct datalink_proto *);
  53 #endif
  54 
  55 
  56 static struct symbol_table net_syms = {
  57 #include <linux/symtab_begin.h>
  58 
  59         /* Socket layer registration */
  60         X(sock_register),
  61         X(sock_unregister),
  62 
  63         /* Socket layer support routines */
  64         X(memcpy_fromiovec),
  65         X(sock_setsockopt),
  66         X(sock_getsockopt),
  67         X(sk_alloc),
  68         X(sk_free),
  69         X(sock_wake_async),
  70         X(sock_alloc_send_skb),
  71         X(skb_recv_datagram),
  72         X(skb_free_datagram),
  73         X(skb_copy_datagram),
  74         X(skb_copy_datagram_iovec),
  75         X(datagram_select),
  76 
  77 #ifdef CONFIG_IPX_MODULE
  78         X(make_8023_client),
  79         X(destroy_8023_client),
  80         X(make_EII_client),
  81         X(destroy_EII_client),
  82 #endif
  83 
  84 #ifdef CONFIG_FIREWALL
  85         /* Firewall registration */
  86         X(register_firewall),
  87         X(unregister_firewall),
  88 #endif
  89 
  90 #ifdef CONFIG_INET
  91         /* Internet layer registration */
  92         X(inet_add_protocol),
  93         X(inet_del_protocol),
  94         X(rarp_ioctl_hook),
  95         X(init_etherdev),
  96         X(ip_rt_route),
  97         X(icmp_send),
  98         X(ip_options_compile),
  99         X(ip_rt_put),
 100         X(arp_send),
 101         X(ip_id_count),
 102         X(ip_send_check),
 103 #ifdef CONFIG_IP_FORWARD
 104         X(ip_forward),
 105 #endif
 106 
 107 #if     defined(CONFIG_ULTRA)   ||      defined(CONFIG_WD80x3)          || \
 108         defined(CONFIG_EL2)     ||      defined(CONFIG_NE2000)          || \
 109         defined(CONFIG_E2100)   ||      defined(CONFIG_HPLAN_PLUS)      || \
 110         defined(CONFIG_HPLAN)   ||      defined(CONFIG_AC3200)
 111         /* If 8390 NIC support is built in, we will need these. */
 112         X(ei_open),
 113         X(ei_close),
 114         X(ei_debug),
 115         X(ei_interrupt),
 116         X(ethdev_init),
 117         X(NS8390_init),
 118 #endif
 119 
 120 #ifdef CONFIG_TR
 121         X(tr_setup),
 122         X(tr_type_trans),
 123 #endif
 124                           
 125 #ifdef CONFIG_NET_ALIAS
 126 #include <linux/net_alias.h>
 127 #endif
 128 
 129 #endif  /* CONFIG_INET */
 130 
 131         /* Device callback registration */
 132         X(register_netdevice_notifier),
 133         X(unregister_netdevice_notifier),
 134 
 135 #ifdef CONFIG_NET_ALIAS
 136         X(register_net_alias_type),
 137         X(unregister_net_alias_type),
 138 #endif
 139 
 140         /* support for loadable net drivers */
 141 #ifdef CONFIG_AX25
 142         X(ax25_encapsulate),
 143         X(ax25_rebuild_header),
 144 #endif
 145 #ifdef CONFIG_INET
 146         X(register_netdev),
 147         X(unregister_netdev),
 148         X(ether_setup),
 149         X(eth_type_trans),
 150         X(eth_copy_and_sum),
 151         X(alloc_skb),
 152         X(kfree_skb),
 153         X(skb_clone),
 154         X(dev_alloc_skb),
 155         X(dev_kfree_skb),
 156         X(netif_rx),
 157         X(dev_tint),
 158         X(irq2dev_map),
 159         X(dev_add_pack),
 160         X(dev_remove_pack),
 161         X(dev_get),
 162         X(dev_ioctl),
 163         X(dev_queue_xmit),
 164         X(dev_base),
 165         X(dev_close),
 166         X(dev_mc_add),
 167         X(arp_find),
 168         X(n_tty_ioctl),
 169         X(tty_register_ldisc),
 170         X(kill_fasync),
 171 #ifdef CONFIG_FIREWALL
 172         X(call_in_firewall),
 173         X(call_out_firewall),
 174         X(call_fw_firewall),
 175 #endif
 176 #endif  /* CONFIG_INET */
 177 
 178 #include <linux/symtab_end.h>
 179 };
 180 
 181 void export_net_symbols(void)
     /* [previous][next][first][last][top][bottom][index][help] */
 182 {
 183         register_symtab(&net_syms);
 184 }

/* [previous][next][first][last][top][bottom][index][help] */