/external/valgrind/auxprogs/ |
getoff.c | 67 int option_len = strlen(option); local 68 if (option[option_len-1] == '=') 69 return (0 == strncmp(option, arg, option_len));
|
/external/tcpdump/ |
print-ip.c | 234 register u_int option_len; local 237 for (; length > 0; cp += option_len, length -= option_len) { 251 option_len = 1; 255 option_len = cp[1]; 256 if (option_len < 2) { 257 ND_PRINT((ndo, " [bad length %u]", option_len)); 262 if (option_len > length) { 263 ND_PRINT((ndo, " [bad length %u]", option_len)); 267 ND_TCHECK2(*cp, option_len); [all...] |
print-ahcp.c | 274 uint8_t option_no, option_len; local 288 option_len = *cp; 290 if (cp + option_len > ep) 294 if (data_decoders[option_no](ndo, cp, cp + option_len) < 0) 297 ND_PRINT((ndo, " (Length %u)", option_len)); 298 ND_TCHECK2(*cp, option_len); 300 cp += option_len;
|
/external/dnsmasq/contrib/wrt/ |
dhcp_lease_time.c | 53 #define option_len(opt) ((int)(((unsigned char *)(opt))[1])) macro 84 opt_len = option_len(p);
|
/external/dnsmasq/src/ |
rfc2131.c | 81 #define option_len(opt) ((int)(((unsigned char *)(opt))[1])) macro 205 unsigned int total = option_len(opt) + 2; 215 if ((sopt = option_find1(option_ptr(opt, 0), option_ptr(opt, option_len(opt)), SUBOPT_SUBNET_SELECT, INADDRSZ))) 219 if ((sopt = option_find1(option_ptr(opt, 0), option_ptr(opt, option_len(opt)), SUBOPT_SERVER_OR, INADDRSZ))) 236 if ((sopt = option_find1(option_ptr(opt, 0), option_ptr(opt, option_len(opt)), search, 1)) && 237 vendor->len == option_len(sopt) && 254 clid_len = option_len(opt); 502 int len = option_len(opt); 544 int len = option_len(opt); 610 o->len > option_len(opt) [all...] |
/external/valgrind/coregrind/ |
vgdb.c | 1323 int option_len = strlen(option); local [all...] |
/external/dhcpcd-6.8.2/ |
dhcp.c | 1136 uint8_t option_len; local 1173 option_len = *options_startp++; 1174 options_startp += option_len; 1951 uint8_t option_len; local [all...] |
/external/toybox/toys/pending/ |
dhcp6.c | 174 static void fill_option(uint16_t option_id, uint16_t option_len, uint8_t **dhmesg) 179 *(uint16_t*)(tmp+2) = htons(option_len);
|