Lines Matching refs:ifr
84 struct ifreq *ifr = (struct ifreq *) (ifc->ifc_buf + i); in print_ifconf() local
86 (struct sockaddr_in *) &(ifr->ifr_addr); in print_ifconf()
92 "}", ifr->ifr_name, ntohs(sa_in->sin_port), in print_ifconf()
137 struct ifreq *ifr = tail_alloc(2 * sizeof(*ifr)); in main() local
158 ifc->ifc_buf = (char *) (ifr + 2); in main()
162 ifc->ifc_buf = (char *) (ifr + 1); in main()
165 ifc->ifc_len = 1 * sizeof(*ifr); in main()
166 ifc->ifc_buf = (char *) (ifr + 1); in main()
169 ifc->ifc_len = 2 * sizeof(*ifr); in main()
170 ifc->ifc_buf = (char *) (ifr + 1); in main()
173 ifc->ifc_len = 2 * sizeof(*ifr) + 2; in main()
174 ifc->ifc_buf = (char *) ifr; in main()
177 ifc->ifc_len = 3 * sizeof(*ifr) + 4; in main()
178 ifc->ifc_buf = (char *) ifr; in main()