Searched refs:option_len (Results 1 – 6 of 6) sorted by relevance
/external/tcpdump/ |
D | print-ip.c | 233 register u_int option_len; in ip_optprint() local 236 for (; length > 0; cp += option_len, length -= option_len) { in ip_optprint() 250 option_len = 1; in ip_optprint() 254 option_len = cp[1]; in ip_optprint() 255 if (option_len < 2) { in ip_optprint() 256 printf(" [bad length %u]", option_len); in ip_optprint() 261 if (option_len > length) { in ip_optprint() 262 printf(" [bad length %u]", option_len); in ip_optprint() 266 TCHECK2(*cp, option_len); in ip_optprint() 273 ip_printts(cp, option_len); in ip_optprint() [all …]
|
/external/valgrind/auxprogs/ |
D | getoff.c | 67 int option_len = strlen(option); in is_opt() local 68 if (option[option_len-1] == '=') in is_opt() 69 return (0 == strncmp(option, arg, option_len)); in is_opt()
|
/external/dnsmasq/src/ |
D | rfc2131.c | 81 #define option_len(opt) ((int)(((unsigned char *)(opt))[1])) macro 205 unsigned int total = option_len(opt) + 2; in dhcp_reply() 215 …if ((sopt = option_find1(option_ptr(opt, 0), option_ptr(opt, option_len(opt)), SUBOPT_SUBNET_SELEC… in dhcp_reply() 219 …if ((sopt = option_find1(option_ptr(opt, 0), option_ptr(opt, option_len(opt)), SUBOPT_SERVER_OR, I… in dhcp_reply() 236 if ((sopt = option_find1(option_ptr(opt, 0), option_ptr(opt, option_len(opt)), search, 1)) && in dhcp_reply() 237 vendor->len == option_len(sopt) && in dhcp_reply() 254 clid_len = option_len(opt); in dhcp_reply() 502 int len = option_len(opt); in dhcp_reply() 544 int len = option_len(opt); in dhcp_reply() 610 o->len > option_len(opt)) in dhcp_reply() [all …]
|
/external/dnsmasq/contrib/wrt/ |
D | dhcp_lease_time.c | 53 #define option_len(opt) ((int)(((unsigned char *)(opt))[1])) macro 84 opt_len = option_len(p); in option_find1()
|
/external/valgrind/coregrind/ |
D | vgdb.c | 1323 int option_len = strlen(option); in is_opt() local 1324 if (option[option_len-1] == '=') in is_opt() 1325 return (0 == strncmp(option, arg, option_len)); in is_opt()
|
/external/dnsmasq/contrib/lease-access/ |
D | lease.access.patch | 490 memcpy(req_options, option_ptr(opt, 0), option_len(opt)); 491 req_options[option_len(opt)] = OPTION_END;
|