Searched refs:ifr (Results 1 - 5 of 5) sorted by relevance

/xsrc/external/bsd/libuuid_ul/dist/
H A Dgen_uuid.c106 struct ifreq ifr, *ifrp; local in function:get_node_id
142 strncpy(ifr.ifr_name, ifrp->ifr_name, IFNAMSIZ);
144 if (ioctl(sd, SIOCGIFHWADDR, &ifr) < 0)
146 a = (unsigned char *) &ifr.ifr_hwaddr.sa_data;
149 if (ioctl(sd, SIOCGENADDR, &ifr) < 0)
151 a = (unsigned char *) ifr.ifr_enaddr;
/xsrc/external/mit/xorg-server.old/dist/os/
H A Daccess.c522 register struct lifreq *ifr; local in function:DefineSelf
529 register struct ifreq *ifr; local in function:DefineSelf
533 struct ifaddrs * ifap, *ifr;
565 #define IFR_IFR_ADDR ifr->lifr_addr
566 #define IFR_IFR_NAME ifr->lifr_name
575 #define IFR_IFR_ADDR ifr->ifr_addr
576 #define IFR_IFR_NAME ifr->ifr_name
584 for (cp = (char *) IFC_IFC_REQ; cp < cplim; cp += ifr_size (ifr))
586 ifr = (ifr_type *) cp;
669 broad_req = *ifr;
[all...]
/xsrc/external/mit/xorg-server/dist/os/
H A Daccess.c606 register struct lifreq *ifr; local in function:DefineSelf
614 register struct ifreq *ifr; local in function:DefineSelf
618 struct ifaddrs *ifap, *ifr;
650 #define IFR_IFR_ADDR ifr->lifr_addr
651 #define IFR_IFR_NAME ifr->lifr_name
660 #define IFR_IFR_ADDR ifr->ifr_addr
661 #define IFR_IFR_NAME ifr->ifr_name
669 for (cp = (char *) IFC_IFC_REQ; cp < cplim; cp += ifr_size(ifr)) {
670 ifr = (ifr_type *) cp;
748 broad_req = *ifr;
[all...]
/xsrc/external/mit/xdm/dist/xdm/
H A Dauth.c770 struct ifaddrs *ifap, *ifr; local in function:DefineSelf
777 for (ifr = ifap; ifr != NULL; ifr = ifr->ifa_next) {
778 len = sizeof(*(ifr->ifa_addr));
779 family = ConvertAddr((XdmcpNetaddr)(ifr->ifa_addr), &len, &addr);
842 register ifr_type *ifr; local in function:DefineSelf
874 # define IFR_IFR_ADDR ifr->lifr_addr
875 # define IFR_IFR_NAME ifr
[all...]
/xsrc/external/mit/xdm/dist/chooser/
H A Dchooser.c483 register struct ifreq *ifr; local in function:RegisterHostname
496 for (cp = (char *) ifc.ifc_req; cp < cplim; cp += ifr_size (ifr))
498 ifr = (struct ifreq *) cp;
499 if (ifr->ifr_addr.sa_family != AF_INET)
502 broad_addr = ifr->ifr_addr;
509 broad_req = *ifr;
515 broad_req = *ifr;

Completed in 9 milliseconds