Lines Matching refs:ifindex
479 const char *define_prefix, __u32 ifindex) in probe_prog_type() argument
486 if (ifindex) in probe_prog_type()
496 res = bpf_probe_prog_type(prog_type, ifindex); in probe_prog_type()
527 __u32 ifindex) in probe_map_type() argument
534 res = bpf_probe_map_type(map_type, ifindex); in probe_map_type()
561 const char *ptype_name, __u32 ifindex) in probe_helper_for_progtype() argument
566 res = bpf_probe_helper(id, prog_type, ifindex); in probe_helper_for_progtype()
592 const char *define_prefix, __u32 ifindex) in probe_helpers_for_progtype() argument
598 if (ifindex) in probe_helpers_for_progtype()
630 ifindex); in probe_helpers_for_progtype()
641 probe_large_insn_limit(const char *define_prefix, __u32 ifindex) in probe_large_insn_limit() argument
645 res = bpf_probe_large_insn_limit(ifindex); in probe_large_insn_limit()
697 __u32 ifindex) in section_program_types() argument
707 probe_prog_type(i, supported_types, define_prefix, ifindex); in section_program_types()
712 static void section_map_types(const char *define_prefix, __u32 ifindex) in section_map_types() argument
722 probe_map_type(i, define_prefix, ifindex); in section_map_types()
728 section_helpers(bool *supported_types, const char *define_prefix, __u32 ifindex) in section_helpers() argument
754 ifindex); in section_helpers()
759 static void section_misc(const char *define_prefix, __u32 ifindex) in section_misc() argument
765 probe_large_insn_limit(define_prefix, ifindex); in section_misc()
898 __u32 ifindex = 0; in do_probe() local
914 if (target != COMPONENT_UNSPEC || ifindex) { in do_probe()
923 ifindex = if_nametoindex(ifname); in do_probe()
924 if (!ifindex) { in do_probe()
979 section_program_types(supported_types, define_prefix, ifindex); in do_probe()
980 section_map_types(define_prefix, ifindex); in do_probe()
981 section_helpers(supported_types, define_prefix, ifindex); in do_probe()
982 section_misc(define_prefix, ifindex); in do_probe()