Lines Matching defs:ifr
45 struct ifreq ifr;
52 xstrncpy(ifr.ifr_name, bridge, IFNAMSIZ);
53 ifr.ifr_data = (char *)args;
54 xioctl(TT.sockfd, SIOCDEVPRIVATE, &ifr);
60 struct ifreq ifr;
65 xstrncpy(ifr.ifr_name, bridge, IFNAMSIZ);
66 ifr.ifr_data = (char *)args;
68 if (ioctl(TT.sockfd, SIOCDEVPRIVATE, &ifr) < 0) {
142 struct ifreq ifr;
147 ifr.ifr_ifindex = index;
148 xioctl(TT.sockfd, SIOCBRADDIF, &ifr);
151 xstrncpy(ifr.ifr_name, argv[0], IFNAMSIZ);
152 ifr.ifr_data = (char *)args;
153 xioctl(TT.sockfd, SIOCDEVPRIVATE, &ifr);
160 struct ifreq ifr;
165 ifr.ifr_ifindex = ifindex;
166 xioctl(TT.sockfd, SIOCBRDELIF, &ifr);
169 xstrncpy(ifr.ifr_name, argv[0], IFNAMSIZ);
170 ifr.ifr_data = (char *)args;
171 xioctl(TT.sockfd, SIOCDEVPRIVATE, &ifr);
194 struct ifreq ifr;
197 xstrncpy(ifr.ifr_name, br, IFNAMSIZ);
198 ifr.ifr_data = (char *)args;
199 xioctl(TT.sockfd, SIOCDEVPRIVATE, &ifr);
260 struct ifreq ifr;
273 xstrncpy(ifr.ifr_name, br, IFNAMSIZ);
274 ifr.ifr_data = (char *)args;
275 xioctl(TT.sockfd, SIOCDEVPRIVATE, &ifr);