xprtsock.c (6e9041c6ddd6cbdc61d87bcaca8ca7bb17c28377) | xprtsock.c (fe2c6338fd2c6f383c4d4164262f35c8f3708e1f) |
---|---|
1/* 2 * linux/net/sunrpc/xprtsock.c 3 * 4 * Client-side transport implementation for sockets. 5 * 6 * TCP callback races fixes (C) 1998 Red Hat 7 * TCP send fixes (C) 1998 Red Hat 8 * TCP NFS related read + write fixes --- 73 unchanged lines hidden (view full) --- 82static unsigned int xprt_max_resvport_limit = RPC_MAX_RESVPORT; 83 84static struct ctl_table_header *sunrpc_table_header; 85 86/* 87 * FIXME: changing the UDP slot table size should also resize the UDP 88 * socket buffers for existing UDP transports 89 */ | 1/* 2 * linux/net/sunrpc/xprtsock.c 3 * 4 * Client-side transport implementation for sockets. 5 * 6 * TCP callback races fixes (C) 1998 Red Hat 7 * TCP send fixes (C) 1998 Red Hat 8 * TCP NFS related read + write fixes --- 73 unchanged lines hidden (view full) --- 82static unsigned int xprt_max_resvport_limit = RPC_MAX_RESVPORT; 83 84static struct ctl_table_header *sunrpc_table_header; 85 86/* 87 * FIXME: changing the UDP slot table size should also resize the UDP 88 * socket buffers for existing UDP transports 89 */ |
90static ctl_table xs_tunables_table[] = { | 90static struct ctl_table xs_tunables_table[] = { |
91 { 92 .procname = "udp_slot_table_entries", 93 .data = &xprt_udp_slot_table_entries, 94 .maxlen = sizeof(unsigned int), 95 .mode = 0644, 96 .proc_handler = proc_dointvec_minmax, 97 .extra1 = &min_slot_table_size, 98 .extra2 = &max_slot_table_size --- 39 unchanged lines hidden (view full) --- 138 .data = &xs_tcp_fin_timeout, 139 .maxlen = sizeof(xs_tcp_fin_timeout), 140 .mode = 0644, 141 .proc_handler = proc_dointvec_jiffies, 142 }, 143 { }, 144}; 145 | 91 { 92 .procname = "udp_slot_table_entries", 93 .data = &xprt_udp_slot_table_entries, 94 .maxlen = sizeof(unsigned int), 95 .mode = 0644, 96 .proc_handler = proc_dointvec_minmax, 97 .extra1 = &min_slot_table_size, 98 .extra2 = &max_slot_table_size --- 39 unchanged lines hidden (view full) --- 138 .data = &xs_tcp_fin_timeout, 139 .maxlen = sizeof(xs_tcp_fin_timeout), 140 .mode = 0644, 141 .proc_handler = proc_dointvec_jiffies, 142 }, 143 { }, 144}; 145 |
146static ctl_table sunrpc_table[] = { | 146static struct ctl_table sunrpc_table[] = { |
147 { 148 .procname = "sunrpc", 149 .mode = 0555, 150 .child = xs_tunables_table 151 }, 152 { }, 153}; 154 --- 2914 unchanged lines hidden --- | 147 { 148 .procname = "sunrpc", 149 .mode = 0555, 150 .child = xs_tunables_table 151 }, 152 { }, 153}; 154 --- 2914 unchanged lines hidden --- |