Go to the documentation of this file. 1 #ifndef _UAPI_LINUX_DCCP_H
2 #define _UAPI_LINUX_DCCP_H
4 #include <linux/types.h>
5 #include <asm/byteorder.h>
24 #if defined(__LITTLE_ENDIAN_BITFIELD)
27 #elif defined(__BIG_ENDIAN_BITFIELD)
31 #error "Adjust your <asm/byteorder.h> defines"
34 #if defined(__LITTLE_ENDIAN_BITFIELD)
38 #elif defined(__BIG_ENDIAN_BITFIELD)
39 __u8 dccph_reserved:3,
43 #error "Adjust your <asm/byteorder.h> defines"
115 #define DCCP_NR_PKT_TYPES DCCP_PKT_INVALID
117 static inline unsigned int dccp_packet_hdr_len(
const __u8 type)
174 #define DCCP_SINGLE_OPT_MAXLEN 253
216 #define DCCP_SOCKOPT_PACKET_SIZE 1
217 #define DCCP_SOCKOPT_SERVICE 2
218 #define DCCP_SOCKOPT_CHANGE_L 3
219 #define DCCP_SOCKOPT_CHANGE_R 4
220 #define DCCP_SOCKOPT_GET_CUR_MPS 5
221 #define DCCP_SOCKOPT_SERVER_TIMEWAIT 6
222 #define DCCP_SOCKOPT_SEND_CSCOV 10
223 #define DCCP_SOCKOPT_RECV_CSCOV 11
224 #define DCCP_SOCKOPT_AVAILABLE_CCIDS 12
225 #define DCCP_SOCKOPT_CCID 13
226 #define DCCP_SOCKOPT_TX_CCID 14
227 #define DCCP_SOCKOPT_RX_CCID 15
228 #define DCCP_SOCKOPT_QPOLICY_ID 16
229 #define DCCP_SOCKOPT_QPOLICY_TXQLEN 17
230 #define DCCP_SOCKOPT_CCID_RX_INFO 128
231 #define DCCP_SOCKOPT_CCID_TX_INFO 192
234 #define DCCP_SERVICE_LIST_MAX_LEN 32