Lines Matching refs:have_config
80 #define have_config(config, mask) ((config) && ((config)->flags & (mask))) macro
383 if (have_config(config, CONFIG_DISABLE)) in dhcp_reply()
388 if (have_config(config, CONFIG_NAME)) in dhcp_reply()
394 if (have_config(config, CONFIG_NETID)) in dhcp_reply()
424 if (have_config(config, CONFIG_ADDR)) in dhcp_reply()
484 have_config(config, CONFIG_TIME) ? config->lease_time : 0xffffffff, in dhcp_reply()
560 if (have_config(config, CONFIG_NAME)) in dhcp_reply()
584 if (new && !have_config(new, CONFIG_CLID) && !new->hwaddr) in dhcp_reply()
596 if (have_config(config, CONFIG_NETID)) in dhcp_reply()
707 if (have_config(config, CONFIG_NOCLID)) in dhcp_reply()
849 if (have_config(config, CONFIG_ADDR) && in dhcp_reply()
881 if (ignore || have_config(config, CONFIG_DISABLE)) in dhcp_reply()
895 if (have_config(config, CONFIG_ADDR)) in dhcp_reply()
917 else if (have_config(config, CONFIG_DECLINED) && in dhcp_reply()
970 if (ignore || have_config(config, CONFIG_DISABLE)) in dhcp_reply()
1055 if (have_config(config, CONFIG_ADDR)) in dhcp_reply()
1070 (!have_config(config, CONFIG_ADDR) || config->addr.s_addr != mess->yiaddr.s_addr)) in dhcp_reply()
1077 have_config(config, CONFIG_ADDR) && in dhcp_reply()
1078 (!have_config(config, CONFIG_DECLINED) || in dhcp_reply()
1241 if (ignore || have_config(config, CONFIG_DISABLE)) in dhcp_reply()
1339 unsigned int time = have_config(config, CONFIG_TIME) ? config->lease_time : context->lease_time; in calc_time()