/* dccp_feat_valid_nn_length - Enforce length constraints on NN options Length is between 0 and DCCP_OPTVAL_MAXLEN. Used for outgoing packets only, incoming options are accepted as long as their values are valid.  */
static u8 dccp_feat_valid_nn_length(u8 feat_num)
/* dccp_feat_valid_nn_length - Enforce length constraints on NN options Length is between 0 and DCCP_OPTVAL_MAXLEN. Used for outgoing packets only, incoming options are accepted as long as their values are valid.  */
static u8 dccp_feat_valid_nn_length(u8 feat_num)
{
	if (feat_num == DCCPF_ACK_RATIO)
		return 2;
	if (feat_num == DCCPF_SEQUENCE_WINDOW)
		return 6;
	return 0;
}