/external/tcpdump/ |
print-ip.c | 233 register u_int option_len; local 236 for (; length > 0; cp += option_len, length -= option_len) { 250 option_len = 1; 254 option_len = cp[1]; 255 if (option_len < 2) { 256 printf(" [bad length %u]", option_len); 261 if (option_len > length) { 262 printf(" [bad length %u]", option_len); 266 TCHECK2(*cp, option_len); [all...] |
/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/chromium_org/third_party/usrsctp/usrsctplib/ |
user_socket.c | [all...] |
usrsctp.h | 870 socklen_t option_len); 877 socklen_t *option_len); [all...] |
/external/valgrind/main/coregrind/ |
vgdb.c | 1300 int option_len = strlen(option); local [all...] |