Lines Matching defs:mandatory
288 #define dccp_feat_print_opt(opt, feat, val, len, mandatory) do { \
291 dccp_pr_debug_cat(") %s\n", mandatory ? "!" : ""); } while (0)
301 #define dccp_feat_print_opt(opt, feat, val, len, mandatory)
478 * @mandatory: whether to use Mandatory feature negotiation options
482 u8 mandatory, dccp_feat_val *fval)
495 new->needs_mandatory = mandatory;
694 * @mandatory: use Mandatory option if 1
700 u8 mandatory, u64 nn_val)
712 return dccp_feat_push_change(fn, feat, 1, mandatory, &fval);
720 * @mandatory: use Mandatory option if 1
725 u8 mandatory, u8 const *sp_val, u8 sp_len)
740 if (dccp_feat_push_change(fn, feat, is_local, mandatory, &fval)) {
1300 * @mandatory: whether @opt was preceded by a Mandatory option
1315 static u8 dccp_feat_handle_nn_established(struct sock *sk, u8 mandatory, u8 opt,
1324 dccp_feat_print_opt(opt, feat, val, len, mandatory);
1326 /* Ignore non-mandatory unknown and non-NN features */
1328 if (local && !mandatory)
1384 if (!mandatory)
1388 return mandatory ? DCCP_RESET_CODE_MANDATORY_ERROR
1396 * @mandatory: whether @opt was preceded by a Mandatory option
1405 u8 mandatory, u8 opt, u8 feat, u8 *val, u8 len)
1422 return dccp_feat_change_recv(fn, mandatory, opt, feat,
1426 return dccp_feat_confirm_recv(fn, mandatory, opt, feat,
1435 return dccp_feat_handle_nn_established(sk, mandatory, opt, feat,