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

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