Lines Matching +full:half +full:- +full:length
1 /* SPDX-License-Identifier: GPL-2.0-only */
17 /* Ack Ratio takes 2-byte integer values (11.3) */
19 /* Wmin=32 and Wmax=2^46-1 from 7.5.2 */
23 #define DCCP_FEAT_MAX_SP_VALS (DCCP_SINGLE_OPT_MAXLEN - 2)
26 FEAT_AT_RX = 1, /* located at RX side of half-connection */
27 FEAT_AT_TX = 2, /* located at TX side of half-connection */
28 FEAT_SP = 4, /* server-priority reconciliation (6.3.1) */
29 FEAT_NN = 8, /* non-negotiable reconciliation (6.3.2) */
42 * dccp_feat_val - Container for SP or NN feature values
45 * @sp.len: length of @sp.vec in bytes
56 * struct feat_entry - Data structure to perform feature negotiation
63 * @is_local: feature location (1) or feature-remote (0)
81 if (entry->needs_confirm) in dccp_feat_genopt()
82 return entry->is_local ? DCCPO_CONFIRM_L : DCCPO_CONFIRM_R; in dccp_feat_genopt()
83 return entry->is_local ? DCCPO_CHANGE_L : DCCPO_CHANGE_R; in dccp_feat_genopt()
87 * struct ccid_dependency - Track changes resulting from choosing a CCID
90 * @is_mandatory: whether presence of @dependent_feat is mission-critical or not
115 * Encoding variable-length options and their maximum length.
117 * This affects NN options (SP options are all u8) and other variable-length