Searched refs:ifid (Results 1 – 4 of 4) sorted by relevance
117 SetInterfaceID(u_char *ifid, int userandom) in SetInterfaceID() argument125 memset(ifid, 0, IPV6CP_IFIDLEN); in SetInterfaceID()158 ifid[0] = cp[0]; in SetInterfaceID()159 ifid[0] ^= 0x02; /* reverse the u/l bit*/ in SetInterfaceID()160 ifid[1] = cp[1]; in SetInterfaceID()161 ifid[2] = cp[2]; in SetInterfaceID()162 ifid[3] = 0xff; in SetInterfaceID()163 ifid[4] = 0xfe; in SetInterfaceID()164 ifid[5] = cp[3]; in SetInterfaceID()165 ifid[6] = cp[4]; in SetInterfaceID()[all …]
584 struct ifid { struct595 struct ifid *ifhp; in udf_fhtovp()599 ifhp = (struct ifid *)fhp; in udf_fhtovp()614 struct ifid *ifhp; in udf_vptofh()617 ifhp = (struct ifid *)fhp; in udf_vptofh()618 ifhp->ifid_len = sizeof(struct ifid); in udf_vptofh()
654 struct ifid { struct666 struct ifid *ifhp = (struct ifid *)fhp; in cd9660_fhtovp()918 struct ifid *ifhp; in cd9660_vptofh()920 ifhp = (struct ifid *)fhp; in cd9660_vptofh()921 ifhp->ifid_len = sizeof(struct ifid); in cd9660_vptofh()
1514 in6_ifadd(struct nd_prefix *pr, struct in6_addr *ifid) in in6_ifadd() argument1592 if (ifid == NULL || IN6_IS_ADDR_UNSPECIFIED(ifid)) in in6_ifadd()1593 ifid = &ib->ia_addr.sin6_addr; in in6_ifadd()1595 (ifid->s6_addr32[0] & ~mask.s6_addr32[0]); in in6_ifadd()1597 (ifid->s6_addr32[1] & ~mask.s6_addr32[1]); in in6_ifadd()1599 (ifid->s6_addr32[2] & ~mask.s6_addr32[2]); in in6_ifadd()1601 (ifid->s6_addr32[3] & ~mask.s6_addr32[3]); in in6_ifadd()