Lines Matching refs:dhcp_data
124 static DHCP_DATA dhcp_data; variable
356 memset(&dhcp_data,0,sizeof(dhcp_data)); in parse_ia_na()
360 dhcp_data.iaid = ntohl(*((uint32_t*)(t+4))); in parse_ia_na()
361 dhcp_data.t1 = ntohl(*((uint32_t*)(t+8))); in parse_ia_na()
362 dhcp_data.t2 = ntohl(*((uint32_t*)(t+12))); in parse_ia_na()
372 memcpy(dhcp_data.ipaddr,t+4,16); in parse_ia_na()
385 dhcp_data.pf_lf = ntohl(*((uint32_t*)(t+20))); in parse_ia_na()
386 dhcp_data.va_lf = ntohl(*((uint32_t*)(t+24))); in parse_ia_na()
392 dhcp_data.status_code = ntohs(*((uint16_t*)(t+4))); in parse_ia_na()
632 dbg("Status code:%d\n", dhcp_data.status_code); in dhcp6_main()
633 inet_ntop(AF_INET6, dhcp_data.ipaddr, toybuf, INET6_ADDRSTRLEN); in dhcp6_main()
651 dbg("Status code:%d\n", dhcp_data.status_code); in dhcp6_main()
652 inet_ntop(AF_INET6, dhcp_data.ipaddr, toybuf, INET6_ADDRSTRLEN); in dhcp6_main()
655 run_script(&dhcp_data, (TT.state == DHCP6REQUEST) ? in dhcp6_main()
662 set_timeout((dhcp_data.va_lf)?dhcp_data.va_lf:INT_MAX); in dhcp6_main()