OpenCores
URL https://opencores.org/ocsvn/or1k_old/or1k_old/trunk

Subversion Repositories or1k_old

[/] [or1k_old/] [trunk/] [uclinux/] [uClinux-2.0.x/] [net/] [netsyms.c] - Blame information for rev 1782

Details | Compare with Previous | View Log

Line No. Rev Author Line
1 199 simons
/*
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/fddidevice.h>
16
#include <linux/ioport.h>
17
#include <net/sock.h>
18
 
19
#ifdef CONFIG_INET
20
#include <linux/ip.h>
21
#include <linux/etherdevice.h>
22
#include <net/protocol.h>
23
#include <net/arp.h>
24
#include <net/ip.h>
25
#include <net/udp.h>
26
#include <net/tcp.h>
27
#include <net/icmp.h>
28
#include <net/route.h>
29
#include <linux/net_alias.h>
30
#include <linux/inet.h>
31
#endif
32
 
33
#ifdef CONFIG_NETLINK
34
#include <net/netlink.h>
35
#endif
36
 
37
#ifdef CONFIG_NET_ALIAS
38
#include <linux/net_alias.h>
39
#endif
40
 
41
#if     defined(CONFIG_ULTRA)   ||      defined(CONFIG_WD80x3)          || \
42
        defined(CONFIG_EL2)     ||      defined(CONFIG_NE2000)          || \
43
        defined(CONFIG_E2100)   ||      defined(CONFIG_HPLAN_PLUS)      || \
44
        defined(CONFIG_HPLAN)   ||      defined(CONFIG_AC3200)          || \
45
        defined(CONFIG_ULTRA32) ||      defined(CONFIG_NE2K_PCI)
46
#include "../drivers/net/8390.h"
47
#endif
48
 
49
extern int (*rarp_ioctl_hook)(int,void*);
50
 
51
#ifdef CONFIG_IPX_MODULE
52
extern struct datalink_proto   *make_EII_client(void);
53
extern struct datalink_proto   *make_8023_client(void);
54
extern void destroy_EII_client(struct datalink_proto *);
55
extern void destroy_8023_client(struct datalink_proto *);
56
#endif
57
 
58
#ifdef CONFIG_DLCI_MODULE
59
extern int (*dlci_ioctl_hook)(unsigned int, void *);
60
#endif
61
 
62
static struct symbol_table net_syms = {
63
#include <linux/symtab_begin.h>
64
 
65
        /* Socket layer registration */
66
        X(sock_register),
67
        X(sock_unregister),
68
 
69
        X(sock_alloc),
70
        X(sock_release),
71
 
72
        /* Socket layer support routines */
73
        X(memcpy_fromiovec),
74
        X(sock_setsockopt),
75
        X(sock_getsockopt),
76
        X(sk_alloc),
77
        X(sk_free),
78
        X(sock_wake_async),
79
        X(sock_alloc_send_skb),
80
        X(skb_recv_datagram),
81
        X(skb_free_datagram),
82
        X(skb_copy_datagram),
83
        X(skb_copy_datagram_iovec),
84
        X(datagram_select),
85
 
86
#ifdef CONFIG_IPX_MODULE
87
        X(make_8023_client),
88
        X(destroy_8023_client),
89
        X(make_EII_client),
90
        X(destroy_EII_client),
91
#endif
92
 
93
#ifdef CONFIG_INET
94
        /* Internet layer registration */
95
        X(inet_add_protocol),
96
        X(inet_del_protocol),
97
        X(rarp_ioctl_hook),
98
 
99
#ifdef CONFIG_DLCI_MODULE
100
        X(dlci_ioctl_hook),
101
#endif
102
 
103
        X(init_etherdev),
104
        X(ip_rt_route),
105
        X(ip_rt_dev),
106
        X(icmp_send),
107
        X(ip_options_compile),
108
        X(ip_rt_put),
109
        X(arp_send),
110
        X(arp_bind_cache),
111
        X(ip_id_count),
112
        X(ip_send_check),
113
        X(ip_forward),
114
        X(ip_queue_xmit),
115
        X(ip_fragment),
116
        X(sysctl_ip_forward),
117
 
118
#if     defined(CONFIG_ULTRA)   ||      defined(CONFIG_WD80x3)          || \
119
        defined(CONFIG_EL2)     ||      defined(CONFIG_NE2000)          || \
120
        defined(CONFIG_E2100)   ||      defined(CONFIG_HPLAN_PLUS)      || \
121
        defined(CONFIG_HPLAN)   ||      defined(CONFIG_AC3200)          || \
122
        defined(CONFIG_ULTRA32) ||      defined(CONFIG_NE2K_PCI)
123
        /* If 8390 NIC support is built in, we will need these. */
124
        X(ei_open),
125
        X(ei_close),
126
        X(ei_debug),
127
        X(ei_interrupt),
128
        X(ethdev_init),
129
        X(NS8390_init),
130
#endif
131
 
132
#ifdef CONFIG_TR
133
        X(tr_setup),
134
        X(tr_type_trans),
135
#endif
136
 
137
#ifdef CONFIG_FDDI
138
        X(fddi_setup),
139
        X(fddi_type_trans),
140
#endif
141
 
142
#ifdef CONFIG_NET_ALIAS
143
#include <linux/net_alias.h>
144
#endif
145
 
146
#endif  /* CONFIG_INET */
147
 
148
        /* Device callback registration */
149
        X(register_netdevice_notifier),
150
        X(unregister_netdevice_notifier),
151
 
152
#ifdef CONFIG_NET_ALIAS
153
        X(register_net_alias_type),
154
        X(unregister_net_alias_type),
155
#endif
156
 
157
        /* support for loadable net drivers */
158
#ifdef CONFIG_INET
159
        X(register_netdev),
160
        X(unregister_netdev),
161
        X(ether_setup),
162
        X(eth_type_trans),
163
        X(eth_copy_and_sum),
164
        X(arp_query),
165
        X(alloc_skb),
166
        X(kfree_skb),
167
        X(skb_clone),
168
        X(skb_copy),
169
        X(dev_alloc_skb),
170
        X(dev_kfree_skb),
171
        X(skb_device_unlock),
172
        X(skb_device_locked),
173
        X(netif_rx),
174
        X(dev_tint),
175
        X(irq2dev_map),
176
        X(dev_add_pack),
177
        X(dev_remove_pack),
178
        X(dev_get),
179
        X(dev_ioctl),
180
        X(dev_queue_xmit),
181
        X(dev_base),
182
        X(dev_close),
183
        X(dev_mc_add),
184
        X(arp_find),
185
        X(n_tty_ioctl),
186
        X(tty_register_ldisc),
187
        X(kill_fasync),
188
        X(arp_query),
189
        X(ip_rcv),
190
        X(arp_rcv),
191
        X(in_aton),
192
        X(in_ntoa),
193
#endif  /* CONFIG_INET */
194
 
195
#ifdef CONFIG_NETLINK
196
        X(netlink_attach),
197
        X(netlink_detach),
198
        X(netlink_donothing),
199
        X(netlink_post),
200
#endif /* CONFIG_NETLINK */
201
 
202
#include <linux/symtab_end.h>
203
};
204
 
205
void export_net_symbols(void)
206
{
207
        register_symtab(&net_syms);
208
}

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.