Lines Matching defs:local

281 	dccp_debug("   * %s %s = ", entry->is_local ? "local" : "remote",
334 /* Location is RX if this is a local-RX or remote-TX feature */
348 * @local: whether local (1) or remote (0) @feat_num is meant
353 static int dccp_feat_activate(struct sock *sk, u8 feat_num, bool local,
356 return __dccp_feat_activate(sk, dccp_feat_index(feat_num), local, fval);
446 * @local: whether the local (1) or remote feature with number @feat is meant
451 dccp_feat_entry_new(struct list_head *head, u8 feat, bool local)
456 if (entry->feat_num == feat && entry->is_local == local) {
467 entry->is_local = local;
477 * @local: whether local (1) or remote (0) @feat_num is meant
481 static int dccp_feat_push_change(struct list_head *fn_list, u8 feat, u8 local,
484 struct dccp_feat_entry *new = dccp_feat_entry_new(fn_list, feat, local);
490 new->is_local = local;
504 * @local: whether local (1) or remote (0) @feat_num is being confirmed
509 static int dccp_feat_push_confirm(struct list_head *fn_list, u8 feat, u8 local,
512 struct dccp_feat_entry *new = dccp_feat_entry_new(fn_list, feat, local);
518 new->is_local = local;
530 static int dccp_push_empty_confirm(struct list_head *fn_list, u8 feat, u8 local)
532 return dccp_feat_push_confirm(fn_list, feat, local, NULL);
697 * Note that NN features are local by definition (RFC 4340, 6.3.2).
719 * @is_local: whether the local (1) or the remote (0) @feat is meant
752 * @is_local: whether the local (1) or remote (0) @feat is meant
859 { /* Dependencies of the sender-side (local) CCID2 */
1105 const bool local = (opt == DCCPO_CHANGE_R);
1119 if (local || len > sizeof(fval.nn))
1127 return dccp_feat_push_confirm(fn, feat, local, &fval);
1133 entry = dccp_feat_list_lookup(fn, feat, local);
1163 return dccp_feat_push_confirm(fn, feat, local, &fval);
1195 return dccp_push_empty_confirm(fn, feat, local);
1216 const bool local = (opt == DCCPO_CONFIRM_R);
1217 struct dccp_feat_entry *entry = dccp_feat_list_lookup(fn, feat, local);
1225 if (!local && type == FEAT_NN) /* 6.3.2 */
1313 const bool local = (opt == DCCPO_CONFIRM_R);
1322 if (local && !mandatory)
1343 if (dccp_feat_push_confirm(fn, feat, local, &fval) ||
1344 dccp_feat_activate(sk, feat, local, &fval))
1351 entry = dccp_feat_list_lookup(fn, feat, local);
1366 dccp_feat_activate(sk, feat, local, &fval);
1379 return dccp_push_empty_confirm(fn, feat, local);
1529 cur->is_local ? "local" : "remote",