Lines Matching refs:new_lse
26 u32 new_lse = 0; in tcf_mpls_get_lse() local
29 new_lse = be32_to_cpu(lse->label_stack_entry); in tcf_mpls_get_lse()
32 new_lse &= ~MPLS_LS_LABEL_MASK; in tcf_mpls_get_lse()
33 new_lse |= p->tcfm_label << MPLS_LS_LABEL_SHIFT; in tcf_mpls_get_lse()
36 new_lse &= ~MPLS_LS_TTL_MASK; in tcf_mpls_get_lse()
37 new_lse |= p->tcfm_ttl << MPLS_LS_TTL_SHIFT; in tcf_mpls_get_lse()
40 new_lse &= ~MPLS_LS_TC_MASK; in tcf_mpls_get_lse()
41 new_lse |= p->tcfm_tc << MPLS_LS_TC_SHIFT; in tcf_mpls_get_lse()
44 new_lse &= ~MPLS_LS_S_MASK; in tcf_mpls_get_lse()
45 new_lse |= p->tcfm_bos << MPLS_LS_S_SHIFT; in tcf_mpls_get_lse()
47 new_lse |= 1 << MPLS_LS_S_SHIFT; in tcf_mpls_get_lse()
50 return cpu_to_be32(new_lse); in tcf_mpls_get_lse()
58 __be32 new_lse; in tcf_mpls_act() local
85 new_lse = tcf_mpls_get_lse(NULL, p, !eth_p_mpls(skb_protocol(skb, true))); in tcf_mpls_act()
86 if (skb_mpls_push(skb, new_lse, p->tcfm_proto, mac_len, in tcf_mpls_act()
101 new_lse = tcf_mpls_get_lse(NULL, p, mac_len || in tcf_mpls_act()
104 if (skb_mpls_push(skb, new_lse, p->tcfm_proto, 0, false)) in tcf_mpls_act()
111 new_lse = tcf_mpls_get_lse(mpls_hdr(skb), p, false); in tcf_mpls_act()
112 if (skb_mpls_update_lse(skb, new_lse)) in tcf_mpls_act()