Searched refs:max_labels (Results 1 - 2 of 2) sorted by relevance
/linux-master/net/mpls/ |
H A D | af_mpls.c | 511 static struct mpls_route *mpls_rt_alloc(u8 num_nh, u8 max_alen, u8 max_labels) argument 513 u8 nh_size = MPLS_NH_SIZE(max_labels, max_alen); 528 rt->rt_via_offset = MPLS_NH_VIA_OFF(max_labels); 802 struct nlattr *newdst, u8 max_labels, 811 err = nla_get_labels(newdst, max_labels, &nh->nh_labels, 838 u8 *max_labels) 844 *max_labels = 0; 869 *max_labels = max_t(u8, *max_labels, n_labels); 886 struct mpls_route *rt, u8 max_labels, 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) argument 836 mpls_count_nexthops(struct rtnexthop *rtnh, int len, u8 cfg_via_alen, u8 *max_via_alen, u8 *max_labels) argument 885 mpls_nh_build_multi(struct mpls_route_config *cfg, struct mpls_route *rt, u8 max_labels, struct netlink_ext_ack *extack) argument 972 u8 max_labels; local 1709 nla_get_labels(const struct nlattr *nla, u8 max_labels, u8 *labels, u32 label[], struct netlink_ext_ack *extack) argument [all...] |
H A D | internal.h | 194 int nla_get_labels(const struct nlattr *nla, u8 max_labels, u8 *labels,
|
Completed in 209 milliseconds