Lines Matching refs:label
36 static void rtmsg_lfib(int event, u32 label, struct mpls_route *rt,
124 if (likely(dec.label >= MPLS_LABEL_FIRST_UNRESERVED)) { in mpls_multipath_hash()
125 hash = jhash_1word(dec.label, hash); in mpls_multipath_hash()
135 } else if (dec.label == MPLS_LABEL_ENTROPY) { in mpls_multipath_hash()
284 rt = mpls_route_input_rcu(net, dec.label); in mpls_forward()
1111 u8 labels, const u32 label[]) in nla_put_labels() argument
1124 nla_label[i] = mpls_entry_encode(label[i], 0, 0, bos); in nla_put_labels()
1133 u32 max_labels, u8 *labels, u32 label[]) in nla_get_labels() argument
1162 switch (dec.label) { in nla_get_labels()
1171 label[i] = dec.label; in nla_get_labels()
1344 u32 label, struct mpls_route *rt, int flags) in mpls_dump_route() argument
1365 if (nla_put_labels(skb, RTA_DST, 1, &label)) in mpls_dump_route()
1507 static void rtmsg_lfib(int event, u32 label, struct mpls_route *rt, in rtmsg_lfib() argument
1519 err = mpls_dump_route(skb, portid, seq, event, label, rt, nlm_flags); in rtmsg_lfib()