Lines Matching defs:dec
159 struct mpls_entry_decoded dec;
174 dec = mpls_entry_decode(hdr);
179 if (likely(dec.label >= MPLS_LABEL_FIRST_UNRESERVED)) {
180 hash = jhash_1word(dec.label, hash);
190 } else if (dec.label == MPLS_LABEL_ENTROPY) {
194 if (!dec.bos)
271 struct sk_buff *skb, struct mpls_entry_decoded dec)
306 new_ttl = dec.ttl;
328 hdr6->hop_limit = dec.ttl;
349 struct mpls_entry_decoded dec;
385 dec = mpls_entry_decode(hdr);
387 rt = mpls_route_input_rcu(net, dec.label);
409 if (dec.ttl <= 1)
434 dec.ttl -= 1;
435 if (unlikely(!new_header_size && dec.bos)) {
437 if (!mpls_egress(dev_net(out_dev), rt, skb, dec))
446 bos = dec.bos;
449 dec.ttl, 0, bos);
1758 struct mpls_entry_decoded dec;
1759 dec = mpls_entry_decode(nla_label + i);
1764 if (dec.ttl) {
1770 if (dec.tc) {
1776 if (dec.bos != bos) {
1788 switch (dec.label) {
1799 label[i] = dec.label;