Lines Matching refs:val_len

2145 dccp_add_option(struct dccpcb *dp, u_int8_t opt, char *val, u_int8_t val_len)  in dccp_add_option()  argument
2147 return dccp_add_feature_option(dp, opt, 0, val, val_len); in dccp_add_option()
2151 …_add_feature_option(struct dccpcb *dp, u_int8_t opt, u_int8_t feature, char *val, u_int8_t val_len) in dccp_add_feature_option() argument
2154 …"Entering dccp_add_feature_option, opt = %u, val_len = %u optlen %u\n", opt, val_len, dp->optlen)); in dccp_add_feature_option()
2156 if (DCCP_MAX_OPTIONS > (dp->optlen + val_len + 2)) { in dccp_add_feature_option()
2161 if (opt == DCCP_OPT_CONFIRM_L && val_len) { in dccp_add_feature_option()
2162 dp->options[dp->optlen + 1] = val_len + 3; in dccp_add_feature_option()
2166 dp->options[dp->optlen + 1] = val_len + 2; in dccp_add_feature_option()
2170 for (i = 0; i<val_len; i++) { in dccp_add_feature_option()
2322 dccp_add_feature(struct dccpcb *dp, u_int8_t opt, u_int8_t feature, char *val, u_int8_t val_len) in dccp_add_feature() argument
2325 …INFO, "Entering dccp_add_feature, opt = %u, feature = %u, val_len = %u\n", opt, feature, val_len)); in dccp_add_feature()
2327 if (DCCP_MAX_OPTIONS > (dp->featlen + val_len + 3)) { in dccp_add_feature()
2329 dp->features[dp->featlen + 1] = val_len + 3; in dccp_add_feature()
2332 for (i = 0; i<val_len; i++) { in dccp_add_feature()
2379 dccp_feature_neg(struct dccpcb *dp, u_int8_t opt, u_int8_t feature, u_int8_t val_len, char *val) in dccp_feature_neg() argument
2381 …G((LOG_INFO, "Running dccp_feature_neg, opt = %u, feature = %u len = %u ", opt, feature, val_len)); in dccp_feature_neg()
2390 for (i = 1; i < val_len; i ++) if (val[i] == dp->pref_cc) val[0] = dp->pref_cc; in dccp_feature_neg()