Lines Matching +full:len +full:- +full:or +full:- +full:limit

1 /* SPDX-License-Identifier: GPL-2.0-only */
15 * Known limit values
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) */
30 FEAT_UNKNOWN = 0xFF /* not understood or invalid feature */
42 * dccp_feat_val - Container for SP or NN feature values
45 * @sp.len: length of @sp.vec in bytes
51 u8 len; member
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
89 * @is_local: local (1) or remote (0) @dependent_feat
90 * @is_mandatory: whether presence of @dependent_feat is mission-critical or not
109 u8 const *list, u8 len);
111 u8 mand, u8 opt, u8 feat, u8 *val, u8 len);
115 * Encoding variable-length options and their maximum length.
117 * This affects NN options (SP options are all u8) and other variable-length
118 * options (see table 3 in RFC 4340). The limit is currently given the Sequence
126 void dccp_encode_value_var(const u64 value, u8 *to, const u8 len);
127 u64 dccp_decode_value_var(const u8 *bf, const u8 len);
131 int dccp_insert_fn_opt(struct sk_buff *skb, u8 type, u8 feat, u8 *val, u8 len,