| H A D | vxlan_core.c | 30 #include <net/vxlan.h> 62 static int vxlan_sock_add(struct vxlan_dev *vxlan); 64 static void vxlan_vs_del_dev(struct vxlan_dev *vxlan); 115 if (!node->vxlan) in vxlan_vs_find_vni() 118 cfg = rcu_dereference(node->vxlan->cfg); in vxlan_vs_find_vni() 122 vnode = vxlan_vnifilter_lookup(node->vxlan, vni); in vxlan_vs_find_vni() 137 return node->vxlan; in vxlan_vs_find_vni() 158 static int vxlan_fdb_info(struct sk_buff *skb, struct vxlan_dev *vxlan, in vxlan_fdb_info() 163 const struct vxlan_config *cfg = rcu_dereference_rtnl(vxlan->cfg); in vxlan_fdb_info() 201 ndm->ndm_ifindex = vxlan in vxlan_fdb_info() 155 vxlan_fdb_info(struct sk_buff * skb,struct vxlan_dev * vxlan,const struct vxlan_fdb * fdb,u32 portid,u32 seq,int type,unsigned int flags,const struct vxlan_rdst * rdst) vxlan_fdb_info() argument 263 __vxlan_fdb_notify(struct vxlan_dev * vxlan,struct vxlan_fdb * fdb,struct vxlan_rdst * rd,int type) __vxlan_fdb_notify() argument 288 vxlan_fdb_switchdev_notifier_info(const struct vxlan_dev * vxlan,const struct vxlan_fdb * fdb,const struct vxlan_rdst * rd,struct netlink_ext_ack * extack,struct switchdev_notifier_vxlan_fdb_info * fdb_info) vxlan_fdb_switchdev_notifier_info() argument 306 vxlan_fdb_switchdev_call_notifiers(struct vxlan_dev * vxlan,struct vxlan_fdb * fdb,struct vxlan_rdst * rd,bool adding,struct netlink_ext_ack * extack) vxlan_fdb_switchdev_call_notifiers() argument 327 vxlan_fdb_notify(struct vxlan_dev * vxlan,struct vxlan_fdb * fdb,struct vxlan_rdst * rd,int type,bool swdev_notify,struct netlink_ext_ack * extack) vxlan_fdb_notify() argument 354 struct vxlan_dev *vxlan = netdev_priv(dev); vxlan_ip_miss() local 366 vxlan_fdb_miss(struct vxlan_dev * vxlan,const u8 eth_addr[ETH_ALEN]) vxlan_fdb_miss() argument 379 vxlan_find_mac_rcu(struct vxlan_dev * vxlan,const u8 * mac,__be32 vni) vxlan_find_mac_rcu() argument 395 vxlan_find_mac_tx(struct vxlan_dev * vxlan,const u8 * mac,__be32 vni) vxlan_find_mac_tx() argument 411 vxlan_find_mac(struct vxlan_dev * vxlan,const u8 * mac,__be32 vni) vxlan_find_mac() argument 446 struct vxlan_dev *vxlan = netdev_priv(dev); vxlan_fdb_find_uc() local 477 vxlan_fdb_notify_one(struct notifier_block * nb,const struct vxlan_dev * vxlan,const struct vxlan_fdb * f,const struct vxlan_rdst * rdst,struct netlink_ext_ack * extack) vxlan_fdb_notify_one() argument 495 struct vxlan_dev *vxlan; vxlan_fdb_replay() local 526 struct vxlan_dev *vxlan; vxlan_fdb_clear_offload() local 774 vxlan_fdb_alloc(struct vxlan_dev * vxlan,const u8 * mac,__u16 state,__be32 src_vni,__u16 ndm_flags) vxlan_fdb_alloc() argument 797 vxlan_fdb_nh_update(struct vxlan_dev * vxlan,struct vxlan_fdb * fdb,u32 nhid,struct netlink_ext_ack * extack) vxlan_fdb_nh_update() argument 859 vxlan_fdb_create(struct vxlan_dev * vxlan,const u8 * mac,union vxlan_addr * ip,__u16 state,__be16 port,__be32 src_vni,__be32 vni,__u32 ifindex,__u16 ndm_flags,u32 nhid,struct vxlan_fdb ** fdb,struct netlink_ext_ack * extack) vxlan_fdb_create() argument 938 vxlan_fdb_destroy(struct vxlan_dev * vxlan,struct vxlan_fdb * f,bool do_notify,bool swdev_notify) vxlan_fdb_destroy() argument 971 vxlan_fdb_update_existing(struct vxlan_dev * vxlan,union vxlan_addr * ip,__u16 state,__u16 flags,__be16 port,__be32 vni,__u32 ifindex,__u16 ndm_flags,struct vxlan_fdb * f,u32 nhid,bool swdev_notify,struct netlink_ext_ack * extack) vxlan_fdb_update_existing() argument 1076 vxlan_fdb_update_create(struct vxlan_dev * vxlan,const u8 * mac,union vxlan_addr * ip,__u16 state,__u16 flags,__be16 port,__be32 src_vni,__be32 vni,__u32 ifindex,__u16 ndm_flags,u32 nhid,bool swdev_notify,struct netlink_ext_ack * extack) vxlan_fdb_update_create() argument 1112 vxlan_fdb_update(struct vxlan_dev * vxlan,const u8 * mac,union vxlan_addr * ip,__u16 state,__u16 flags,__be16 port,__be32 src_vni,__be32 vni,__u32 ifindex,__u16 ndm_flags,u32 nhid,bool swdev_notify,struct netlink_ext_ack * extack) vxlan_fdb_update() argument 1144 vxlan_fdb_dst_destroy(struct vxlan_dev * vxlan,struct vxlan_fdb * f,struct vxlan_rdst * rd,bool swdev_notify) vxlan_fdb_dst_destroy() argument 1152 vxlan_fdb_parse(struct nlattr * tb[],struct vxlan_dev * vxlan,union vxlan_addr * ip,__be16 * port,__be32 * src_vni,__be32 * vni,u32 * ifindex,u32 * nhid,struct netlink_ext_ack * extack) vxlan_fdb_parse() argument 1244 struct vxlan_dev *vxlan = netdev_priv(dev); vxlan_fdb_add() local 1287 __vxlan_fdb_delete(struct vxlan_dev * vxlan,const unsigned char * addr,union vxlan_addr ip,__be16 port,__be32 src_vni,__be32 vni,u32 ifindex,bool swdev_notify) __vxlan_fdb_delete() argument 1326 struct vxlan_dev *vxlan = netdev_priv(dev); vxlan_fdb_delete() local 1355 struct vxlan_dev *vxlan = netdev_priv(dev); vxlan_fdb_dump() local 1407 struct vxlan_dev *vxlan = netdev_priv(dev); vxlan_fdb_get() local 1441 struct vxlan_dev *vxlan = netdev_priv(dev); vxlan_snoop() local 1519 vxlan_sock_release(struct vxlan_dev * vxlan) vxlan_sock_release() argument 1600 vxlan_set_mac(struct vxlan_dev * vxlan,struct vxlan_sock * vs,struct sk_buff * skb,__be32 vni) vxlan_set_mac() argument 1661 struct vxlan_dev *vxlan; vxlan_rcv() local 1828 struct vxlan_dev *vxlan; vxlan_err_lookup() local 1855 struct vxlan_dev *vxlan = netdev_priv(dev); arp_reduce() local 2049 struct vxlan_dev *vxlan = netdev_priv(dev); neigh_reduce() local 2121 struct vxlan_dev *vxlan = netdev_priv(dev); route_shortcircuit() local 2331 encap_bypass_if_local(struct sk_buff * skb,struct net_device * dev,struct vxlan_dev * vxlan,int addr_family,__be16 dst_port,int dst_ifindex,__be32 vni,struct dst_entry * dst,u32 rt_flags) encap_bypass_if_local() argument 2376 struct vxlan_dev *vxlan = netdev_priv(dev); vxlan_xmit_one() local 2708 struct vxlan_dev *vxlan = netdev_priv(dev); vxlan_xmit_nhid() local 2752 struct vxlan_dev *vxlan = netdev_priv(dev); vxlan_xmit() local 2873 struct vxlan_dev *vxlan = timer_container_of(vxlan, t, age_timer); vxlan_cleanup() local 2909 vxlan_vs_del_dev(struct vxlan_dev * vxlan) vxlan_vs_del_dev() argument 2919 vxlan_vs_add_dev(struct vxlan_sock * vs,struct vxlan_dev * vxlan,struct vxlan_dev_node * node) vxlan_vs_add_dev() argument 2933 struct vxlan_dev *vxlan = netdev_priv(dev); vxlan_init() local 2969 struct vxlan_dev *vxlan = netdev_priv(dev); vxlan_uninit() local 2984 struct vxlan_dev *vxlan = netdev_priv(dev); vxlan_open() local 3017 vxlan_fdb_is_default_entry(const struct vxlan_fdb * f,const struct vxlan_dev * vxlan) vxlan_fdb_is_default_entry() argument 3031 vxlan_fdb_flush_matches(const struct vxlan_fdb * f,const struct vxlan_dev * vxlan,const struct vxlan_fdb_flush_desc * desc) vxlan_fdb_flush_matches() argument 3076 vxlan_fdb_flush_match_remotes(struct vxlan_fdb * f,struct vxlan_dev * vxlan,const struct vxlan_fdb_flush_desc * desc,bool * p_destroy_fdb) vxlan_fdb_flush_match_remotes() argument 3096 vxlan_flush(struct vxlan_dev * vxlan,const struct vxlan_fdb_flush_desc * desc) vxlan_flush() argument 3147 struct vxlan_dev *vxlan = netdev_priv(dev); vxlan_fdb_delete_bulk() local 3211 struct vxlan_dev *vxlan = netdev_priv(dev); vxlan_stop() local 3236 struct vxlan_dev *vxlan = netdev_priv(dev); vxlan_change_mtu() local 3256 struct vxlan_dev *vxlan = netdev_priv(dev); vxlan_fill_metadata_dst() local 3375 struct vxlan_dev *vxlan = netdev_priv(dev); vxlan_setup() local 3553 struct vxlan_dev *vxlan = netdev_priv(dev); vxlan_get_link_ksettings() local 3660 __vxlan_sock_add(struct vxlan_dev * vxlan,bool ipv6) __vxlan_sock_add() argument 3709 vxlan_sock_add(struct vxlan_dev * vxlan) vxlan_sock_add() argument 3732 vxlan_vni_in_use(struct net * src_net,struct vxlan_dev * vxlan,struct vxlan_config * conf,__be32 vni) vxlan_vni_in_use() argument 3921 struct vxlan_dev *vxlan = netdev_priv(dev); vxlan_config_apply() local 3976 struct vxlan_dev *vxlan = netdev_priv(dev); vxlan_dev_configure() local 3994 struct vxlan_dev *vxlan = netdev_priv(dev); vxlan_dev_create() local 4093 struct vxlan_dev *vxlan = netdev_priv(dev); vxlan_nl2conf() local 4446 struct vxlan_dev *vxlan = netdev_priv(dev); vxlan_changelink() local 4542 struct vxlan_dev *vxlan = netdev_priv(dev); vxlan_dellink() local 4593 const struct vxlan_dev *vxlan = netdev_priv(dev); vxlan_fill_info() local 4703 struct vxlan_dev *vxlan = netdev_priv(dev); vxlan_get_link_net() local 4726 struct vxlan_dev *vxlan, *next; vxlan_handle_lowerdev_unregister() local 4769 struct vxlan_dev *vxlan = netdev_priv(dev); vxlan_fdb_offloaded_set() local 4796 struct vxlan_dev *vxlan = netdev_priv(dev); vxlan_fdb_external_learn_add() local 4821 struct vxlan_dev *vxlan = netdev_priv(dev); vxlan_fdb_external_learn_del() local 4887 struct vxlan_dev *vxlan; vxlan_fdb_nh_flush() local 4937 struct vxlan_dev *vxlan, *next; vxlan_destroy_tunnels() local [all...] |
| H A D | vxlan_mdb.c | 14 #include <net/vxlan.h> 65 struct vxlan_dev *vxlan; member 98 static void vxlan_br_mdb_entry_fill(const struct vxlan_dev *vxlan, in vxlan_br_mdb_entry_fill() argument 106 e->ifindex = vxlan->dev->ifindex; in vxlan_br_mdb_entry_fill() 163 static int vxlan_mdb_entry_info_fill(const struct vxlan_dev *vxlan, in vxlan_mdb_entry_info_fill() argument 168 const struct vxlan_config *cfg = rcu_dereference_rtnl(vxlan->cfg); in vxlan_mdb_entry_info_fill() 177 vxlan_br_mdb_entry_fill(vxlan, mdb_entry, remote, &e); in vxlan_mdb_entry_info_fill() 220 static int vxlan_mdb_entry_fill(const struct vxlan_dev *vxlan, in vxlan_mdb_entry_fill() 238 err = vxlan_mdb_entry_info_fill(vxlan, skb, mdb_entry, remote); in vxlan_mdb_entry_fill() 250 static int vxlan_mdb_fill(const struct vxlan_dev *vxlan, struc in vxlan_mdb_fill() 219 vxlan_mdb_entry_fill(const struct vxlan_dev * vxlan,struct sk_buff * skb,struct vxlan_mdb_dump_ctx * ctx,const struct vxlan_mdb_entry * mdb_entry) vxlan_mdb_entry_fill() argument 249 vxlan_mdb_fill(const struct vxlan_dev * vxlan,struct sk_buff * skb,struct vxlan_mdb_dump_ctx * ctx) vxlan_mdb_fill() argument 281 struct vxlan_dev *vxlan = netdev_priv(dev); vxlan_mdb_dump() local 615 struct vxlan_dev *vxlan = netdev_priv(dev); vxlan_mdb_config_init() local 672 vxlan_mdb_entry_lookup(struct vxlan_dev * vxlan,const struct vxlan_mdb_entry_key * group) vxlan_mdb_entry_lookup() argument 752 vxlan_mdb_remote_fini(struct vxlan_dev * vxlan,struct vxlan_mdb_remote * remote) vxlan_mdb_remote_fini() argument 823 vxlan_mdb_remote_src_fwd_del(struct vxlan_dev * vxlan,const struct vxlan_mdb_entry_key * group,const struct vxlan_mdb_remote * remote,const union vxlan_addr * addr) vxlan_mdb_remote_src_fwd_del() argument 879 vxlan_mdb_remote_src_del(struct vxlan_dev * vxlan,const struct vxlan_mdb_entry_key * group,const struct vxlan_mdb_remote * remote,struct vxlan_mdb_src_entry * ent) vxlan_mdb_remote_src_del() argument 919 vxlan_mdb_remote_srcs_del(struct vxlan_dev * vxlan,const struct vxlan_mdb_entry_key * group,struct vxlan_mdb_remote * remote) vxlan_mdb_remote_srcs_del() argument 956 vxlan_mdb_nlmsg_remote_size(const struct vxlan_dev * vxlan,const struct vxlan_mdb_entry * mdb_entry,const struct vxlan_mdb_remote * remote) vxlan_mdb_nlmsg_remote_size() argument 996 vxlan_mdb_nlmsg_size(const struct vxlan_dev * vxlan,const struct vxlan_mdb_entry * mdb_entry,const struct vxlan_mdb_remote * remote) vxlan_mdb_nlmsg_size() argument 1009 vxlan_mdb_nlmsg_fill(const struct vxlan_dev * vxlan,struct sk_buff * skb,const struct vxlan_mdb_entry * mdb_entry,const struct vxlan_mdb_remote * remote,int type) vxlan_mdb_nlmsg_fill() argument 1049 vxlan_mdb_remote_notify(const struct vxlan_dev * vxlan,const struct vxlan_mdb_entry * mdb_entry,const struct vxlan_mdb_remote * remote,int type) vxlan_mdb_remote_notify() argument 1081 struct vxlan_dev *vxlan = cfg->vxlan; vxlan_mdb_remote_srcs_replace() local 1108 struct vxlan_dev *vxlan = cfg->vxlan; vxlan_mdb_remote_replace() local 1182 vxlan_mdb_remote_del(struct vxlan_dev * vxlan,struct vxlan_mdb_entry * mdb_entry,struct vxlan_mdb_remote * remote) vxlan_mdb_remote_del() argument 1194 vxlan_mdb_entry_get(struct vxlan_dev * vxlan,const struct vxlan_mdb_entry_key * group) vxlan_mdb_entry_get() argument 1229 vxlan_mdb_entry_put(struct vxlan_dev * vxlan,struct vxlan_mdb_entry * mdb_entry) vxlan_mdb_entry_put() argument 1247 struct vxlan_dev *vxlan = cfg->vxlan; __vxlan_mdb_add() local 1271 struct vxlan_dev *vxlan = cfg->vxlan; __vxlan_mdb_del() local 1343 vxlan_mdb_flush_desc_init(struct vxlan_dev * vxlan,struct vxlan_mdb_flush_desc * desc,struct nlattr * tb[],struct netlink_ext_ack * extack) vxlan_mdb_flush_desc_init() argument 1401 vxlan_mdb_remotes_flush(struct vxlan_dev * vxlan,struct vxlan_mdb_entry * mdb_entry,const struct vxlan_mdb_flush_desc * desc) vxlan_mdb_remotes_flush() argument 1433 vxlan_mdb_flush(struct vxlan_dev * vxlan,const struct vxlan_mdb_flush_desc * desc) vxlan_mdb_flush() argument 1458 struct vxlan_dev *vxlan = netdev_priv(dev); vxlan_mdb_del_bulk() local 1486 struct vxlan_dev *vxlan = netdev_priv(dev); vxlan_mdb_get_parse() local 1518 vxlan_mdb_get_reply_alloc(const struct vxlan_dev * vxlan,const struct vxlan_mdb_entry * mdb_entry) vxlan_mdb_get_reply_alloc() argument 1538 vxlan_mdb_get_reply_fill(const struct vxlan_dev * vxlan,struct sk_buff * skb,const struct vxlan_mdb_entry * mdb_entry,u32 portid,u32 seq) vxlan_mdb_get_reply_fill() argument 1588 struct vxlan_dev *vxlan = netdev_priv(dev); vxlan_mdb_get() local 1623 vxlan_mdb_entry_skb_get(struct vxlan_dev * vxlan,struct sk_buff * skb,__be32 src_vni) vxlan_mdb_entry_skb_get() argument 1702 vxlan_mdb_xmit(struct vxlan_dev * vxlan,const struct vxlan_mdb_entry * mdb_entry,struct sk_buff * skb) vxlan_mdb_xmit() argument 1742 vxlan_mdb_init(struct vxlan_dev * vxlan) vxlan_mdb_init() argument 1755 vxlan_mdb_fini(struct vxlan_dev * vxlan) vxlan_mdb_fini() argument [all...] |