minisocks.c (e11d9d30802278af22e78d8c10f348b683670cd9) | minisocks.c (afb0a34dd3e20b3f534de19993271b8664cf10bb) |
---|---|
1/* 2 * net/dccp/minisocks.c 3 * 4 * An implementation of the DCCP protocol 5 * Arnaldo Carvalho de Melo <acme@conectiva.com.br> 6 * 7 * This program is free software; you can redistribute it and/or 8 * modify it under the terms of the GNU General Public License --- 286 unchanged lines hidden (view full) --- 295} 296 297EXPORT_SYMBOL_GPL(dccp_reqsk_send_ack); 298 299void dccp_reqsk_init(struct request_sock *req, struct sk_buff *skb) 300{ 301 inet_rsk(req)->rmt_port = dccp_hdr(skb)->dccph_sport; 302 inet_rsk(req)->acked = 0; | 1/* 2 * net/dccp/minisocks.c 3 * 4 * An implementation of the DCCP protocol 5 * Arnaldo Carvalho de Melo <acme@conectiva.com.br> 6 * 7 * This program is free software; you can redistribute it and/or 8 * modify it under the terms of the GNU General Public License --- 286 unchanged lines hidden (view full) --- 295} 296 297EXPORT_SYMBOL_GPL(dccp_reqsk_send_ack); 298 299void dccp_reqsk_init(struct request_sock *req, struct sk_buff *skb) 300{ 301 inet_rsk(req)->rmt_port = dccp_hdr(skb)->dccph_sport; 302 inet_rsk(req)->acked = 0; |
303 req->rcv_wnd = dccp_feat_default_sequence_window; | 303 req->rcv_wnd = sysctl_dccp_feat_sequence_window; |
304} 305 306EXPORT_SYMBOL_GPL(dccp_reqsk_init); | 304} 305 306EXPORT_SYMBOL_GPL(dccp_reqsk_init); |