Lines Matching defs:is_local

281 	dccp_debug("   * %s %s = ", entry->is_local ? "local" : "remote",
306 const bool is_local, dccp_feat_val const *fval)
335 rx = (is_local == (dccp_feat_table[idx].rxtx == FEAT_AT_RX));
424 * - each feat_num/is_local combination is unique (old entries are overwritten)
429 u8 feat_num, bool is_local)
434 if (entry->feat_num == feat_num && entry->is_local == is_local)
456 if (entry->feat_num == feat && entry->is_local == local) {
467 entry->is_local = local;
490 new->is_local = local;
518 new->is_local = local;
719 * @is_local: whether the local (1) or the remote (0) @feat is meant
724 static int __feat_register_sp(struct list_head *fn, u8 feat, u8 is_local,
740 if (dccp_feat_push_change(fn, feat, is_local, mandatory, &fval)) {
752 * @is_local: whether the local (1) or remote (0) @feat is meant
756 int dccp_feat_register_sp(struct sock *sk, u8 feat, u8 is_local,
763 return __feat_register_sp(&dccp_sk(sk)->dccps_featneg, feat, is_local,
842 static const struct ccid_dependency *dccp_feat_ccid_deps(u8 ccid, bool is_local)
847 * feature and Send Ack Vector is an RX feature, `is_local'
853 .is_local = true,
862 .is_local = false,
875 .is_local = true,
881 .is_local = true,
887 .is_local = false,
903 .is_local = false,
909 .is_local = false,
915 .is_local = true,
921 .is_local = true,
930 return ccid2_dependencies[is_local];
932 return ccid3_dependencies[is_local];
942 * @is_local: whether TX CCID (1) or RX CCID (0) is meant
946 static int dccp_feat_propagate_ccid(struct list_head *fn, u8 id, bool is_local)
948 const struct ccid_dependency *table = dccp_feat_ccid_deps(id, is_local);
954 table[i].is_local,
989 ccids[entry->is_local] = entry->val.sp.vec[0];
1008 u8 is_local, ccid;
1010 for (is_local = 0; is_local <= 1; is_local++) {
1011 entry = dccp_feat_list_lookup(fn, DCCPF_CCID, is_local);
1018 if (dccp_feat_propagate_ccid(fn, ccid, is_local))
1535 cur->is_local ? "local" : "remote",
1540 fvals[idx][cur->is_local] = &cur->val;