Lines Matching defs:list

269 static void dccp_feat_printvals(u8 feat_num, u8 *list, u8 len)
272 dccp_feat_val fval = { .sp.vec = list, .sp.len = len };
275 fval.nn = dccp_decode_value_var(list, len);
423 * - each feat_num in the list is known, i.e. we know its type and default value
426 * - list is sorted in increasing order of feature number (faster lookup)
443 * dccp_feat_entry_new - Central list update routine (called by all others)
444 * @head: list to add to
474 * dccp_feat_push_change - Add/overwrite a Change option in the list
475 * @fn_list: feature-negotiation list to update
501 * dccp_feat_push_confirm - Add a Confirm entry to the FN list
502 * @fn_list: feature-negotiation list to add to
628 * dccp_feat_insert_opts - Generate FN options from current list state
641 /* put entries into @skb in the order they appear in the list */
692 * @fn: feature-negotiation list to register with
716 * __feat_register_sp - Register new SP value/list on socket
717 * @fn: feature-negotiation list to register with
721 * @sp_val: SP value followed by optional preference list
753 * @list: array of preferred values, in descending order of preference
754 * @len: length of @list in bytes
757 u8 const *list, u8 len)
764 0, list, len);
837 * This is designed with an extension in mind so that a list walk could be done
940 * @fn: feature-negotiation list to update
984 * 2) since is that propagate_ccid changes the list, we defer changing
985 * the sorted list until after the traversal.
1063 * @fv: SP list to reconcile into
1064 * @arr: received SP preference list
1066 * @is_server: whether this side is the server (and @fv is the server's list)
1067 * @reorder: whether to reorder the list in @fv after reconciling with @arr
1068 * When successful, > 0 is returned and the reconciled list is in @fval.
1092 * Reorder list: used for activating features and in dccp_insert_fn_opt.
1099 * @fn: feature-negotiation list to update
1103 * @val: NN value or SP value/preference list
1122 * simultaneous negotiation; hence we do not look up in the list.
1145 * - if the peer's list is a singleton, we accept a valid value;
1149 * - else if we are the client, we use the first list element.
1210 * @fn: feature-negotiation list to update
1214 * @val: NN value or SP value/preference list
1247 * entry from the list.
1272 if (len == 1) { /* peer didn't supply a preference list */
1275 } else { /* preferred value + preference list */
1482 * We advertise the available list of CCIDs and reorder according to