Lines Matching refs:local

356 static int dccp_feat_activate(struct sock *sk, u8 feat_num, bool local,  in dccp_feat_activate()  argument
359 return __dccp_feat_activate(sk, dccp_feat_index(feat_num), local, fval); in dccp_feat_activate()
454 dccp_feat_entry_new(struct list_head *head, u8 feat, bool local) in dccp_feat_entry_new() argument
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()
484 static int dccp_feat_push_change(struct list_head *fn_list, u8 feat, u8 local, in dccp_feat_push_change() argument
487 struct dccp_feat_entry *new = dccp_feat_entry_new(fn_list, feat, local); in dccp_feat_push_change()
493 new->is_local = local; in dccp_feat_push_change()
512 static int dccp_feat_push_confirm(struct list_head *fn_list, u8 feat, u8 local, in dccp_feat_push_confirm() argument
515 struct dccp_feat_entry *new = dccp_feat_entry_new(fn_list, feat, local); in dccp_feat_push_confirm()
521 new->is_local = local; in dccp_feat_push_confirm()
533 static int dccp_push_empty_confirm(struct list_head *fn_list, u8 feat, u8 local) in dccp_push_empty_confirm() argument
535 return dccp_feat_push_confirm(fn_list, feat, local, NULL); in dccp_push_empty_confirm()
1101 const bool local = (opt == DCCPO_CHANGE_R); in dccp_feat_change_recv() local
1115 if (local || len > sizeof(fval.nn)) in dccp_feat_change_recv()
1123 return dccp_feat_push_confirm(fn, feat, local, &fval); in dccp_feat_change_recv()
1129 entry = dccp_feat_list_lookup(fn, feat, local); in dccp_feat_change_recv()
1159 return dccp_feat_push_confirm(fn, feat, local, &fval); in dccp_feat_change_recv()
1191 return dccp_push_empty_confirm(fn, feat, local); in dccp_feat_change_recv()
1212 const bool local = (opt == DCCPO_CONFIRM_R); in dccp_feat_confirm_recv() local
1213 struct dccp_feat_entry *entry = dccp_feat_list_lookup(fn, feat, local); in dccp_feat_confirm_recv()
1221 if (!local && type == FEAT_NN) /* 6.3.2 */ in dccp_feat_confirm_recv()
1309 const bool local = (opt == DCCPO_CONFIRM_R); in dccp_feat_handle_nn_established() local
1318 if (local && !mandatory) in dccp_feat_handle_nn_established()
1339 if (dccp_feat_push_confirm(fn, feat, local, &fval) || in dccp_feat_handle_nn_established()
1340 dccp_feat_activate(sk, feat, local, &fval)) in dccp_feat_handle_nn_established()
1347 entry = dccp_feat_list_lookup(fn, feat, local); in dccp_feat_handle_nn_established()
1362 dccp_feat_activate(sk, feat, local, &fval); in dccp_feat_handle_nn_established()
1375 return dccp_push_empty_confirm(fn, feat, local); in dccp_feat_handle_nn_established()