Home
last modified time | relevance | path

Searched refs:bpf_len (Results 1 – 1 of 1) sorted by relevance

/tools/net/
Dbpf_dbg.c866 static int bpf_run_all(struct sock_filter *f, uint16_t bpf_len, uint8_t *pkt, in bpf_run_all() argument
886 static int bpf_run_stepping(struct sock_filter *f, uint16_t bpf_len, in bpf_run_stepping() argument
1007 unsigned short bpf_len, i = 0; in cmd_load_bpf() local
1013 if (sscanf(bpf_string, "%hu%c", &bpf_len, &sp) != 2 || in cmd_load_bpf()
1014 sp != separator || bpf_len > BPF_MAXINSNS || bpf_len == 0) { in cmd_load_bpf()
1021 if (i >= bpf_len) { in cmd_load_bpf()
1040 if (i != bpf_len) { in cmd_load_bpf()
1044 bpf_prog_len = bpf_len; in cmd_load_bpf()