Lines Matching refs:now_uint32
241 uint32_t cookie_time, now_uint32; in cookie_verify() local
259 now_uint32 = *now_p ? *now_p : (*now_p = (uint32_t)time(NULL)); in cookie_verify()
261 if(compare_1982(now_uint32, cookie_time) > 0) { in cookie_verify()
263 if (subtract_1982(cookie_time, now_uint32) > 3600) in cookie_verify()
265 } else if (subtract_1982(now_uint32, cookie_time) > 300) { in cookie_verify()
289 if (subtract_1982(cookie_time, now_uint32) < 1800) { in cookie_verify()
311 uint32_t now_uint32; in cookie_create() local
316 now_uint32 = *now_p ? *now_p : (*now_p = (uint32_t)time(NULL)); in cookie_create()
321 q->edns.cookie[12] = (now_uint32 & 0xFF000000) >> 24; in cookie_create()
322 q->edns.cookie[13] = (now_uint32 & 0x00FF0000) >> 16; in cookie_create()
323 q->edns.cookie[14] = (now_uint32 & 0x0000FF00) >> 8; in cookie_create()
324 q->edns.cookie[15] = now_uint32 & 0x000000FF; in cookie_create()