/kernel/linux/linux-5.10/include/net/ |
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()
|
/kernel/linux/linux-5.10/tools/lib/bpf/ |
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() 313 __u32 ifindex) in bpf_probe_helper() 345 bool bpf_probe_large_insn_limit(__u32 ifindex) in bpf_probe_large_insn_limit()
|
D | netlink.c | 28 int ifindex; member 134 static int __bpf_set_link_xdp_fd_replace(int ifindex, int fd, int old_fd, in __bpf_set_link_xdp_fd_replace() 202 int bpf_set_link_xdp_fd_opts(int ifindex, int fd, __u32 flags, in bpf_set_link_xdp_fd_opts() 220 int bpf_set_link_xdp_fd(int ifindex, int fd, __u32 flags) in bpf_set_link_xdp_fd() 288 int bpf_get_link_xdp_info(int ifindex, struct xdp_link_info *info, in bpf_get_link_xdp_info() 340 int bpf_get_link_xdp_id(int ifindex, __u32 *prog_id, __u32 flags) in bpf_get_link_xdp_id()
|
/kernel/linux/linux-5.10/security/selinux/ |
D | netif.c | 53 static inline u32 sel_netif_hashfn(const struct net *ns, int ifindex) in sel_netif_hashfn() 69 int ifindex) in sel_netif_find() 133 static int sel_netif_sid_slow(struct net *ns, int ifindex, u32 *sid) in sel_netif_sid_slow() 192 int sel_netif_sid(struct net *ns, int ifindex, u32 *sid) in sel_netif_sid() 218 static void sel_netif_kill(const struct net *ns, int ifindex) in sel_netif_kill()
|
/kernel/linux/linux-5.10/net/ipv6/ |
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()
|
/kernel/linux/linux-5.10/net/l3mdev/ |
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() 279 int ifindex; in l3mdev_update_flow() local
|
/kernel/linux/common_modules/newip/examples/ |
D | nip_route.c | 29 int nip_route_add(int ifindex, const struct nip_addr *dst_addr, in nip_route_add() 73 int parse_name(char **argv, int *ifindex, char *dev) in parse_name() 114 int parse_args(char **argv, int *opt, __u8 *gateway_flag, int *ifindex, in parse_args() 156 int ifindex = 0; in main() local
|
D | nip_addr.c | 27 int nip_add_addr(int ifindex, const struct nip_addr *addr, int opt) in nip_add_addr() 58 int parse_name(char **argv, int *ifindex, char *dev) in parse_name() 104 int ifindex = 0; in main() local
|
D | nip_addr_cfg_demo.c | 27 int nip_add_addr(int ifindex, const unsigned char *addr, unsigned char addr_len) in nip_add_addr() 57 int ifindex = 0; in main() local
|
D | nip_route_cfg_demo.c | 30 int nip_route_add(int ifindex, const unsigned char *dst_addr, uint8_t dst_addr_len, in nip_route_add() 65 int ifindex = 0; in main() local
|
/kernel/linux/linux-5.10/tools/bpf/bpftool/ |
D | feature.c | 479 const char *define_prefix, __u32 ifindex) in probe_prog_type() 527 __u32 ifindex) in probe_map_type() 561 const char *ptype_name, __u32 ifindex) in probe_helper_for_progtype() 592 const char *define_prefix, __u32 ifindex) in probe_helpers_for_progtype() 641 probe_large_insn_limit(const char *define_prefix, __u32 ifindex) in probe_large_insn_limit() 697 __u32 ifindex) in section_program_types() 712 static void section_map_types(const char *define_prefix, __u32 ifindex) in section_map_types() 728 section_helpers(bool *supported_types, const char *define_prefix, __u32 ifindex) in section_helpers() 759 static void section_misc(const char *define_prefix, __u32 ifindex) in section_misc() 898 __u32 ifindex = 0; in do_probe() local
|
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
|
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()
|
/kernel/linux/linux-5.10/net/can/ |
D | bcm.c | 104 int ifindex; member 128 int ifindex; member 175 static char *bcm_proc_getifname(struct net *net, char *result, int ifindex) in bcm_proc_getifname() 710 struct bcm_msg_head *mh, int ifindex) in bcm_find_op() 761 int ifindex) in bcm_delete_rx_op() 812 int ifindex) in bcm_delete_tx_op() 832 int ifindex) in bcm_read_op() 855 int ifindex, struct sock *sk) in bcm_tx_setup() 1030 int ifindex, struct sock *sk) in bcm_rx_setup() 1240 static int bcm_tx_send(struct msghdr *msg, int ifindex, struct sock *sk, in bcm_tx_send() [all …]
|
/kernel/linux/linux-5.10/tools/testing/selftests/bpf/progs/ |
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
|
D | test_xdp_bpf2bpf.c | 12 int ifindex; member 33 int ifindex; member
|
/kernel/linux/linux-5.10/samples/bpf/ |
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
|
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
|
D | tc_l2_redirect_user.c | 26 int ifindex = -1; in main() local
|
D | xdp_router_ipv4_kern.c | 22 int ifindex; member 40 int ifindex; member
|
/kernel/linux/linux-5.10/drivers/net/bonding/ |
D | bond_netlink.c | 179 int ifindex = nla_get_u32(data[IFLA_BOND_ACTIVE_SLAVE]); in bond_changelink() local 296 int ifindex = nla_get_u32(data[IFLA_BOND_PRIMARY]); in bond_changelink() local 512 int ifindex; in bond_option_active_slave_get_ifindex() local 526 int ifindex, i, targets_added; in bond_fill_info() local
|
/kernel/linux/linux-5.10/net/wimax/ |
D | op-state-get.c | 33 int result, ifindex; in wimax_gnl_doit_state_get() local
|
/kernel/linux/linux-5.10/drivers/net/ppp/ |
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()
|
/kernel/linux/linux-5.10/drivers/net/ |
D | vxlan.c | 198 __be16 port, u32 flags, int ifindex) in vxlan_find_sock() 214 static struct vxlan_dev *vxlan_vs_find_vni(struct vxlan_sock *vs, int ifindex, in vxlan_vs_find_vni() 242 static struct vxlan_dev *vxlan_find_vni(struct net *net, int ifindex, in vxlan_find_vni() 553 __be32 vni, __u32 ifindex) in vxlan_fdb_find_rdst() 678 __u32 ifindex, struct vxlan_rdst *oldrd) in vxlan_fdb_replace() 703 __u32 ifindex, struct vxlan_rdst **rdp) in vxlan_fdb_append() 924 __be32 vni, __u32 ifindex, __u16 ndm_flags, in vxlan_fdb_create() 1018 __u32 ifindex, __u16 ndm_flags, in vxlan_fdb_update_existing() 1118 __u32 ifindex, __u16 ndm_flags, u32 nhid, in vxlan_fdb_update_create() 1155 __u32 ifindex, __u16 ndm_flags, u32 nhid, in vxlan_fdb_update() [all …]
|
/kernel/linux/linux-5.10/tools/testing/selftests/net/ |
D | nettest.c | 76 int ifindex; member 337 int ifindex = 0; in check_device() local 411 static int set_unicast_if(int sd, int ifindex, int version) in set_unicast_if() 430 static int set_multicast_if(int sd, int ifindex) in set_multicast_if() 442 static int set_membership(int sd, uint32_t grp, uint32_t addr, int ifindex) in set_membership() 605 int ifindex = 0; in get_index_from_cmsg() local 658 int ifindex, int version) in send_msg_cmsg() 755 int ifindex; in socket_read_dgram() local
|