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()
431 u8 feat_num, bool is_local) in dccp_feat_list_lookup() argument
436 if (entry->feat_num == feat_num && entry->is_local == is_local) in dccp_feat_list_lookup()
457 if (entry->feat_num == feat && entry->is_local == local) { in dccp_feat_entry_new()
468 entry->is_local = local; in dccp_feat_entry_new()
491 new->is_local = local; in dccp_feat_push_change()
518 new->is_local = local; in dccp_feat_push_confirm()
721 static int __feat_register_sp(struct list_head *fn, u8 feat, u8 is_local, in __feat_register_sp() argument
737 return dccp_feat_push_change(fn, feat, is_local, mandatory, &fval); in __feat_register_sp()
748 int dccp_feat_register_sp(struct sock *sk, u8 feat, u8 is_local, in dccp_feat_register_sp() argument
755 return __feat_register_sp(&dccp_sk(sk)->dccps_featneg, feat, is_local, in dccp_feat_register_sp()
832 static const struct ccid_dependency *dccp_feat_ccid_deps(u8 ccid, bool is_local) in dccp_feat_ccid_deps() argument
843 .is_local = true, in dccp_feat_ccid_deps()
852 .is_local = false, in dccp_feat_ccid_deps()
865 .is_local = true, in dccp_feat_ccid_deps()
871 .is_local = true, in dccp_feat_ccid_deps()
877 .is_local = false, in dccp_feat_ccid_deps()
893 .is_local = false, in dccp_feat_ccid_deps()
899 .is_local = false, in dccp_feat_ccid_deps()
905 .is_local = true, in dccp_feat_ccid_deps()
911 .is_local = true, in dccp_feat_ccid_deps()
920 return ccid2_dependencies[is_local]; in dccp_feat_ccid_deps()
922 return ccid3_dependencies[is_local]; in dccp_feat_ccid_deps()
935 static int dccp_feat_propagate_ccid(struct list_head *fn, u8 id, bool is_local) in dccp_feat_propagate_ccid() argument
937 const struct ccid_dependency *table = dccp_feat_ccid_deps(id, is_local); in dccp_feat_propagate_ccid()
943 table[i].is_local, in dccp_feat_propagate_ccid()
977 ccids[entry->is_local] = entry->val.sp.vec[0]; in dccp_feat_finalise_settings()
994 u8 is_local, ccid; in dccp_feat_server_ccid_dependencies() local
996 for (is_local = 0; is_local <= 1; is_local++) { in dccp_feat_server_ccid_dependencies()
997 entry = dccp_feat_list_lookup(fn, DCCPF_CCID, is_local); in dccp_feat_server_ccid_dependencies()
1004 if (dccp_feat_propagate_ccid(fn, ccid, is_local)) in dccp_feat_server_ccid_dependencies()
1509 cur->is_local ? "local" : "remote", in dccp_feat_activate_values()
1514 fvals[idx][cur->is_local] = &cur->val; in dccp_feat_activate_values()