Lines Matching defs:dec
158 struct mpls_entry_decoded dec;
173 dec = mpls_entry_decode(hdr);
178 if (likely(dec.label >= MPLS_LABEL_FIRST_UNRESERVED)) {
179 hash = jhash_1word(dec.label, hash);
189 } else if (dec.label == MPLS_LABEL_ENTROPY) {
193 if (!dec.bos)
270 struct sk_buff *skb, struct mpls_entry_decoded dec)
305 new_ttl = dec.ttl;
327 hdr6->hop_limit = dec.ttl;
348 struct mpls_entry_decoded dec;
382 dec = mpls_entry_decode(hdr);
384 rt = mpls_route_input_rcu(net, dec.label);
406 if (dec.ttl <= 1)
408 dec.ttl -= 1;
432 if (unlikely(!new_header_size && dec.bos)) {
434 if (!mpls_egress(dev_net(out_dev), rt, skb, dec))
443 bos = dec.bos;
446 dec.ttl, 0, bos);
1761 struct mpls_entry_decoded dec;
1762 dec = mpls_entry_decode(nla_label + i);
1767 if (dec.ttl) {
1773 if (dec.tc) {
1779 if (dec.bos != bos) {
1791 switch (dec.label) {
1802 label[i] = dec.label;