Lines Matching refs:idx
30 static int prog_load(__u32 idx, __u32 mark, __u32 prio) in prog_load() argument
43 BPF_MOV64_IMM(BPF_REG_3, idx), in prog_load()
80 if (idx) in prog_load()
98 if (idx) { in prog_load()
206 __u32 idx = 0, mark = 0, prio = 0; in main() local
219 idx = if_nametoindex(optarg); in main()
220 if (!idx) { in main()
221 idx = strtoumax(optarg, NULL, 0); in main()
222 if (!idx) { in main()
251 if (do_attach && !idx && !mark && !prio) { in main()
264 prog_fd = prog_load(idx, mark, prio); in main()