Lines Matching refs:is_local
284 dccp_debug(" * %s %s = ", entry->is_local ? "local" : "remote", in dccp_feat_print_entry()
309 const bool is_local, dccp_feat_val const *fval) in __dccp_feat_activate() argument
338 rx = (is_local == (dccp_feat_table[idx].rxtx == FEAT_AT_RX)); in __dccp_feat_activate()
432 u8 feat_num, bool is_local) in dccp_feat_list_lookup() argument
437 if (entry->feat_num == feat_num && entry->is_local == is_local) in dccp_feat_list_lookup()
459 if (entry->feat_num == feat && entry->is_local == local) { in dccp_feat_entry_new()
470 entry->is_local = local; in dccp_feat_entry_new()
493 new->is_local = local; in dccp_feat_push_change()
521 new->is_local = local; in dccp_feat_push_confirm()
725 static int __feat_register_sp(struct list_head *fn, u8 feat, u8 is_local, in __feat_register_sp() argument
741 return dccp_feat_push_change(fn, feat, is_local, mandatory, &fval); in __feat_register_sp()
752 int dccp_feat_register_sp(struct sock *sk, u8 feat, u8 is_local, in dccp_feat_register_sp() argument
759 return __feat_register_sp(&dccp_sk(sk)->dccps_featneg, feat, is_local, in dccp_feat_register_sp()
838 static const struct ccid_dependency *dccp_feat_ccid_deps(u8 ccid, bool is_local) in dccp_feat_ccid_deps() argument
849 .is_local = true, in dccp_feat_ccid_deps()
858 .is_local = false, in dccp_feat_ccid_deps()
871 .is_local = true, in dccp_feat_ccid_deps()
877 .is_local = true, in dccp_feat_ccid_deps()
883 .is_local = false, in dccp_feat_ccid_deps()
899 .is_local = false, in dccp_feat_ccid_deps()
905 .is_local = false, in dccp_feat_ccid_deps()
911 .is_local = true, in dccp_feat_ccid_deps()
917 .is_local = true, in dccp_feat_ccid_deps()
926 return ccid2_dependencies[is_local]; in dccp_feat_ccid_deps()
928 return ccid3_dependencies[is_local]; in dccp_feat_ccid_deps()
942 static int dccp_feat_propagate_ccid(struct list_head *fn, u8 id, bool is_local) in dccp_feat_propagate_ccid() argument
944 const struct ccid_dependency *table = dccp_feat_ccid_deps(id, is_local); in dccp_feat_propagate_ccid()
950 table[i].is_local, in dccp_feat_propagate_ccid()
985 ccids[entry->is_local] = entry->val.sp.vec[0]; in dccp_feat_finalise_settings()
1002 u8 is_local, ccid; in dccp_feat_server_ccid_dependencies() local
1004 for (is_local = 0; is_local <= 1; is_local++) { in dccp_feat_server_ccid_dependencies()
1005 entry = dccp_feat_list_lookup(fn, DCCPF_CCID, is_local); in dccp_feat_server_ccid_dependencies()
1012 if (dccp_feat_propagate_ccid(fn, ccid, is_local)) in dccp_feat_server_ccid_dependencies()
1519 cur->is_local ? "local" : "remote", in dccp_feat_activate_values()
1524 fvals[idx][cur->is_local] = &cur->val; in dccp_feat_activate_values()