/src/sys/compat/common/ |
uipc_syscalls_40.c | 41 struct oifreq ifr, *ifrp = NULL; local in function:compat_ifconf 62 ifrp = ifc->ifc_req; 83 error = copyout(&ifr, ifrp, sz); 86 ifrp++; 111 error = copyout(&ifr, ifrp, sz); 112 ifrp++; 119 error = copyout(&ifr, ifrp, sz); 120 ifrp++; 125 error = copyout(&ifr.ifr_name, ifrp, 129 &ifrp->ifr_addr [all...] |
/src/usr.sbin/bootp/bootptest/ |
getether.c | 135 struct ifreq *ifrp, *ifend; 151 ifrp = ibuf; 153 while (ifrp < ifend) { 155 if (strcmp(ifname, ifrp->ifr_name) == 0 && 156 ifrp->ifr_addr.sa_family == AF_LINK && 157 ((struct sockaddr_dl *) &ifrp->ifr_addr)->sdl_type == IFT_ETHER) { 158 bcopy(LLADDR((struct sockaddr_dl *) &ifrp->ifr_addr), eap, EALEN); 163 n = ifrp->ifr_addr.sa_len + sizeof(ifrp->ifr_name); 164 if (n < (int)sizeof(*ifrp)) 133 struct ifreq *ifrp, *ifend; local in function:getether [all...] |
/src/sys/compat/linux32/common/ |
linux32_socket.c | 418 struct linux32_ifreq ifr, *ifrp = NULL; local in function:linux32_getifconf 440 ifrp = NETBSD32PTR64(ifc.ifc_req); 472 error = copyout(&ifr, ifrp, sz); 477 ifrp++;
|
/src/sys/compat/linux/common/ |
linux_socket.c | 1187 struct linux_ifreq ifr, *ifrp = NULL; local in function:linux_getifconf 1209 ifrp = ifc.ifc_req; 1241 error = copyout(&ifr, ifrp, sz); 1246 ifrp++;
|
/src/sys/net/ |
if.c | 3645 * ifrp points to the next part of the user's buffer to be used. If 3646 * ifrp != NULL, space holds the number of bytes remaining that we may 3647 * write at ifrp. Otherwise, space holds the number of bytes that 3657 struct ifreq ifr, *ifrp = NULL; local in function:ifconf 3668 ifrp = ifc->ifc_req; 3692 error = copyout(&ifr, ifrp, sz); 3695 ifrp++; 3714 error = copyout(&ifr, ifrp, sz); 3717 ifrp++; space -= sz;
|