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/types.h>
12 #include <linux/net.h>
13 #include <linux/in.h>
14 #include <linux/netdevice.h>
15 #include <linux/inetdevice.h>
16 #include <linux/fddidevice.h>
17 #include <linux/trdevice.h>
18 #include <linux/fcdevice.h>
19 #include <linux/ioport.h>
20 #include <linux/tty.h>
21 #include <net/neighbour.h>
22 #include <net/snmp.h>
23 #include <net/dst.h>
24 #include <net/checksum.h>
25 #include <linux/etherdevice.h>
26 #include <net/route.h>
27 #ifdef CONFIG_HIPPI
28 #include <linux/hippidevice.h>
29 #endif
30 #include <net/pkt_sched.h>
31 #include <net/scm.h>
32 #include <linux/if_bridge.h>
33 #include <linux/if_vlan.h>
34 #include <linux/random.h>
35 #ifdef CONFIG_NET_DIVERT
36 #include <linux/divert.h>
37 #endif /* CONFIG_NET_DIVERT */
38 
39 #ifdef CONFIG_NET
40 extern __u32 sysctl_wmem_max;
41 extern __u32 sysctl_rmem_max;
42 extern int sysctl_optmem_max;
43 #endif
44 
45 #ifdef CONFIG_INET
46 #include <linux/ip.h>
47 #include <net/protocol.h>
48 #include <net/arp.h>
49 #if defined(CONFIG_ATM_CLIP) || defined(CONFIG_ATM_CLIP_MODULE)
50 #include <net/atmclip.h>
51 #endif
52 #include <net/ip.h>
53 #include <net/udp.h>
54 #include <net/tcp.h>
55 #include <net/icmp.h>
56 #include <net/inet_common.h>
57 #include <linux/inet.h>
58 #include <linux/mroute.h>
59 #include <linux/igmp.h>
60 
61 extern struct net_proto_family inet_family_ops;
62 
63 #if defined(CONFIG_IPV6) || defined (CONFIG_IPV6_MODULE) || defined (CONFIG_KHTTPD) || defined (CONFIG_KHTTPD_MODULE) || defined (CONFIG_IP_SCTP_MODULE)
64 #include <linux/in6.h>
65 #include <linux/icmpv6.h>
66 #include <net/ipv6.h>
67 #include <net/ndisc.h>
68 #include <net/transp_v6.h>
69 #include <net/addrconf.h>
70 
71 extern int sysctl_local_port_range[2];
72 extern int tcp_port_rover;
73 extern int udp_port_rover;
74 #endif
75 
76 #endif
77 
78 extern int netdev_finish_unregister(struct net_device *dev);
79 
80 #include <linux/rtnetlink.h>
81 
82 #ifdef CONFIG_IPX_MODULE
83 extern struct datalink_proto   *make_EII_client(void);
84 extern struct datalink_proto   *make_8023_client(void);
85 extern void destroy_EII_client(struct datalink_proto *);
86 extern void destroy_8023_client(struct datalink_proto *);
87 #endif
88 
89 #ifdef CONFIG_ATALK_MODULE
90 #include <net/sock.h>
91 #endif
92 
93 #ifdef CONFIG_SYSCTL
94 extern int sysctl_max_syn_backlog;
95 #endif
96 
97 /* Skbuff symbols. */
98 EXPORT_SYMBOL(skb_over_panic);
99 EXPORT_SYMBOL(skb_under_panic);
100 EXPORT_SYMBOL(skb_pad);
101 
102 /* Socket layer registration */
103 EXPORT_SYMBOL(sock_register);
104 EXPORT_SYMBOL(sock_unregister);
105 
106 /* Socket locking */
107 EXPORT_SYMBOL(__lock_sock);
108 EXPORT_SYMBOL(__release_sock);
109 
110 /* Socket layer support routines */
111 EXPORT_SYMBOL(memcpy_fromiovec);
112 EXPORT_SYMBOL(memcpy_tokerneliovec);
113 EXPORT_SYMBOL(sock_create);
114 EXPORT_SYMBOL(sock_alloc);
115 EXPORT_SYMBOL(sock_release);
116 EXPORT_SYMBOL(sock_setsockopt);
117 EXPORT_SYMBOL(sock_getsockopt);
118 EXPORT_SYMBOL(sock_sendmsg);
119 EXPORT_SYMBOL(sock_recvmsg);
120 EXPORT_SYMBOL(sk_alloc);
121 EXPORT_SYMBOL(sk_free);
122 EXPORT_SYMBOL(sock_wake_async);
123 EXPORT_SYMBOL(sock_alloc_send_skb);
124 EXPORT_SYMBOL(sock_alloc_send_pskb);
125 EXPORT_SYMBOL(sock_init_data);
126 EXPORT_SYMBOL(sock_no_release);
127 EXPORT_SYMBOL(sock_no_bind);
128 EXPORT_SYMBOL(sock_no_connect);
129 EXPORT_SYMBOL(sock_no_socketpair);
130 EXPORT_SYMBOL(sock_no_accept);
131 EXPORT_SYMBOL(sock_no_getname);
132 EXPORT_SYMBOL(sock_no_poll);
133 EXPORT_SYMBOL(sock_no_ioctl);
134 EXPORT_SYMBOL(sock_no_listen);
135 EXPORT_SYMBOL(sock_no_shutdown);
136 EXPORT_SYMBOL(sock_no_getsockopt);
137 EXPORT_SYMBOL(sock_no_setsockopt);
138 EXPORT_SYMBOL(sock_no_sendmsg);
139 EXPORT_SYMBOL(sock_no_recvmsg);
140 EXPORT_SYMBOL(sock_no_mmap);
141 EXPORT_SYMBOL(sock_no_sendpage);
142 EXPORT_SYMBOL(sock_rfree);
143 EXPORT_SYMBOL(sock_wfree);
144 EXPORT_SYMBOL(sock_wmalloc);
145 EXPORT_SYMBOL(sock_rmalloc);
146 EXPORT_SYMBOL(skb_linearize);
147 EXPORT_SYMBOL(skb_checksum);
148 EXPORT_SYMBOL(skb_checksum_help);
149 EXPORT_SYMBOL(skb_recv_datagram);
150 EXPORT_SYMBOL(skb_free_datagram);
151 EXPORT_SYMBOL(skb_copy_datagram);
152 EXPORT_SYMBOL(skb_copy_datagram_iovec);
153 EXPORT_SYMBOL(skb_copy_and_csum_datagram_iovec);
154 EXPORT_SYMBOL(skb_copy_bits);
155 EXPORT_SYMBOL(skb_copy_and_csum_bits);
156 EXPORT_SYMBOL(skb_copy_and_csum_dev);
157 EXPORT_SYMBOL(skb_copy_expand);
158 EXPORT_SYMBOL(___pskb_trim);
159 EXPORT_SYMBOL(__pskb_pull_tail);
160 EXPORT_SYMBOL(pskb_expand_head);
161 EXPORT_SYMBOL(pskb_copy);
162 EXPORT_SYMBOL(skb_realloc_headroom);
163 EXPORT_SYMBOL(datagram_poll);
164 EXPORT_SYMBOL(put_cmsg);
165 EXPORT_SYMBOL(sock_kmalloc);
166 EXPORT_SYMBOL(sock_kfree_s);
167 EXPORT_SYMBOL(sock_map_fd);
168 EXPORT_SYMBOL(sockfd_lookup);
169 
170 #ifdef CONFIG_FILTER
171 EXPORT_SYMBOL(sk_run_filter);
172 EXPORT_SYMBOL(sk_chk_filter);
173 #endif
174 
175 EXPORT_SYMBOL(neigh_table_init);
176 EXPORT_SYMBOL(neigh_table_clear);
177 EXPORT_SYMBOL(neigh_resolve_output);
178 EXPORT_SYMBOL(neigh_connected_output);
179 EXPORT_SYMBOL(neigh_update);
180 EXPORT_SYMBOL(neigh_create);
181 EXPORT_SYMBOL(neigh_lookup);
182 EXPORT_SYMBOL(neigh_lookup_nodev);
183 EXPORT_SYMBOL(__neigh_event_send);
184 EXPORT_SYMBOL(neigh_event_ns);
185 EXPORT_SYMBOL(neigh_ifdown);
186 EXPORT_SYMBOL(neigh_seq_start);
187 EXPORT_SYMBOL(neigh_seq_next);
188 EXPORT_SYMBOL(neigh_seq_stop);
189 #ifdef CONFIG_ARPD
190 EXPORT_SYMBOL(neigh_app_ns);
191 #endif
192 #ifdef CONFIG_SYSCTL
193 EXPORT_SYMBOL(neigh_sysctl_register);
194 #endif
195 EXPORT_SYMBOL(pneigh_lookup);
196 EXPORT_SYMBOL(pneigh_enqueue);
197 EXPORT_SYMBOL(neigh_destroy);
198 EXPORT_SYMBOL(neigh_parms_alloc);
199 EXPORT_SYMBOL(neigh_parms_release);
200 EXPORT_SYMBOL(neigh_rand_reach_time);
201 EXPORT_SYMBOL(neigh_compat_output);
202 EXPORT_SYMBOL(neigh_changeaddr);
203 
204 /*	dst_entry	*/
205 EXPORT_SYMBOL(dst_alloc);
206 EXPORT_SYMBOL(__dst_free);
207 EXPORT_SYMBOL(dst_destroy);
208 
209 /*	misc. support routines */
210 EXPORT_SYMBOL(net_ratelimit);
211 EXPORT_SYMBOL(net_random);
212 EXPORT_SYMBOL(net_srandom);
213 
214 /* Needed by smbfs.o */
215 EXPORT_SYMBOL(__scm_destroy);
216 EXPORT_SYMBOL(__scm_send);
217 
218 /* Needed by unix.o */
219 EXPORT_SYMBOL(scm_fp_dup);
220 EXPORT_SYMBOL(files_stat);
221 EXPORT_SYMBOL(memcpy_toiovec);
222 
223 #ifdef CONFIG_IPX_MODULE
224 EXPORT_SYMBOL(make_8023_client);
225 EXPORT_SYMBOL(destroy_8023_client);
226 EXPORT_SYMBOL(make_EII_client);
227 EXPORT_SYMBOL(destroy_EII_client);
228 #endif
229 
230 /* for 801q VLAN support */
231 #if defined(CONFIG_VLAN_8021Q) || defined(CONFIG_VLAN_8021Q_MODULE)
232 EXPORT_SYMBOL(dev_change_flags);
233 EXPORT_SYMBOL(vlan_ioctl_hook);
234 #endif
235 
236 EXPORT_SYMBOL(sklist_destroy_socket);
237 EXPORT_SYMBOL(sklist_insert_socket);
238 
239 EXPORT_SYMBOL(scm_detach_fds);
240 
241 #if defined(CONFIG_BRIDGE) || defined(CONFIG_BRIDGE_MODULE)
242 EXPORT_SYMBOL(br_handle_frame_hook);
243 #ifdef CONFIG_INET
244 EXPORT_SYMBOL(br_ioctl_hook);
245 #endif
246 #endif
247 
248 #ifdef CONFIG_NET_DIVERT
249 EXPORT_SYMBOL(alloc_divert_blk);
250 EXPORT_SYMBOL(free_divert_blk);
251 EXPORT_SYMBOL(divert_ioctl);
252 #endif /* CONFIG_NET_DIVERT */
253 
254 #ifdef CONFIG_INET
255 /* Internet layer registration */
256 EXPORT_SYMBOL(inetdev_lock);
257 EXPORT_SYMBOL(inet_add_protocol);
258 EXPORT_SYMBOL(inet_del_protocol);
259 EXPORT_SYMBOL(inet_register_protosw);
260 EXPORT_SYMBOL(inet_unregister_protosw);
261 EXPORT_SYMBOL(ip_route_output_key);
262 EXPORT_SYMBOL(ip_route_input);
263 EXPORT_SYMBOL(icmp_send);
264 EXPORT_SYMBOL(icmp_statistics);
265 EXPORT_SYMBOL(icmp_err_convert);
266 EXPORT_SYMBOL(ip_options_compile);
267 EXPORT_SYMBOL(ip_options_undo);
268 EXPORT_SYMBOL(arp_create);
269 EXPORT_SYMBOL(arp_xmit);
270 EXPORT_SYMBOL(arp_send);
271 EXPORT_SYMBOL(arp_broken_ops);
272 EXPORT_SYMBOL(__ip_select_ident);
273 EXPORT_SYMBOL(ip_send_check);
274 EXPORT_SYMBOL(ip_fragment);
275 EXPORT_SYMBOL(inet_family_ops);
276 EXPORT_SYMBOL(in_aton);
277 EXPORT_SYMBOL(ip_mc_inc_group);
278 EXPORT_SYMBOL(ip_mc_dec_group);
279 EXPORT_SYMBOL(ip_mc_join_group);
280 EXPORT_SYMBOL(ip_finish_output);
281 EXPORT_SYMBOL(inet_stream_ops);
282 EXPORT_SYMBOL(inet_dgram_ops);
283 EXPORT_SYMBOL(ip_cmsg_recv);
284 EXPORT_SYMBOL(inet_addr_type);
285 EXPORT_SYMBOL(inet_select_addr);
286 EXPORT_SYMBOL(ip_dev_find);
287 EXPORT_SYMBOL(inetdev_by_index);
288 EXPORT_SYMBOL(in_dev_finish_destroy);
289 EXPORT_SYMBOL(ip_defrag);
290 
291 /* Route manipulation */
292 EXPORT_SYMBOL(ip_rt_ioctl);
293 EXPORT_SYMBOL(devinet_ioctl);
294 EXPORT_SYMBOL(register_inetaddr_notifier);
295 EXPORT_SYMBOL(unregister_inetaddr_notifier);
296 
297 /* needed for ip_gre -cw */
298 EXPORT_SYMBOL(ip_statistics);
299 
300 #ifdef CONFIG_DLCI_MODULE
301 extern int (*dlci_ioctl_hook)(unsigned int, void *);
302 EXPORT_SYMBOL(dlci_ioctl_hook);
303 #endif
304 
305 
306 #if defined (CONFIG_IPV6_MODULE) || defined (CONFIG_KHTTPD) || defined (CONFIG_KHTTPD_MODULE) || defined (CONFIG_IP_SCTP_MODULE)
307 /* inet functions common to v4 and v6 */
308 EXPORT_SYMBOL(inet_release);
309 EXPORT_SYMBOL(inet_stream_connect);
310 EXPORT_SYMBOL(inet_dgram_connect);
311 EXPORT_SYMBOL(inet_accept);
312 EXPORT_SYMBOL(inet_listen);
313 EXPORT_SYMBOL(inet_shutdown);
314 EXPORT_SYMBOL(inet_setsockopt);
315 EXPORT_SYMBOL(inet_getsockopt);
316 EXPORT_SYMBOL(inet_sendmsg);
317 EXPORT_SYMBOL(inet_recvmsg);
318 #ifdef INET_REFCNT_DEBUG
319 EXPORT_SYMBOL(inet_sock_nr);
320 #endif
321 EXPORT_SYMBOL(inet_sock_destruct);
322 EXPORT_SYMBOL(inet_sock_release);
323 
324 /* Socket demultiplexing. */
325 EXPORT_SYMBOL(tcp_hashinfo);
326 EXPORT_SYMBOL(tcp_listen_wlock);
327 EXPORT_SYMBOL(udp_hash);
328 EXPORT_SYMBOL(udp_hash_lock);
329 EXPORT_SYMBOL(udp_poll);
330 
331 EXPORT_SYMBOL(tcp_destroy_sock);
332 EXPORT_SYMBOL(ip_queue_xmit);
333 EXPORT_SYMBOL(memcpy_fromiovecend);
334 EXPORT_SYMBOL(csum_partial_copy_fromiovecend);
335 EXPORT_SYMBOL(tcp_v4_lookup_listener);
336 /* UDP/TCP exported functions for TCPv6 */
337 EXPORT_SYMBOL(udp_ioctl);
338 EXPORT_SYMBOL(udp_connect);
339 EXPORT_SYMBOL(udp_disconnect);
340 EXPORT_SYMBOL(udp_sendmsg);
341 EXPORT_SYMBOL(tcp_close);
342 EXPORT_SYMBOL(tcp_disconnect);
343 EXPORT_SYMBOL(tcp_accept);
344 EXPORT_SYMBOL(tcp_write_wakeup);
345 EXPORT_SYMBOL(tcp_write_space);
346 EXPORT_SYMBOL(tcp_poll);
347 EXPORT_SYMBOL(tcp_ioctl);
348 EXPORT_SYMBOL(tcp_shutdown);
349 EXPORT_SYMBOL(tcp_setsockopt);
350 EXPORT_SYMBOL(tcp_getsockopt);
351 EXPORT_SYMBOL(tcp_recvmsg);
352 EXPORT_SYMBOL(tcp_send_synack);
353 EXPORT_SYMBOL(tcp_check_req);
354 EXPORT_SYMBOL(tcp_child_process);
355 EXPORT_SYMBOL(tcp_parse_options);
356 EXPORT_SYMBOL(tcp_rcv_established);
357 EXPORT_SYMBOL(tcp_init_xmit_timers);
358 EXPORT_SYMBOL(tcp_clear_xmit_timers);
359 EXPORT_SYMBOL(tcp_statistics);
360 EXPORT_SYMBOL(tcp_rcv_state_process);
361 EXPORT_SYMBOL(tcp_timewait_state_process);
362 EXPORT_SYMBOL(tcp_timewait_cachep);
363 EXPORT_SYMBOL(tcp_timewait_kill);
364 EXPORT_SYMBOL(tcp_sendmsg);
365 EXPORT_SYMBOL(tcp_v4_rebuild_header);
366 EXPORT_SYMBOL(tcp_v4_send_check);
367 EXPORT_SYMBOL(tcp_v4_conn_request);
368 EXPORT_SYMBOL(tcp_create_openreq_child);
369 EXPORT_SYMBOL(tcp_bucket_create);
370 EXPORT_SYMBOL(__tcp_put_port);
371 EXPORT_SYMBOL(tcp_put_port);
372 EXPORT_SYMBOL(tcp_inherit_port);
373 EXPORT_SYMBOL(tcp_v4_syn_recv_sock);
374 EXPORT_SYMBOL(tcp_v4_do_rcv);
375 EXPORT_SYMBOL(tcp_v4_connect);
376 EXPORT_SYMBOL(tcp_unhash);
377 EXPORT_SYMBOL(udp_prot);
378 EXPORT_SYMBOL(tcp_prot);
379 EXPORT_SYMBOL(tcp_openreq_cachep);
380 EXPORT_SYMBOL(ipv4_specific);
381 EXPORT_SYMBOL(tcp_simple_retransmit);
382 EXPORT_SYMBOL(tcp_transmit_skb);
383 EXPORT_SYMBOL(tcp_connect);
384 EXPORT_SYMBOL(tcp_make_synack);
385 EXPORT_SYMBOL(tcp_tw_deschedule);
386 EXPORT_SYMBOL(tcp_delete_keepalive_timer);
387 EXPORT_SYMBOL(tcp_reset_keepalive_timer);
388 EXPORT_SYMBOL(sysctl_local_port_range);
389 EXPORT_SYMBOL(tcp_port_rover);
390 EXPORT_SYMBOL(udp_port_rover);
391 EXPORT_SYMBOL(tcp_sync_mss);
392 EXPORT_SYMBOL(net_statistics);
393 EXPORT_SYMBOL(__tcp_mem_reclaim);
394 EXPORT_SYMBOL(tcp_sockets_allocated);
395 EXPORT_SYMBOL(sysctl_tcp_reordering);
396 EXPORT_SYMBOL(sysctl_tcp_rmem);
397 EXPORT_SYMBOL(sysctl_tcp_wmem);
398 EXPORT_SYMBOL(sysctl_tcp_ecn);
399 EXPORT_SYMBOL(tcp_cwnd_application_limited);
400 EXPORT_SYMBOL(tcp_sendpage);
401 EXPORT_SYMBOL(sysctl_tcp_low_latency);
402 
403 EXPORT_SYMBOL(tcp_write_xmit);
404 
405 EXPORT_SYMBOL(tcp_v4_remember_stamp);
406 
407 extern int sysctl_tcp_tw_recycle;
408 
409 #ifdef CONFIG_SYSCTL
410 EXPORT_SYMBOL(sysctl_tcp_tw_recycle);
411 EXPORT_SYMBOL(sysctl_max_syn_backlog);
412 #endif
413 
414 #if defined (CONFIG_IPV6_MODULE)
415 EXPORT_SYMBOL(secure_tcpv6_sequence_number);
416 EXPORT_SYMBOL(secure_ipv6_id);
417 #endif
418 
419 #endif
420 
421 EXPORT_SYMBOL(tcp_read_sock);
422 
423 #ifdef CONFIG_IP_SCTP_MODULE
424 EXPORT_SYMBOL(ip_setsockopt);
425 EXPORT_SYMBOL(ip_getsockopt);
426 EXPORT_SYMBOL(inet_ioctl);
427 EXPORT_SYMBOL(inet_bind);
428 EXPORT_SYMBOL(inet_getname);
429 #endif /* CONFIG_IP_SCTP_MODULE */
430 
431 EXPORT_SYMBOL(netlink_set_err);
432 EXPORT_SYMBOL(netlink_broadcast);
433 EXPORT_SYMBOL(netlink_unicast);
434 EXPORT_SYMBOL(netlink_kernel_create);
435 EXPORT_SYMBOL(netlink_dump_start);
436 EXPORT_SYMBOL(netlink_ack);
437 EXPORT_SYMBOL(netlink_set_nonroot);
438 EXPORT_SYMBOL(netlink_register_notifier);
439 EXPORT_SYMBOL(netlink_unregister_notifier);
440 #if defined(CONFIG_NETLINK_DEV) || defined(CONFIG_NETLINK_DEV_MODULE)
441 EXPORT_SYMBOL(netlink_attach);
442 EXPORT_SYMBOL(netlink_detach);
443 EXPORT_SYMBOL(netlink_post);
444 #endif
445 
446 EXPORT_SYMBOL(rtattr_parse);
447 EXPORT_SYMBOL(rtnetlink_links);
448 EXPORT_SYMBOL(__rta_fill);
449 EXPORT_SYMBOL(rtnetlink_dump_ifinfo);
450 EXPORT_SYMBOL(rtnetlink_put_metrics);
451 EXPORT_SYMBOL(rtnl);
452 EXPORT_SYMBOL(neigh_delete);
453 EXPORT_SYMBOL(neigh_add);
454 EXPORT_SYMBOL(neigh_dump_info);
455 
456 EXPORT_SYMBOL(dev_set_allmulti);
457 EXPORT_SYMBOL(dev_set_promiscuity);
458 EXPORT_SYMBOL(sklist_remove_socket);
459 EXPORT_SYMBOL(rtnl_sem);
460 EXPORT_SYMBOL(rtnl_lock);
461 EXPORT_SYMBOL(rtnl_unlock);
462 
463 /* ABI emulation layers need this */
464 EXPORT_SYMBOL(move_addr_to_kernel);
465 EXPORT_SYMBOL(move_addr_to_user);
466 
467 /* Used by at least ipip.c.  */
468 EXPORT_SYMBOL(ipv4_config);
469 EXPORT_SYMBOL(dev_open);
470 
471 /* Used by other modules */
472 EXPORT_SYMBOL(xrlim_allow);
473 
474 EXPORT_SYMBOL(ip_rcv);
475 EXPORT_SYMBOL(arp_rcv);
476 EXPORT_SYMBOL(arp_tbl);
477 #if defined(CONFIG_ATM_CLIP) || defined(CONFIG_ATM_CLIP_MODULE)
478 EXPORT_SYMBOL(clip_tbl_hook);
479 #endif
480 EXPORT_SYMBOL(arp_find);
481 
482 #endif  /* CONFIG_INET */
483 
484 #ifdef CONFIG_TR
485 EXPORT_SYMBOL(tr_type_trans);
486 #endif
487 
488 /* Device callback registration */
489 EXPORT_SYMBOL(register_netdevice_notifier);
490 EXPORT_SYMBOL(unregister_netdevice_notifier);
491 
492 /* support for loadable net drivers */
493 #ifdef CONFIG_NET
494 EXPORT_SYMBOL(loopback_dev);
495 EXPORT_SYMBOL(register_netdevice);
496 EXPORT_SYMBOL(unregister_netdevice);
497 EXPORT_SYMBOL(netdev_state_change);
498 EXPORT_SYMBOL(dev_new_index);
499 EXPORT_SYMBOL(dev_get_by_flags);
500 EXPORT_SYMBOL(__dev_get_by_flags);
501 EXPORT_SYMBOL(dev_get_by_index);
502 EXPORT_SYMBOL(__dev_get_by_index);
503 EXPORT_SYMBOL(dev_get_by_name);
504 EXPORT_SYMBOL(__dev_get_by_name);
505 EXPORT_SYMBOL(netdev_finish_unregister);
506 EXPORT_SYMBOL(netdev_set_master);
507 EXPORT_SYMBOL(eth_type_trans);
508 #ifdef CONFIG_FDDI
509 EXPORT_SYMBOL(fddi_type_trans);
510 #endif /* CONFIG_FDDI */
511 #if 0
512 EXPORT_SYMBOL(eth_copy_and_sum);
513 #endif
514 EXPORT_SYMBOL(alloc_skb);
515 EXPORT_SYMBOL(__kfree_skb);
516 EXPORT_SYMBOL(skb_clone);
517 EXPORT_SYMBOL(skb_copy);
518 EXPORT_SYMBOL(netif_rx);
519 EXPORT_SYMBOL(netif_receive_skb);
520 EXPORT_SYMBOL(dev_add_pack);
521 EXPORT_SYMBOL(dev_remove_pack);
522 EXPORT_SYMBOL(dev_get);
523 EXPORT_SYMBOL(dev_alloc);
524 EXPORT_SYMBOL(dev_alloc_name);
525 EXPORT_SYMBOL(__netdev_watchdog_up);
526 #ifdef CONFIG_KMOD
527 EXPORT_SYMBOL(dev_load);
528 #endif
529 EXPORT_SYMBOL(dev_ioctl);
530 EXPORT_SYMBOL(dev_queue_xmit);
531 #ifdef CONFIG_NET_HW_FLOWCONTROL
532 EXPORT_SYMBOL(netdev_dropping);
533 EXPORT_SYMBOL(netdev_register_fc);
534 EXPORT_SYMBOL(netdev_unregister_fc);
535 EXPORT_SYMBOL(netdev_fc_xoff);
536 #endif
537 EXPORT_SYMBOL(dev_base);
538 EXPORT_SYMBOL(dev_base_lock);
539 EXPORT_SYMBOL(dev_close);
540 EXPORT_SYMBOL(dev_mc_add);
541 EXPORT_SYMBOL(dev_mc_delete);
542 EXPORT_SYMBOL(dev_mc_upload);
543 EXPORT_SYMBOL(__kill_fasync);
544 
545 EXPORT_SYMBOL(if_port_text);
546 
547 #ifdef CONFIG_HIPPI
548 EXPORT_SYMBOL(hippi_type_trans);
549 #endif
550 
551 #ifdef CONFIG_NET_FASTROUTE
552 EXPORT_SYMBOL(netdev_fastroute);
553 #endif
554 
555 #ifdef CONFIG_SYSCTL
556 EXPORT_SYMBOL(sysctl_wmem_max);
557 EXPORT_SYMBOL(sysctl_rmem_max);
558 EXPORT_SYMBOL(sysctl_optmem_max);
559 #ifdef CONFIG_INET
560 EXPORT_SYMBOL(sysctl_ip_default_ttl);
561 #endif
562 #endif
563 
564 /* Packet scheduler modules want these. */
565 EXPORT_SYMBOL(qdisc_destroy);
566 EXPORT_SYMBOL(qdisc_reset);
567 EXPORT_SYMBOL(qdisc_restart);
568 EXPORT_SYMBOL(qdisc_create_dflt);
569 EXPORT_SYMBOL(noop_qdisc);
570 EXPORT_SYMBOL(qdisc_tree_lock);
571 #ifdef CONFIG_NET_SCHED
572 PSCHED_EXPORTLIST;
573 EXPORT_SYMBOL(pfifo_qdisc_ops);
574 EXPORT_SYMBOL(bfifo_qdisc_ops);
575 EXPORT_SYMBOL(register_qdisc);
576 EXPORT_SYMBOL(unregister_qdisc);
577 EXPORT_SYMBOL(qdisc_get_rtab);
578 EXPORT_SYMBOL(qdisc_put_rtab);
579 EXPORT_SYMBOL(qdisc_copy_stats);
580 #ifdef CONFIG_NET_ESTIMATOR
581 EXPORT_SYMBOL(qdisc_new_estimator);
582 EXPORT_SYMBOL(qdisc_kill_estimator);
583 #endif
584 #ifdef CONFIG_NET_CLS_POLICE
585 EXPORT_SYMBOL(tcf_police);
586 EXPORT_SYMBOL(tcf_police_locate);
587 EXPORT_SYMBOL(tcf_police_destroy);
588 EXPORT_SYMBOL(tcf_police_dump);
589 #endif
590 #endif
591 #ifdef CONFIG_NET_CLS
592 EXPORT_SYMBOL(register_tcf_proto_ops);
593 EXPORT_SYMBOL(unregister_tcf_proto_ops);
594 #endif
595 #ifdef CONFIG_NETFILTER
596 #include <linux/netfilter.h>
597 EXPORT_SYMBOL(nf_register_hook);
598 EXPORT_SYMBOL(nf_unregister_hook);
599 EXPORT_SYMBOL(nf_register_sockopt);
600 EXPORT_SYMBOL(nf_unregister_sockopt);
601 EXPORT_SYMBOL(nf_reinject);
602 EXPORT_SYMBOL(nf_register_queue_handler);
603 EXPORT_SYMBOL(nf_unregister_queue_handler);
604 EXPORT_SYMBOL(nf_hook_slow);
605 EXPORT_SYMBOL(nf_hooks);
606 EXPORT_SYMBOL(nf_setsockopt);
607 EXPORT_SYMBOL(nf_getsockopt);
608 EXPORT_SYMBOL(ip_ct_attach);
609 EXPORT_SYMBOL(nf_ct_attach);
610 #ifdef CONFIG_INET
611 #include <linux/netfilter_ipv4.h>
612 EXPORT_SYMBOL(ip_route_me_harder);
613 #endif
614 #endif
615 
616 EXPORT_SYMBOL(register_gifconf);
617 
618 EXPORT_SYMBOL(softnet_data);
619 
620 #if defined(CONFIG_NET_RADIO) || defined(CONFIG_NET_PCMCIA_RADIO)
621 #include <net/iw_handler.h>
622 EXPORT_SYMBOL(wireless_send_event);
623 EXPORT_SYMBOL(iw_handler_set_spy);
624 EXPORT_SYMBOL(iw_handler_get_spy);
625 EXPORT_SYMBOL(iw_handler_set_thrspy);
626 EXPORT_SYMBOL(iw_handler_get_thrspy);
627 EXPORT_SYMBOL(wireless_spy_update);
628 #endif /* CONFIG_NET_RADIO || CONFIG_NET_PCMCIA_RADIO */
629 
630 #endif  /* CONFIG_NET */
631