Searched refs:bpf_len (Results 1 – 1 of 1) sorted by relevance
/external/iproute2/lib/ |
D | bpf.c | 216 static int bpf_parse_string(char *arg, bool from_file, __u16 *bpf_len, in bpf_parse_string() argument 277 if (sscanf(*bpf_string, "%hu%c", bpf_len, &sp) != 2 || in bpf_parse_string() 293 __u16 bpf_len = 0; in bpf_ops_parse() local 297 if (bpf_parse_string(argv[0], from_file, &bpf_len, &bpf_string, in bpf_ops_parse() 300 if (bpf_len == 0 || bpf_len > BPF_MAXINSNS) { in bpf_ops_parse() 307 if (i >= bpf_len) { in bpf_ops_parse() 324 if (i != bpf_len) { in bpf_ops_parse() 329 ret = bpf_len; in bpf_ops_parse()
|