Lines Matching refs:ifindex
483 const char *define_prefix, __u32 ifindex) in probe_prog_type() argument
490 if (ifindex) in probe_prog_type()
500 res = bpf_probe_prog_type(prog_type, ifindex); in probe_prog_type()
531 __u32 ifindex) in probe_map_type() argument
538 res = bpf_probe_map_type(map_type, ifindex); in probe_map_type()
565 const char *ptype_name, __u32 ifindex) in probe_helper_for_progtype() argument
570 res = bpf_probe_helper(id, prog_type, ifindex); in probe_helper_for_progtype()
596 const char *define_prefix, __u32 ifindex) in probe_helpers_for_progtype() argument
602 if (ifindex) in probe_helpers_for_progtype()
635 ifindex); in probe_helpers_for_progtype()
646 probe_large_insn_limit(const char *define_prefix, __u32 ifindex) in probe_large_insn_limit() argument
650 res = bpf_probe_large_insn_limit(ifindex); in probe_large_insn_limit()
702 __u32 ifindex) in section_program_types() argument
712 probe_prog_type(i, supported_types, define_prefix, ifindex); in section_program_types()
717 static void section_map_types(const char *define_prefix, __u32 ifindex) in section_map_types() argument
727 probe_map_type(i, define_prefix, ifindex); in section_map_types()
733 section_helpers(bool *supported_types, const char *define_prefix, __u32 ifindex) in section_helpers() argument
759 ifindex); in section_helpers()
764 static void section_misc(const char *define_prefix, __u32 ifindex) in section_misc() argument
770 probe_large_insn_limit(define_prefix, ifindex); in section_misc()
903 __u32 ifindex = 0; in do_probe() local
919 if (target != COMPONENT_UNSPEC || ifindex) { in do_probe()
928 ifindex = if_nametoindex(ifname); in do_probe()
929 if (!ifindex) { in do_probe()
984 section_program_types(supported_types, define_prefix, ifindex); in do_probe()
985 section_map_types(define_prefix, ifindex); in do_probe()
986 section_helpers(supported_types, define_prefix, ifindex); in do_probe()
987 section_misc(define_prefix, ifindex); in do_probe()