Lines Matching refs:mtu
252 int mtu = -1; in iplink_parse() local
295 if (mtu != -1) in iplink_parse()
297 if (get_integer(&mtu, *argv, 0)) in iplink_parse()
299 addattr_l(&req->n, sizeof(*req), IFLA_MTU, &mtu, 4); in iplink_parse()
594 static int set_mtu(const char *dev, int mtu) in set_mtu() argument
605 ifr.ifr_mtu = mtu; in set_mtu()
699 int mtu = -1; in do_set() local
733 if (mtu != -1) in do_set()
735 if (get_integer(&mtu, *argv, 0)) in do_set()
836 if (mtu != -1) { in do_set()
837 if (set_mtu(dev, mtu) < 0) in do_set()