Lines Matching refs:type
19 int type = nla_type(nla);
22 if (!type)
24 if (type > RTAX_MAX) {
25 NL_SET_ERR_MSG(extack, "Invalid metric type");
29 type = array_index_nospec(type, RTAX_MAX + 1);
30 if (type == RTAX_CC_ALGO) {
47 if (type == RTAX_ADVMSS && val > 65535 - 40)
49 if (type == RTAX_MTU && val > 65535 - 15)
51 if (type == RTAX_HOPLIMIT && val > 255)
53 if (type == RTAX_FEATURES && (val & ~RTAX_FEATURE_MASK)) {
57 metrics[type - 1] = val;