Lines Matching refs:mandatory
291 #define dccp_feat_print_opt(opt, feat, val, len, mandatory) do { \ argument
294 dccp_pr_debug_cat(") %s\n", mandatory ? "!" : ""); } while (0)
304 #define dccp_feat_print_opt(opt, feat, val, len, mandatory) argument
485 u8 mandatory, dccp_feat_val *fval) in dccp_feat_push_change() argument
498 new->needs_mandatory = mandatory; in dccp_feat_push_change()
701 u8 mandatory, u64 nn_val) in __feat_register_nn() argument
713 return dccp_feat_push_change(fn, feat, 1, mandatory, &fval); in __feat_register_nn()
726 u8 mandatory, u8 const *sp_val, u8 sp_len) in __feat_register_sp() argument
741 return dccp_feat_push_change(fn, feat, is_local, mandatory, &fval); in __feat_register_sp()
1305 static u8 dccp_feat_handle_nn_established(struct sock *sk, u8 mandatory, u8 opt, in dccp_feat_handle_nn_established() argument
1314 dccp_feat_print_opt(opt, feat, val, len, mandatory); in dccp_feat_handle_nn_established()
1318 if (local && !mandatory) in dccp_feat_handle_nn_established()
1374 if (!mandatory) in dccp_feat_handle_nn_established()
1378 return mandatory ? DCCP_RESET_CODE_MANDATORY_ERROR in dccp_feat_handle_nn_established()
1395 u8 mandatory, u8 opt, u8 feat, u8 *val, u8 len) in dccp_feat_parse_options() argument
1411 return dccp_feat_change_recv(fn, mandatory, opt, feat, in dccp_feat_parse_options()
1415 return dccp_feat_confirm_recv(fn, mandatory, opt, feat, in dccp_feat_parse_options()
1424 return dccp_feat_handle_nn_established(sk, mandatory, opt, feat, in dccp_feat_parse_options()