/linux/tools/testing/selftests/bpf/progs/ |
A D | test_check_mtu.c | 37 __u32 ifindex = 0; in xdp_use_helper() local 63 __u32 ifindex = GLOBAL_USER_IFINDEX; in xdp_exceed_mtu() local 90 __u32 ifindex = GLOBAL_USER_IFINDEX; in xdp_minus_delta() local 114 __u32 ifindex = GLOBAL_USER_IFINDEX; in xdp_input_len() local 136 __u32 ifindex = GLOBAL_USER_IFINDEX; in xdp_input_len_exceed() local 178 __u32 ifindex = GLOBAL_USER_IFINDEX; in tc_exceed_mtu() local 205 __u32 ifindex = GLOBAL_USER_IFINDEX; in tc_exceed_mtu_da() local 230 __u32 ifindex = GLOBAL_USER_IFINDEX; in tc_minus_delta() local 252 __u32 ifindex = GLOBAL_USER_IFINDEX; in tc_input_len() local 272 __u32 ifindex = GLOBAL_USER_IFINDEX; in tc_input_len_exceed() local
|
A D | kfree_skb.c | 28 int ifindex; member 52 int ifindex; member 121 int len, ifindex; in BPF_PROG() local 139 int len, ifindex; in BPF_PROG() local
|
A D | test_xdp_bpf2bpf.c | 12 int ifindex; member 33 int ifindex; member
|
/linux/include/net/ |
A D | l3mdev.h | 67 int ifindex; in l3mdev_master_ifindex() local 76 static inline int l3mdev_master_ifindex_by_index(struct net *net, int ifindex) in l3mdev_master_ifindex_by_index() 121 int l3mdev_master_upper_ifindex_by_index(struct net *net, int ifindex) in l3mdev_master_upper_ifindex_by_index() 143 static inline bool netif_index_is_l3_master(struct net *net, int ifindex) in netif_index_is_l3_master() 232 static inline int l3mdev_master_ifindex_by_index(struct net *net, int ifindex) in l3mdev_master_ifindex_by_index() 238 int l3mdev_master_upper_ifindex_by_index_rcu(struct net *net, int ifindex) in l3mdev_master_upper_ifindex_by_index_rcu() 243 int l3mdev_master_upper_ifindex_by_index(struct net *net, int ifindex) in l3mdev_master_upper_ifindex_by_index() 262 static inline u32 l3mdev_fib_table_by_index(struct net *net, int ifindex) in l3mdev_fib_table_by_index() 267 static inline bool netif_index_is_l3_master(struct net *net, int ifindex) in netif_index_is_l3_master()
|
/linux/tools/lib/bpf/ |
A D | libbpf_probes.c | 25 static int get_vendor_id(int ifindex) in get_vendor_id() 69 size_t insns_cnt, char *buf, size_t buf_len, __u32 ifindex) in probe_load() 129 bool bpf_probe_prog_type(enum bpf_prog_type prog_type, __u32 ifindex) in bpf_probe_prog_type() 202 bool bpf_probe_map_type(enum bpf_map_type map_type, __u32 ifindex) in bpf_probe_map_type() 314 __u32 ifindex) in bpf_probe_helper() 346 bool bpf_probe_large_insn_limit(__u32 ifindex) in bpf_probe_large_insn_limit()
|
A D | netlink.c | 31 int ifindex; member 184 static int __bpf_set_link_xdp_fd_replace(int ifindex, int fd, int old_fd, in __bpf_set_link_xdp_fd_replace() 220 int bpf_set_link_xdp_fd_opts(int ifindex, int fd, __u32 flags, in bpf_set_link_xdp_fd_opts() 237 int bpf_set_link_xdp_fd(int ifindex, int fd, __u32 flags) in bpf_set_link_xdp_fd() 306 int bpf_get_link_xdp_info(int ifindex, struct xdp_link_info *info, in bpf_get_link_xdp_info() 359 int bpf_get_link_xdp_id(int ifindex, __u32 *prog_id, __u32 flags) in bpf_get_link_xdp_id() 559 int ret, ifindex, attach_point, prog_fd; in bpf_tc_attach() local 634 int ret, ifindex, attach_point, prog_fd; in __bpf_tc_detach() local 705 int ret, ifindex, attach_point, prog_fd; in bpf_tc_query() local
|
A D | xsk.c | 73 int ifindex; member 93 int ifindex; member 676 static int xsk_link_lookup(int ifindex, __u32 *prog_id, int *link_fd) in xsk_link_lookup() 768 static int xsk_create_xsk_struct(int ifindex, struct xsk_socket *xsk) in xsk_create_xsk_struct() 895 static struct xsk_ctx *xsk_get_ctx(struct xsk_umem *umem, int ifindex, in xsk_get_ctx() 940 struct xsk_umem *umem, int ifindex, in xsk_create_ctx() 989 int xsk_setup_xdp_prog(int ifindex, int *xsks_map_fd) in xsk_setup_xdp_prog() 1026 int err, ifindex; in xsk_socket__create_shared() local
|
/linux/net/ipv6/ |
A D | addrlabel.c | 35 int ifindex; member 116 int addrtype, int ifindex) in __ip6addrlbl_match() 129 int type, int ifindex) in __ipv6_addr_label() 141 const struct in6_addr *addr, int type, int ifindex) in ipv6_addr_label() 161 int prefixlen, int ifindex, in ip6addrlbl_alloc() 244 int ifindex, u32 label, int replace) in ip6addrlbl_add() 267 int ifindex) in __ip6addrlbl_del() 291 int ifindex) in ip6addrlbl_del() 372 static bool addrlbl_ifindex_exists(struct net *net, int ifindex) in addrlbl_ifindex_exists() 436 int prefixlen, int ifindex, u32 lseq) in ip6addrlbl_putmsg()
|
/linux/security/selinux/ |
A D | netif.c | 52 static inline u32 sel_netif_hashfn(const struct net *ns, int ifindex) in sel_netif_hashfn() 68 int ifindex) in sel_netif_find() 132 static int sel_netif_sid_slow(struct net *ns, int ifindex, u32 *sid) in sel_netif_sid_slow() 191 int sel_netif_sid(struct net *ns, int ifindex, u32 *sid) in sel_netif_sid() 217 static void sel_netif_kill(const struct net *ns, int ifindex) in sel_netif_kill()
|
/linux/net/l3mdev/ |
A D | l3mdev.c | 81 int ifindex = -EINVAL; in l3mdev_ifindex_lookup_by_table_id() local 112 int ifindex = 0; in l3mdev_master_ifindex_rcu() local 144 int l3mdev_master_upper_ifindex_by_index_rcu(struct net *net, int ifindex) in l3mdev_master_upper_ifindex_by_index_rcu() 189 u32 l3mdev_fib_table_by_index(struct net *net, int ifindex) in l3mdev_fib_table_by_index() 280 int ifindex; in l3mdev_update_flow() local
|
/linux/tools/bpf/bpftool/ |
A D | feature.c | 483 const char *define_prefix, __u32 ifindex) in probe_prog_type() 531 __u32 ifindex) in probe_map_type() 565 const char *ptype_name, __u32 ifindex) in probe_helper_for_progtype() 596 const char *define_prefix, __u32 ifindex) in probe_helpers_for_progtype() 646 probe_large_insn_limit(const char *define_prefix, __u32 ifindex) in probe_large_insn_limit() 702 __u32 ifindex) in section_program_types() 717 static void section_map_types(const char *define_prefix, __u32 ifindex) in section_map_types() 733 section_helpers(bool *supported_types, const char *define_prefix, __u32 ifindex) in section_helpers() 764 static void section_misc(const char *define_prefix, __u32 ifindex) in section_misc() 903 __u32 ifindex = 0; in do_probe() local
|
A D | net.c | 31 int ifindex; member 56 int ifindex; member 213 static int netlink_get_class(int sock, unsigned int nl_pid, int ifindex, in netlink_get_class() 252 static int netlink_get_qdisc(int sock, unsigned int nl_pid, int ifindex, in netlink_get_qdisc() 291 static int netlink_get_filter(int sock, unsigned int nl_pid, int ifindex, int handle, in netlink_get_filter() 522 int ifindex; in net_parse_dev() local 541 int ifindex, bool overwrite) in do_attach_detach_xdp() 560 int progfd, ifindex, err = 0; in do_attach() local 614 int progfd, ifindex, err = 0; in do_detach() local
|
A D | netlink_dumper.c | 29 static int do_xdp_dump_one(struct nlattr *attr, unsigned int ifindex, in do_xdp_dump_one() 162 const char *devname, int ifindex) in do_filter_dump()
|
/linux/drivers/net/ethernet/mellanox/mlx5/core/en/tc/ |
A D | int_port.c | 13 int ifindex; member 106 int ifindex, in mlx5e_int_port_lookup() 125 int ifindex, enum mlx5e_tc_int_port_type type, in mlx5e_int_port_metadata_alloc() 151 int ifindex, in mlx5e_int_port_add() 265 int ifindex, in mlx5e_tc_int_port_get() 416 int ifindex; in mlx5e_tc_int_port_dev_fwd() local
|
/linux/net/can/ |
A D | bcm.c | 103 int ifindex; member 127 int ifindex; member 174 static char *bcm_proc_getifname(struct net *net, char *result, int ifindex) in bcm_proc_getifname() 708 struct bcm_msg_head *mh, int ifindex) in bcm_find_op() 752 int ifindex) in bcm_delete_rx_op() 801 int ifindex) in bcm_delete_tx_op() 821 int ifindex) in bcm_read_op() 844 int ifindex, struct sock *sk) in bcm_tx_setup() 1019 int ifindex, struct sock *sk) in bcm_rx_setup() 1229 static int bcm_tx_send(struct msghdr *msg, int ifindex, struct sock *sk, in bcm_tx_send() [all …]
|
/linux/samples/bpf/ |
A D | test_lwt_bpf.c | 171 int ret, ifindex = DST_IFINDEX; in __do_push_ll_and_redirect() local 201 int ret, ifindex = DST_IFINDEX; in do_push_ll_and_redirect() local 239 int ifindex = DST_IFINDEX; in do_fill_garbage_and_redirect() local
|
A D | xdp_redirect_map_multi_user.c | 54 unsigned int ifindex; in update_mac_map() local 88 unsigned int ifindex; in main() local
|
A D | tc_l2_redirect_kern.c | 65 int key = 0, *ifindex; in _l2_to_iptun_ingress_forward() local 116 int key = 0, *ifindex; in _l2_to_iptun_ingress_redirect() local 157 int key = 0, *ifindex; in _l2_to_ip6tun_ingress_redirect() local
|
A D | xdp_router_ipv4_kern.c | 22 int ifindex; member 40 int ifindex; member
|
/linux/drivers/net/bonding/ |
A D | bond_netlink.c | 180 int ifindex = nla_get_u32(data[IFLA_BOND_ACTIVE_SLAVE]); in bond_changelink() local 297 int ifindex = nla_get_u32(data[IFLA_BOND_PRIMARY]); in bond_changelink() local 524 int ifindex; in bond_option_active_slave_get_ifindex() local 538 int ifindex, i, targets_added; in bond_fill_info() local
|
/linux/tools/testing/selftests/bpf/ |
A D | xdp_redirect_multi.c | 46 static int get_mac_addr(unsigned int ifindex, void *mac_addr) in get_mac_addr() 97 unsigned int ifindex; in main() local
|
/linux/tools/testing/selftests/bpf/prog_tests/ |
A D | check_mtu.c | 111 static void test_check_mtu_xdp(__u32 mtu, __u32 ifindex) in test_check_mtu_xdp() 171 static void test_check_mtu_tc(__u32 mtu, __u32 ifindex) in test_check_mtu_tc()
|
A D | xdp_bonding.c | 101 int ifindex; in xdp_attach() local 225 int ifindex; in send_udp_packets() local 350 int ifindex = if_nametoindex(ifaces[i]); in test_xdp_bonding_redirect_multi() local
|
/linux/drivers/net/ |
A D | vxlan.c | 199 __be16 port, u32 flags, int ifindex) in vxlan_find_sock() 554 __be32 vni, __u32 ifindex) in vxlan_fdb_find_rdst() 1019 __u32 ifindex, __u16 ndm_flags, in vxlan_fdb_update_existing() 1277 u32 ifindex, nhid; in vxlan_fdb_add() local 1312 u32 ifindex, bool swdev_notify) in __vxlan_fdb_delete() 1350 u32 ifindex, nhid; in vxlan_fdb_delete() local 1468 u32 ifindex = 0; in vxlan_snoop() local 1775 u32 ifindex = skb->dev->ifindex; in vxlan_set_mac() local 2607 int ifindex; in vxlan_xmit_one() local 3474 __be16 port, u32 flags, int ifindex) in vxlan_create_sock() [all …]
|
/linux/drivers/net/ppp/ |
A D | pppoe.c | 160 unsigned char *addr, int ifindex) in __get_item() 198 char *addr, int ifindex) in __delete_item() 224 unsigned char *addr, int ifindex) in get_item() 244 int ifindex; in get_item_by_addr() local 259 char *addr, int ifindex) in delete_item()
|