OSDN Git Service

2013.10.24
[uclinux-h8/uClinux-dist.git] / freeswan / klips / doc / func_tree.txt
1 *
2 * RCSID $Id: func_tree.txt,v 1.2 1999/04/06 04:54:23 rgb Exp $
3 *
4
5 init_module()
6         ipsec_init()
7                 proc_reg(ipsec_rt)
8                         proc_net_inode_operations()
9                         ipsec_rt_get_info()
10                 proc_reg(ipsec_spi)
11                         proc_net_inode_operations()
12                         ipsec_spi_get_info()
13                 netlink_attach(ipsec_callback)
14                         ipsec_makeroute()
15                                 rd_key()
16                                 rj_addroute()
17                         ipsec_breakroute()
18                         ipsec_findroute()
19                         gettdb()
20                         puttdb()
21                         tdbinit()
22                 ipsec_radijinit()
23                         rj_init()
24                                 rj_inithead()
25                                         rj_newpair()
26                         rj_inithead()
27                 inet_add_protocol(ah_protocol)
28                         ah_rcv()
29                 inet_add_protocol(esp_protocol)
30                         esp_rcv()
31         ipsec_tunnel_init_module()
32                 register_netdev(&dev_ipsec)
33                         ipsec_tunnel_probe()
34                                 ipsec_tunnel_init(dev); 
35                                         dev->open               = ipsec_tunnel_open;
36                                         dev->stop               = ipsec_tunnel_close;
37                                         dev->hard_start_xmit    = ipsec_tunnel_start_xmit;
38                                                 ipsec_tunnel_do_xmit()
39                                         dev->get_stats           = ipsec_tunnel_get_stats;
40                                         dev->hard_header        = ipsec_tunnel_hard_header;
41                                         dev->rebuild_header     = ipsec_tunnel_rebuild_header;
42                                         dev->set_mac_address    = ipsec_tunnel_set_mac_address;
43                                         dev->do_ioctl           = ipsec_tunnel_ioctl;
44                                                 ipsec_tunnel_attach()
45                                                         ipsec_tunnel_hard_header
46                                                         ipsec_tunnel_rebuild_header
47                                                         ipsec_tunnel_set_mac_address
48                                                         ipsec_tunnel_cache_bind
49                                                         ipsec_tunnel_cache_update
50                                                 *** ipsec_tunnel_detach()
51                                         dev->header_cache_bind  = ipsec_tunnel_cache_bind;
52                                         dev->header_cache_update= ipsec_tunnel_cache_update;
53
54 cleanup_module()
55         ipsec_cleanup()
56                 proc_unregister(&proc_net, 4243)
57                 proc_unregister(&proc_net, 4242)
58                 netlink_detach(NETLINK_IPSEC)
59                 inet_del_protocol(&ah_protocol)
60                 inet_del_protocol(&esp_protocol)
61                 *** ipsec_radij_cleanup()
62         ipsec_tunnel_cleanup_module(void)
63                 unregister_netdev(&dev_ipsec);
64                 kfree_s(dev_ipsec.priv,sizeof(struct enet_statistics));
65
66 *
67 * $Log: func_tree.txt,v $
68 * Revision 1.2  1999/04/06 04:54:23  rgb
69 * Fix/Add RCSID Id: and Log: bits to make PHMDs happy.  This includes
70 * patch shell fixes.
71 *
72 *