udplite.c (163849ea9b4c5d50fbd324692461983d18faadad) | udplite.c (2c8c1e7297e19bdef3c178c3ea41d898a7716e3e) |
---|---|
1/* 2 * UDPLITE An implementation of the UDP-Lite protocol (RFC 3828). 3 * 4 * Authors: Gerrit Renker <gerrit@erg.abdn.ac.uk> 5 * 6 * Changes: 7 * Fixes: 8 * This program is free software; you can redistribute it and/or --- 67 unchanged lines hidden (view full) --- 76 .seq_fops = { 77 .owner = THIS_MODULE, 78 }, 79 .seq_ops = { 80 .show = udp4_seq_show, 81 }, 82}; 83 | 1/* 2 * UDPLITE An implementation of the UDP-Lite protocol (RFC 3828). 3 * 4 * Authors: Gerrit Renker <gerrit@erg.abdn.ac.uk> 5 * 6 * Changes: 7 * Fixes: 8 * This program is free software; you can redistribute it and/or --- 67 unchanged lines hidden (view full) --- 76 .seq_fops = { 77 .owner = THIS_MODULE, 78 }, 79 .seq_ops = { 80 .show = udp4_seq_show, 81 }, 82}; 83 |
84static int udplite4_proc_init_net(struct net *net) | 84static int __net_init udplite4_proc_init_net(struct net *net) |
85{ 86 return udp_proc_register(net, &udplite4_seq_afinfo); 87} 88 | 85{ 86 return udp_proc_register(net, &udplite4_seq_afinfo); 87} 88 |
89static void udplite4_proc_exit_net(struct net *net) | 89static void __net_exit udplite4_proc_exit_net(struct net *net) |
90{ 91 udp_proc_unregister(net, &udplite4_seq_afinfo); 92} 93 94static struct pernet_operations udplite4_net_ops = { 95 .init = udplite4_proc_init_net, 96 .exit = udplite4_proc_exit_net, 97}; --- 34 unchanged lines hidden --- | 90{ 91 udp_proc_unregister(net, &udplite4_seq_afinfo); 92} 93 94static struct pernet_operations udplite4_net_ops = { 95 .init = udplite4_proc_init_net, 96 .exit = udplite4_proc_exit_net, 97}; --- 34 unchanged lines hidden --- |