• Home
  • Raw
  • Download

Lines Matching refs:msgopt_list

207 static option_val_t *msgopt_list = NULL;  variable
517 if (msgopt_list) { in fill_envp()
519 if ((msgopt_list[count].len == 0) || (msgopt_list[count].val == NULL)) continue; in fill_envp()
520 ret = setenv(msgopt_list[count].key, (char*)msgopt_list[count].val, 1); in fill_envp()
1065 if(msgopt_list){ in dhcpc_parseoptions()
1067 if(msgopt_list[count].val) free(msgopt_list[count].val); in dhcpc_parseoptions()
1068 msgopt_list[count].val = NULL; in dhcpc_parseoptions()
1069 msgopt_list[count].len = 0; in dhcpc_parseoptions()
1072 msgopt_list = xmalloc(sizeof(options_list)); in dhcpc_parseoptions()
1073 memcpy(msgopt_list, options_list, sizeof(options_list)); in dhcpc_parseoptions()
1075 msgopt_list[count].len = 0; in dhcpc_parseoptions()
1076 msgopt_list[count].val = NULL; in dhcpc_parseoptions()
1080 msgopt_list = options_list; in dhcpc_parseoptions()
1082 msgopt_list[count].len = 0; in dhcpc_parseoptions()
1083 if(msgopt_list[count].val) free(msgopt_list[count].val); in dhcpc_parseoptions()
1084 msgopt_list[count].val = NULL; in dhcpc_parseoptions()
1099 if ((msgopt_list[count].code & 0X00FF) == *optptr) { in dhcpc_parseoptions()
1100 flag = (msgopt_list[count].code & 0XFF00); in dhcpc_parseoptions()
1104 msgopt_list[count].val = 0; in dhcpc_parseoptions()
1105 msgopt_list[count].len = 0; in dhcpc_parseoptions()
1108 msgopt_list[count].val = xmprintf("%llu", peek_be(optptr+2, 4)); in dhcpc_parseoptions()
1111 msgopt_list[count].val = xmprintf("%llu", peek_be(optptr+2, 2)); in dhcpc_parseoptions()
1114 msgopt_list[count].val = xmprintf("%llu", peek_be(optptr+2, 1)); in dhcpc_parseoptions()
1117 msgopt_list[count].val = xstrdup(inet_ntoa((struct in_addr){peek(optptr+2, 4)})); in dhcpc_parseoptions()
1120 msgopt_list[count].val = xmprintf("%.*s", optptr[1], optptr+2); in dhcpc_parseoptions()
1132 msgopt_list[count].val = strdup(toybuf); in dhcpc_parseoptions()
1166 msgopt_list[count].val = strdup(toybuf); in dhcpc_parseoptions()
1170 if (msgopt_list[count].val) in dhcpc_parseoptions()
1171 msgopt_list[count].len = strlen(msgopt_list[count].val); in dhcpc_parseoptions()
1247 if (msgopt_list[count].val) free(msgopt_list[count].val); in free_option_stores()
1248 free(msgopt_list); in free_option_stores()