/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src/router/dnsmasq/src/ |
H A D | helper.c | 380 sprintf(daemon->dhcp_buff2, "vendor_class_id"); 381 buf = grab_extradata_lua(buf, end, daemon->dhcp_buff2); 384 sprintf(daemon->dhcp_buff2, "vendor_class%i", i); 385 buf = grab_extradata_lua(buf, end, daemon->dhcp_buff2); 414 sprintf(daemon->dhcp_buff2, "user_class%i", i); 415 buf = grab_extradata_lua(buf, end, daemon->dhcp_buff2); 493 sprintf(daemon->dhcp_buff2, "%u", data.length); 494 my_setenv("DNSMASQ_LEASE_LENGTH", daemon->dhcp_buff2, &err); 496 sprintf(daemon->dhcp_buff2, "%lu", (unsigned long)data.expires); 497 my_setenv("DNSMASQ_LEASE_EXPIRES", daemon->dhcp_buff2, [all...] |
H A D | lease.c | 70 while (fscanf(leasestream, "%255s %255s", daemon->dhcp_buff3, daemon->dhcp_buff2) == 2) 75 daemon->duid_len = parse_hex(daemon->dhcp_buff2, (unsigned char *)daemon->dhcp_buff2, 130, NULL, NULL); 77 memcpy(daemon->duid, daemon->dhcp_buff2, daemon->duid_len); 95 hw_len = parse_hex(daemon->dhcp_buff2, (unsigned char *)daemon->dhcp_buff2, DHCP_CHADDR_MAX, NULL, &hw_type); 100 lease_set_hwaddr(lease, (unsigned char *)daemon->dhcp_buff2, (unsigned char *)daemon->packet, 109 char *s = daemon->dhcp_buff2;
|
H A D | rfc3315.c | 297 inet_ntop(AF_INET6, &context_tmp->end6, daemon->dhcp_buff2, ADDRSTRLEN); 303 state->xid, daemon->dhcp_buff, daemon->dhcp_buff2); 1842 sprintf(daemon->dhcp_buff2, "%u", opt6_uint(class_opt, 0, 4)); 1843 lease_add_extradata(lease, (unsigned char *)daemon->dhcp_buff2, strlen(daemon->dhcp_buff2), 0); 1981 inet_ntop(AF_INET6, addr, daemon->dhcp_buff2, 255); 1982 strcat(daemon->dhcp_buff2, " "); 1985 daemon->dhcp_buff2[0] = 0; 1992 daemon->dhcp_buff2, 1999 daemon->dhcp_buff2, [all...] |
H A D | dhcp.c | 518 strcpy(daemon->dhcp_buff2, inet_ntoa(context->end)); 520 daemon->dhcp_buff, daemon->dhcp_buff2, inet_ntoa(netmask));
|
H A D | rfc2131.c | 524 memcpy(daemon->dhcp_buff2, mess->file, sizeof(mess->file)); 525 daemon->dhcp_buff2[sizeof(mess->file) + 1] = 0; /* ensure zero term. */ 526 id.net = (char *)daemon->dhcp_buff2; 915 req_options = (unsigned char *)daemon->dhcp_buff2;
|
H A D | dhcp-common.c | 26 daemon->dhcp_buff2 = safe_malloc(256);
|
H A D | dnsmasq.h | 1044 char *dhcp_buff, *dhcp_buff2, *dhcp_buff3; member in struct:daemon
|
/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src-rt/router/dnsmasq/src/ |
H A D | helper.c | 380 sprintf(daemon->dhcp_buff2, "vendor_class_id"); 381 buf = grab_extradata_lua(buf, end, daemon->dhcp_buff2); 384 sprintf(daemon->dhcp_buff2, "vendor_class%i", i); 385 buf = grab_extradata_lua(buf, end, daemon->dhcp_buff2); 414 sprintf(daemon->dhcp_buff2, "user_class%i", i); 415 buf = grab_extradata_lua(buf, end, daemon->dhcp_buff2); 493 sprintf(daemon->dhcp_buff2, "%u", data.length); 494 my_setenv("DNSMASQ_LEASE_LENGTH", daemon->dhcp_buff2, &err); 496 sprintf(daemon->dhcp_buff2, "%lu", (unsigned long)data.expires); 497 my_setenv("DNSMASQ_LEASE_EXPIRES", daemon->dhcp_buff2, [all...] |
H A D | lease.c | 70 while (fscanf(leasestream, "%255s %255s", daemon->dhcp_buff3, daemon->dhcp_buff2) == 2) 75 daemon->duid_len = parse_hex(daemon->dhcp_buff2, (unsigned char *)daemon->dhcp_buff2, 130, NULL, NULL); 77 memcpy(daemon->duid, daemon->dhcp_buff2, daemon->duid_len); 95 hw_len = parse_hex(daemon->dhcp_buff2, (unsigned char *)daemon->dhcp_buff2, DHCP_CHADDR_MAX, NULL, &hw_type); 100 lease_set_hwaddr(lease, (unsigned char *)daemon->dhcp_buff2, (unsigned char *)daemon->packet, 109 char *s = daemon->dhcp_buff2;
|
H A D | rfc3315.c | 297 inet_ntop(AF_INET6, &context_tmp->end6, daemon->dhcp_buff2, ADDRSTRLEN); 303 state->xid, daemon->dhcp_buff, daemon->dhcp_buff2); 1842 sprintf(daemon->dhcp_buff2, "%u", opt6_uint(class_opt, 0, 4)); 1843 lease_add_extradata(lease, (unsigned char *)daemon->dhcp_buff2, strlen(daemon->dhcp_buff2), 0); 1981 inet_ntop(AF_INET6, addr, daemon->dhcp_buff2, 255); 1982 strcat(daemon->dhcp_buff2, " "); 1985 daemon->dhcp_buff2[0] = 0; 1992 daemon->dhcp_buff2, 1999 daemon->dhcp_buff2, [all...] |
H A D | dhcp.c | 518 strcpy(daemon->dhcp_buff2, inet_ntoa(context->end)); 520 daemon->dhcp_buff, daemon->dhcp_buff2, inet_ntoa(netmask));
|
H A D | rfc2131.c | 524 memcpy(daemon->dhcp_buff2, mess->file, sizeof(mess->file)); 525 daemon->dhcp_buff2[sizeof(mess->file) + 1] = 0; /* ensure zero term. */ 526 id.net = (char *)daemon->dhcp_buff2; 915 req_options = (unsigned char *)daemon->dhcp_buff2;
|
H A D | dhcp-common.c | 26 daemon->dhcp_buff2 = safe_malloc(256);
|
H A D | dnsmasq.h | 1044 char *dhcp_buff, *dhcp_buff2, *dhcp_buff3; member in struct:daemon
|
/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src-rt-6.x.4708/router/dnsmasq/src/ |
H A D | helper.c | 380 sprintf(daemon->dhcp_buff2, "vendor_class_id"); 381 buf = grab_extradata_lua(buf, end, daemon->dhcp_buff2); 384 sprintf(daemon->dhcp_buff2, "vendor_class%i", i); 385 buf = grab_extradata_lua(buf, end, daemon->dhcp_buff2); 414 sprintf(daemon->dhcp_buff2, "user_class%i", i); 415 buf = grab_extradata_lua(buf, end, daemon->dhcp_buff2); 493 sprintf(daemon->dhcp_buff2, "%u", data.length); 494 my_setenv("DNSMASQ_LEASE_LENGTH", daemon->dhcp_buff2, &err); 496 sprintf(daemon->dhcp_buff2, "%lu", (unsigned long)data.expires); 497 my_setenv("DNSMASQ_LEASE_EXPIRES", daemon->dhcp_buff2, [all...] |
H A D | lease.c | 70 while (fscanf(leasestream, "%255s %255s", daemon->dhcp_buff3, daemon->dhcp_buff2) == 2) 75 daemon->duid_len = parse_hex(daemon->dhcp_buff2, (unsigned char *)daemon->dhcp_buff2, 130, NULL, NULL); 77 memcpy(daemon->duid, daemon->dhcp_buff2, daemon->duid_len); 95 hw_len = parse_hex(daemon->dhcp_buff2, (unsigned char *)daemon->dhcp_buff2, DHCP_CHADDR_MAX, NULL, &hw_type); 100 lease_set_hwaddr(lease, (unsigned char *)daemon->dhcp_buff2, (unsigned char *)daemon->packet, 109 char *s = daemon->dhcp_buff2;
|
H A D | rfc3315.c | 297 inet_ntop(AF_INET6, &context_tmp->end6, daemon->dhcp_buff2, ADDRSTRLEN); 303 state->xid, daemon->dhcp_buff, daemon->dhcp_buff2); 1842 sprintf(daemon->dhcp_buff2, "%u", opt6_uint(class_opt, 0, 4)); 1843 lease_add_extradata(lease, (unsigned char *)daemon->dhcp_buff2, strlen(daemon->dhcp_buff2), 0); 1981 inet_ntop(AF_INET6, addr, daemon->dhcp_buff2, 255); 1982 strcat(daemon->dhcp_buff2, " "); 1985 daemon->dhcp_buff2[0] = 0; 1992 daemon->dhcp_buff2, 1999 daemon->dhcp_buff2, [all...] |
H A D | dhcp.c | 518 strcpy(daemon->dhcp_buff2, inet_ntoa(context->end)); 520 daemon->dhcp_buff, daemon->dhcp_buff2, inet_ntoa(netmask));
|
H A D | rfc2131.c | 524 memcpy(daemon->dhcp_buff2, mess->file, sizeof(mess->file)); 525 daemon->dhcp_buff2[sizeof(mess->file) + 1] = 0; /* ensure zero term. */ 526 id.net = (char *)daemon->dhcp_buff2; 915 req_options = (unsigned char *)daemon->dhcp_buff2;
|
H A D | dhcp-common.c | 26 daemon->dhcp_buff2 = safe_malloc(256);
|
H A D | dnsmasq.h | 1044 char *dhcp_buff, *dhcp_buff2, *dhcp_buff3; member in struct:daemon
|