Home
last modified time | relevance | path

Searched refs:max_labels (Results 1 - 4 of 4) sorted by relevance

/kernel/linux/linux-5.10/net/mpls/
H A Daf_mpls.c508 static struct mpls_route *mpls_rt_alloc(u8 num_nh, u8 max_alen, u8 max_labels) in mpls_rt_alloc() argument
510 u8 nh_size = MPLS_NH_SIZE(max_labels, max_alen); in mpls_rt_alloc()
525 rt->rt_via_offset = MPLS_NH_VIA_OFF(max_labels); in mpls_rt_alloc()
799 struct nlattr *newdst, u8 max_labels, in mpls_nh_build()
808 err = nla_get_labels(newdst, max_labels, &nh->nh_labels, in mpls_nh_build()
835 u8 *max_labels) in mpls_count_nexthops()
841 *max_labels = 0; in mpls_count_nexthops()
866 *max_labels = max_t(u8, *max_labels, n_labels); in mpls_count_nexthops()
883 struct mpls_route *rt, u8 max_labels, in mpls_nh_build_multi()
797 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
833 mpls_count_nexthops(struct rtnexthop *rtnh, int len, u8 cfg_via_alen, u8 *max_via_alen, u8 *max_labels) mpls_count_nexthops() argument
882 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
969 u8 max_labels; mpls_route_add() local
1729 nla_get_labels(const struct nlattr *nla, u8 max_labels, u8 *labels, u32 label[], struct netlink_ext_ack *extack) nla_get_labels() argument
[all...]
H A Dinternal.h195 int nla_get_labels(const struct nlattr *nla, u8 max_labels, u8 *labels,
/kernel/linux/linux-6.6/net/mpls/
H A Daf_mpls.c511 static struct mpls_route *mpls_rt_alloc(u8 num_nh, u8 max_alen, u8 max_labels) in mpls_rt_alloc() argument
513 u8 nh_size = MPLS_NH_SIZE(max_labels, max_alen); in mpls_rt_alloc()
528 rt->rt_via_offset = MPLS_NH_VIA_OFF(max_labels); in mpls_rt_alloc()
802 struct nlattr *newdst, u8 max_labels, in mpls_nh_build()
811 err = nla_get_labels(newdst, max_labels, &nh->nh_labels, in mpls_nh_build()
838 u8 *max_labels) in mpls_count_nexthops()
844 *max_labels = 0; in mpls_count_nexthops()
869 *max_labels = max_t(u8, *max_labels, n_labels); in mpls_count_nexthops()
886 struct mpls_route *rt, u8 max_labels, in mpls_nh_build_multi()
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
836 mpls_count_nexthops(struct rtnexthop *rtnh, int len, u8 cfg_via_alen, u8 *max_via_alen, u8 *max_labels) mpls_count_nexthops() argument
885 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
972 u8 max_labels; mpls_route_add() local
1726 nla_get_labels(const struct nlattr *nla, u8 max_labels, u8 *labels, u32 label[], struct netlink_ext_ack *extack) nla_get_labels() argument
[all...]
H A Dinternal.h194 int nla_get_labels(const struct nlattr *nla, u8 max_labels, u8 *labels,

Completed in 6 milliseconds