inet_hashtables.h (5e2aa2ed08e2e280121dc7cf5609c87d464f12ef) | inet_hashtables.h (0c5c9fb55106333e773de8c9dd321fa8240caeb3) |
---|---|
1/* 2 * INET An implementation of the TCP/IP protocol suite for the LINUX 3 * operating system. INET is implemented using the BSD Socket 4 * interface as the means of communication with the user level. 5 * 6 * Authors: Lotsa people, from code originally in tcp 7 * 8 * This program is free software; you can redistribute it and/or --- 62 unchanged lines hidden (view full) --- 71 * Sounds like a lot of work, but it is worth it. In a more naive 72 * implementation (ie. current FreeBSD etc.) the entire list of ports 73 * must be walked for each data port opened by an ftp server. Needless 74 * to say, this does not scale at all. With a couple thousand FTP 75 * users logged onto your box, isn't it nice to know that new data 76 * ports are created in O(1) time? I thought so. ;-) -DaveM 77 */ 78struct inet_bind_bucket { | 1/* 2 * INET An implementation of the TCP/IP protocol suite for the LINUX 3 * operating system. INET is implemented using the BSD Socket 4 * interface as the means of communication with the user level. 5 * 6 * Authors: Lotsa people, from code originally in tcp 7 * 8 * This program is free software; you can redistribute it and/or --- 62 unchanged lines hidden (view full) --- 71 * Sounds like a lot of work, but it is worth it. In a more naive 72 * implementation (ie. current FreeBSD etc.) the entire list of ports 73 * must be walked for each data port opened by an ftp server. Needless 74 * to say, this does not scale at all. With a couple thousand FTP 75 * users logged onto your box, isn't it nice to know that new data 76 * ports are created in O(1) time? I thought so. ;-) -DaveM 77 */ 78struct inet_bind_bucket { |
79#ifdef CONFIG_NET_NS 80 struct net *ib_net; 81#endif | 79 possible_net_t ib_net; |
82 unsigned short port; 83 signed char fastreuse; 84 signed char fastreuseport; 85 kuid_t fastuid; 86 int num_owners; 87 struct hlist_node node; 88 struct hlist_head owners; 89}; --- 309 unchanged lines hidden --- | 80 unsigned short port; 81 signed char fastreuse; 82 signed char fastreuseport; 83 kuid_t fastuid; 84 int num_owners; 85 struct hlist_node node; 86 struct hlist_head owners; 87}; --- 309 unchanged lines hidden --- |