version 1.65, 2006/05/18 09:05:51 |
version 1.66, 2006/10/12 01:32:39 |
Line 139 get_hostid_ifid(ifp, in6) |
|
Line 139 get_hostid_ifid(ifp, in6) |
|
* We currently use MD5(hostname) for it. |
* We currently use MD5(hostname) for it. |
*/ |
*/ |
static int |
static int |
get_rand_ifid(ifp, in6) |
get_rand_ifid(struct ifnet *ifp __unused, |
struct ifnet *ifp; |
struct in6_addr *in6) /* upper 64bits are preserved */ |
struct in6_addr *in6; /* upper 64bits are preserved */ |
|
{ |
{ |
MD5_CTX ctxt; |
MD5_CTX ctxt; |
u_int8_t digest[16]; |
u_int8_t digest[16]; |
Line 981 in6_get_tmpifid(ifp, retbuf, baseid, gen |
|
Line 980 in6_get_tmpifid(ifp, retbuf, baseid, gen |
|
} |
} |
|
|
void |
void |
in6_tmpaddrtimer(ignored_arg) |
in6_tmpaddrtimer(void *ignored_arg __unused) |
void *ignored_arg; |
|
{ |
{ |
struct nd_ifinfo *ndi; |
struct nd_ifinfo *ndi; |
u_int8_t nullbuf[8]; |
u_int8_t nullbuf[8]; |