Lines Matching refs:ifname
50 static u_int size_bucket(const char *ifname, const u_int rate);
51 static u_int autosize_bucket(const char *ifname, const u_int rate);
53 static int get_ifmtu(const char *ifname);
92 req.ifname[IFNAMSIZ-1] = '\0';
93 strncpy(req.ifname, argv[0], IFNAMSIZ-1);
98 depth = autosize_bucket(req.ifname, rate);
110 depth = size_bucket(req.ifname, rate);
119 err(1, "ALTQTBRSET for interface %s", req.ifname);
125 req.ifname);
134 err(1, "ALTQTBRGET for interface %s", req.ifname);
136 printf("no token bucket regulater found on %s\n", req.ifname);
152 req.ifname, rate_str, size_str);
174 req.ifname[IFNAMSIZ-1] = '\0';
175 strncpy(req.ifname, ifnp->if_name, IFNAMSIZ-1);
193 req.ifname, rate_str, size_str);
243 size_bucket(const char *ifname, const u_int rate)
247 mtu = get_ifmtu(ifname);
269 autosize_bucket(const char *ifname, const u_int rate)
273 mtu = get_ifmtu(ifname);
299 get_ifmtu(const char *ifname)
311 strncpy(ifr.ifr_name, ifname, sizeof ifr.ifr_name);