Home
last modified time | relevance | path

Searched refs:MPLS_LS_TTL_SHIFT (Results 1 – 7 of 7) sorted by relevance

/Linux-v5.4/include/linux/
Dmpls.h7 #define MPLS_TTL_MASK (MPLS_LS_TTL_MASK >> MPLS_LS_TTL_SHIFT)
/Linux-v5.4/include/uapi/linux/
Dmpls.h33 #define MPLS_LS_TTL_SHIFT 0 macro
/Linux-v5.4/net/mpls/
Dinternal.h182 (ttl << MPLS_LS_TTL_SHIFT)); in mpls_entry_encode()
192 result.ttl = (entry & MPLS_LS_TTL_MASK) >> MPLS_LS_TTL_SHIFT; in mpls_entry_decode()
/Linux-v5.4/net/sched/
Dact_mpls.c36 new_lse |= p->tcfm_ttl << MPLS_LS_TTL_SHIFT; in tcf_mpls_get_lse()
/Linux-v5.4/drivers/net/ethernet/netronome/nfp/flower/
Daction.c55 mpls_lse |= act->mpls_push.ttl << MPLS_LS_TTL_SHIFT; in nfp_fl_push_mpls()
96 mpls_lse |= act->mpls_mangle.ttl << MPLS_LS_TTL_SHIFT; in nfp_fl_set_mpls()
/Linux-v5.4/net/core/
Dflow_dissector.c418 >> MPLS_LS_TTL_SHIFT; in __skb_flow_dissect_mpls()
Dskbuff.c5620 ttl = (lse & MPLS_LS_TTL_MASK) >> MPLS_LS_TTL_SHIFT; in skb_mpls_dec_ttl()
5625 lse |= ttl << MPLS_LS_TTL_SHIFT; in skb_mpls_dec_ttl()