netsyms.c
上传用户:jlfgdled
上传日期:2013-04-10
资源大小:33168k
文件大小:16k
源码类别:

Linux/Unix编程

开发平台:

Unix_Linux

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