aboutsummaryrefslogtreecommitdiffstats
path: root/include/linux/dccp.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/linux/dccp.h')
-rw-r--r--include/linux/dccp.h7
1 files changed, 5 insertions, 2 deletions
diff --git a/include/linux/dccp.h b/include/linux/dccp.h
index 9e3a1370b906..007c290f74d4 100644
--- a/include/linux/dccp.h
+++ b/include/linux/dccp.h
@@ -186,6 +186,9 @@ enum {
186 DCCPF_MAX_CCID_SPECIFIC = 255, 186 DCCPF_MAX_CCID_SPECIFIC = 255,
187}; 187};
188 188
189/* DCCP socket options */
190#define DCCP_SOCKOPT_PACKET_SIZE 1
191
189#ifdef __KERNEL__ 192#ifdef __KERNEL__
190 193
191#include <linux/in.h> 194#include <linux/in.h>
@@ -396,7 +399,7 @@ enum dccp_role {
396 * @dccps_timestamp_echo - latest timestamp received on a TIMESTAMP option 399 * @dccps_timestamp_echo - latest timestamp received on a TIMESTAMP option
397 * @dccps_ext_header_len - network protocol overhead (IP/IPv6 options) 400 * @dccps_ext_header_len - network protocol overhead (IP/IPv6 options)
398 * @dccps_pmtu_cookie - Last pmtu seen by socket 401 * @dccps_pmtu_cookie - Last pmtu seen by socket
399 * @dccps_avg_packet_size - FIXME: has to be set by the app thru some setsockopt or ioctl, CCID3 uses it 402 * @dccps_packet_size - Set thru setsockopt
400 * @dccps_role - Role of this sock, one of %dccp_role 403 * @dccps_role - Role of this sock, one of %dccp_role
401 * @dccps_ndp_count - number of Non Data Packets since last data packet 404 * @dccps_ndp_count - number of Non Data Packets since last data packet
402 * @dccps_hc_rx_ackpkts - receiver half connection acked packets 405 * @dccps_hc_rx_ackpkts - receiver half connection acked packets
@@ -417,7 +420,7 @@ struct dccp_sock {
417 unsigned long dccps_service; 420 unsigned long dccps_service;
418 struct timeval dccps_timestamp_time; 421 struct timeval dccps_timestamp_time;
419 __u32 dccps_timestamp_echo; 422 __u32 dccps_timestamp_echo;
420 __u32 dccps_avg_packet_size; 423 __u32 dccps_packet_size;
421 unsigned long dccps_ndp_count; 424 unsigned long dccps_ndp_count;
422 __u16 dccps_ext_header_len; 425 __u16 dccps_ext_header_len;
423 __u32 dccps_pmtu_cookie; 426 __u32 dccps_pmtu_cookie;