Lines Matching refs:ifr
83 struct ifreq *ifr = (struct ifreq *) (ifc->ifc_buf + i); in print_ifconf() local
85 (struct sockaddr_in *) &(ifr->ifr_addr); in print_ifconf()
91 "}", ifr->ifr_name, ntohs(sa_in->sin_port), in print_ifconf()
136 struct ifreq *ifr = tail_alloc(2 * sizeof(*ifr)); in main() local
157 ifc->ifc_buf = (char *) (ifr + 2); in main()
161 ifc->ifc_buf = (char *) (ifr + 1); in main()
164 ifc->ifc_len = 1 * sizeof(*ifr); in main()
165 ifc->ifc_buf = (char *) (ifr + 1); in main()
168 ifc->ifc_len = 2 * sizeof(*ifr); in main()
169 ifc->ifc_buf = (char *) (ifr + 1); in main()
172 ifc->ifc_len = 2 * sizeof(*ifr) + 2; in main()
173 ifc->ifc_buf = (char *) ifr; in main()
176 ifc->ifc_len = 3 * sizeof(*ifr) + 4; in main()
177 ifc->ifc_buf = (char *) ifr; in main()