Searched refs:udp_len (Results 1 – 5 of 5) sorted by relevance
/hardware/google/apf/v7/ |
D | apf_dns.h | 18 const u32 udp_len, in FUNC() argument 27 if (*ofs >= udp_len) return error_packet; in FUNC() 32 if (*ofs >= udp_len) return error_packet; in FUNC() 42 if (*ofs + label_size > udp_len) return error_packet; in FUNC() 84 const u32 udp_len, in FUNC() argument 87 if (udp_len < 12) return error_packet; /* lack of dns header */ in FUNC() 100 match_result_type m = match_single_name(needles, needle_bound, udp, udp_len, &ofs); in FUNC() 103 if (ofs + 2 > udp_len) return error_packet; in FUNC() 112 match_result_type m = match_single_name(needles, needle_bound, udp, udp_len, &ofs); in FUNC() 115 if (ofs + 2 > udp_len) return error_packet; in FUNC()
|
D | apf_interpreter.c | 405 const u32 udp_len, in FUNC() argument 414 if (*ofs >= udp_len) return error_packet; in FUNC() 419 if (*ofs >= udp_len) return error_packet; in FUNC() 429 if (*ofs + label_size > udp_len) return error_packet; in FUNC() 471 const u32 udp_len, in FUNC() argument 474 if (udp_len < 12) return error_packet; /* lack of dns header */ in FUNC() 487 … match_result_type m = apf_internal_match_single_name(needles, needle_bound, udp, udp_len, &ofs); in FUNC() 490 if (ofs + 2 > udp_len) return error_packet; in FUNC() 499 … match_result_type m = apf_internal_match_single_name(needles, needle_bound, udp, udp_len, &ofs); in FUNC() 502 if (ofs + 2 > udp_len) return error_packet; in FUNC()
|
/hardware/google/apf/ |
D | apf_dns.h | 18 const u32 udp_len, in FUNC() argument 27 if (*ofs >= udp_len) return error_packet; in FUNC() 32 if (*ofs >= udp_len) return error_packet; in FUNC() 42 if (*ofs + label_size > udp_len) return error_packet; in FUNC() 84 const u32 udp_len, in FUNC() argument 87 if (udp_len < 12) return error_packet; /* lack of dns header */ in FUNC() 100 match_result_type m = match_single_name(needles, needle_bound, udp, udp_len, &ofs); in FUNC() 103 if (ofs + 2 > udp_len) return error_packet; in FUNC() 112 match_result_type m = match_single_name(needles, needle_bound, udp, udp_len, &ofs); in FUNC() 115 if (ofs + 2 > udp_len) return error_packet; in FUNC()
|
/hardware/google/apf/v6/ |
D | apf_interpreter.c | 403 const u32 udp_len, in FUNC() argument 412 if (*ofs >= udp_len) return error_packet; in FUNC() 417 if (*ofs >= udp_len) return error_packet; in FUNC() 427 if (*ofs + label_size > udp_len) return error_packet; in FUNC() 469 const u32 udp_len, in FUNC() argument 472 if (udp_len < 12) return error_packet; /* lack of dns header */ in FUNC() 485 … match_result_type m = apf_internal_match_single_name(needles, needle_bound, udp, udp_len, &ofs); in FUNC() 488 if (ofs + 2 > udp_len) return error_packet; in FUNC() 497 … match_result_type m = apf_internal_match_single_name(needles, needle_bound, udp, udp_len, &ofs); in FUNC() 500 if (ofs + 2 > udp_len) return error_packet; in FUNC()
|
/hardware/google/apf/devtools/ |
D | apf_interpreter.c | 405 const u32 udp_len, in FUNC() argument 414 if (*ofs >= udp_len) return error_packet; in FUNC() 419 if (*ofs >= udp_len) return error_packet; in FUNC() 429 if (*ofs + label_size > udp_len) return error_packet; in FUNC() 471 const u32 udp_len, in FUNC() argument 474 if (udp_len < 12) return error_packet; /* lack of dns header */ in FUNC() 487 … match_result_type m = apf_internal_match_single_name(needles, needle_bound, udp, udp_len, &ofs); in FUNC() 490 if (ofs + 2 > udp_len) return error_packet; in FUNC() 499 … match_result_type m = apf_internal_match_single_name(needles, needle_bound, udp, udp_len, &ofs); in FUNC() 502 if (ofs + 2 > udp_len) return error_packet; in FUNC()
|