diff options
Diffstat (limited to 'include')
-rw-r--r-- | include/net/udp.h | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/include/net/udp.h b/include/net/udp.h index 635940d374a..24a41fa3164 100644 --- a/include/net/udp.h +++ b/include/net/udp.h @@ -185,20 +185,18 @@ DECLARE_SNMP_STAT(struct udp_mib, udplite_stats_in6); /* /proc */ struct udp_seq_afinfo { - struct module *owner; char *name; sa_family_t family; struct hlist_head *hashtable; - int (*seq_show) (struct seq_file *m, void *v); - struct file_operations *seq_fops; + struct file_operations seq_fops; + struct seq_operations seq_ops; }; struct udp_iter_state { - struct net *net; + struct seq_net_private p; sa_family_t family; struct hlist_head *hashtable; int bucket; - struct seq_operations seq_ops; }; #ifdef CONFIG_PROC_FS |