| H A D | af_mpls.c | 1 // SPDX-License-Identifier: GPL-2.0-only 31 /* max memory we will use for mpls_route */ 41 static int label_limit = (1 << 20) - 1; 74 static void rtmsg_lfib(int event, u32 label, struct mpls_route *rt, 82 platform_label = mpls_dereference(net, net->mpls.platform_label); in mpls_route_input_rcu() 90 if (index >= net->mpls.platform_labels) in mpls_output_possible() 93 platform_label = rcu_dereference(net->mpl in mpls_output_possible() 80 struct mpls_route *rt = NULL; mpls_route_input_rcu() local 96 __mpls_nh_via(struct mpls_route * rt,struct mpls_nh * nh) __mpls_nh_via() argument 101 mpls_nh_via(const struct mpls_route * rt,const struct mpls_nh * nh) mpls_nh_via() argument 157 mpls_multipath_hash(struct mpls_route * rt,struct sk_buff * skb) mpls_multipath_hash() argument 224 mpls_get_nexthop(struct mpls_route * rt,u8 index) mpls_get_nexthop() argument 234 mpls_select_multipath(struct mpls_route * rt,struct sk_buff * skb) mpls_select_multipath() argument 270 mpls_egress(struct net * net,struct mpls_route * rt,struct sk_buff * skb,struct mpls_entry_decoded dec) mpls_egress() argument 348 struct mpls_route *rt; mpls_forward() local 514 struct mpls_route *rt; mpls_rt_alloc() local 533 mpls_rt_free(struct mpls_route * rt) mpls_rt_free() argument 546 struct mpls_route *rt = new ? new : old; mpls_notify_route() local 558 struct mpls_route *rt; mpls_route_update() local 593 struct rtable *rt; inet_fib_lookup_dev() local 648 find_outdev(struct net * net,struct mpls_route * rt,struct mpls_nh * nh,int oif) find_outdev() argument 680 mpls_nh_assign_dev(struct net * net,struct mpls_route * rt,struct mpls_nh * nh,int oif) mpls_nh_assign_dev() argument 769 mpls_nh_build_from_cfg(struct mpls_route_config * cfg,struct mpls_route * rt) mpls_nh_build_from_cfg() argument 800 mpls_nh_build(struct net * net,struct mpls_route * rt,struct mpls_nh * nh,int oif,struct nlattr * via,struct nlattr * newdst,u8 max_labels,struct netlink_ext_ack * extack) mpls_nh_build() argument 886 mpls_nh_build_multi(struct mpls_route_config * cfg,struct mpls_route * rt,u8 max_labels,struct netlink_ext_ack * extack) mpls_nh_build_multi() argument 968 struct mpls_route *rt, *old; mpls_route_add() local 1490 struct mpls_route *rt = rtnl_dereference(platform_label[index]); mpls_ifdown() local 1567 struct mpls_route *rt = rtnl_dereference(platform_label[index]); mpls_ifup() local 1972 mpls_dump_route(struct sk_buff * skb,u32 portid,u32 seq,int event,u32 label,struct mpls_route * rt,int flags) mpls_dump_route() argument 2141 mpls_rt_uses_dev(struct mpls_route * rt,const struct net_device * dev) mpls_rt_uses_dev() argument 2200 struct mpls_route *rt; mpls_dump_routes() local 2220 lfib_nlmsg_size(struct mpls_route * rt) lfib_nlmsg_size() argument 2257 rtmsg_lfib(int event,u32 label,struct mpls_route * rt,struct nlmsghdr * nlh,struct net * net,u32 portid,unsigned int nlm_flags) rtmsg_lfib() argument 2353 struct mpls_route *rt; mpls_getroute() local 2710 struct mpls_route *rt = rtnl_dereference(platform_label[index]); mpls_net_exit() local [all...] |