Searched refs:OPT_LEN (Results 1 - 19 of 19) sorted by relevance
/netgear-R7000-V1.0.7.12_1.2.5/src/router/busybox-1.x/networking/udhcp/ |
H A D | options.c | 87 if (i + 1 + optionptr[i + OPT_LEN] >= length) { 98 if (i + 1 + optionptr[i + OPT_LEN] >= length) { 103 i += optionptr[OPT_LEN] + 2; 119 i += optionptr[OPT_LEN + i] + 2; 133 else i += optionptr[i + OPT_LEN] + 2; 146 if (end + string[OPT_LEN] + 2 + 1 >= 308) { 152 memcpy(optionptr + end, string, string[OPT_LEN] + 2); 153 optionptr[end + string[OPT_LEN] + 2] = DHCP_END; 154 return string[OPT_LEN] + 2; 169 option[OPT_LEN] [all...] |
H A D | files.c | 105 new->data[OPT_LEN] = length; 128 existing->data[OPT_LEN], buffer, &length); 130 if (existing->data[OPT_LEN] + length <= 255) { 132 existing->data[OPT_LEN] + length + 3); 135 if (existing->data[OPT_LEN] + length >= 255) 138 existing->data[existing->data[OPT_LEN] + 2] = ' '; 139 existing->data[OPT_LEN]++; 141 memcpy(existing->data + existing->data[OPT_LEN] + 2, buffer, length); 142 existing->data[OPT_LEN] += length;
|
H A D | options.h | 97 #define OPT_LEN 1 macro
|
H A D | clientpacket.c | 68 packet->options[end + OPT_LEN] = len;
|
H A D | packet.c | 64 if (vendor[OPT_LEN - 2] == (uint8_t)(sizeof("MSFT 98")-1)
|
H A D | script.c | 68 len = option[OPT_LEN - 2];
|
H A D | dhcpc.c | 137 storage[OPT_LEN] = len + extra;
|
/netgear-R7000-V1.0.7.12_1.2.5/ap/gpl/udhcpd/ |
H A D | options.c | 97 if (i + 1 + optionptr[i + OPT_LEN] >= length) {
108 if (i + 1 + optionptr[i + OPT_LEN] >= length) {
113 i += optionptr[OPT_LEN] + 2;
129 i += optionptr[OPT_LEN + i] + 2;
143 else i += optionptr[i + OPT_LEN] + 2;
156 if (end + string[OPT_LEN] + 2 + 1 >= 308) {
161 memcpy(optionptr + end, string, string[OPT_LEN] + 2);
162 optionptr[end + string[OPT_LEN] + 2] = DHCP_END;
163 return string[OPT_LEN] + 2;
192 option[OPT_LEN] [all...] |
H A D | dhcpd.h | 92 #define OPT_LEN 1 macro
|
H A D | packet.c | 73 if (vendor[OPT_LEN - 2] == (unsigned char) strlen(broken_vendors[i]) &&
74 !strncmp(vendor, broken_vendors[i], vendor[OPT_LEN - 2])) {
|
H A D | script.c | 73 int len = option[OPT_LEN - 2];
233 envp[j] = xmalloc(upper_length(temp[OPT_LEN - 2], &options[i]) + strlen(options[i].name) + 2);
|
H A D | dhcpc.c | 342 client_config.clientid[OPT_LEN] = len;
358 client_config.hostname[OPT_LEN] = len;
408 client_config.clientid[OPT_LEN] = 7;
|
H A D | clientpacket.c | 105 packet->options[end + OPT_LEN] = len;
|
/netgear-R7000-V1.0.7.12_1.2.5/src/router/udhcpd/ |
H A D | options.c | 79 if (i + 1 + optionptr[i + OPT_LEN] >= length) { 90 if (i + 1 + optionptr[i + OPT_LEN] >= length) { 95 i += optionptr[OPT_LEN] + 2; 111 i += optionptr[OPT_LEN + i] + 2; 125 else i += optionptr[i + OPT_LEN] + 2; 138 if (end + string[OPT_LEN] + 2 + 1 >= 308) { 143 memcpy(optionptr + end, string, string[OPT_LEN] + 2); 144 optionptr[end + string[OPT_LEN] + 2] = DHCP_END; 145 return string[OPT_LEN] + 2; 174 option[OPT_LEN] [all...] |
H A D | dhcpd.h | 92 #define OPT_LEN 1 macro
|
H A D | packet.c | 72 if (vendor[OPT_LEN - 2] == (unsigned char) strlen(broken_vendors[i]) && 73 !strncmp((char *)vendor, broken_vendors[i], vendor[OPT_LEN - 2])) {
|
H A D | script.c | 74 int len = option[OPT_LEN - 2]; 175 envp[j] = xmalloc(upper_length(temp[OPT_LEN - 2], &options[i]) + strlen(options[i].name) + 2);
|
H A D | dhcpc.c | 253 client_config.clientid[OPT_LEN] = len; 269 client_config.hostname[OPT_LEN] = len; 312 client_config.clientid[OPT_LEN] = 7;
|
H A D | clientpacket.c | 101 packet->options[end + OPT_LEN] = len;
|
Completed in 190 milliseconds