Home
last modified time | relevance | path

Searched refs:bos (Results 1 – 6 of 6) sorted by relevance

/net/mpls/
Dmpls_iptunnel.c50 bool bos; in mpls_xmit() local
126 bos = true; in mpls_xmit()
129 ttl, 0, bos); in mpls_xmit()
130 bos = false; in mpls_xmit()
Daf_mpls.c193 if (!dec.bos) in mpls_multipath_hash()
434 if (unlikely(!new_header_size && dec.bos)) { in mpls_forward()
439 bool bos; in mpls_forward() local
445 bos = dec.bos; in mpls_forward()
448 dec.ttl, 0, bos); in mpls_forward()
449 bos = false; in mpls_forward()
1713 bool bos; in nla_put_labels() local
1720 bos = true; in nla_put_labels()
1722 nla_label[i] = mpls_entry_encode(label[i], 0, 0, bos); in nla_put_labels()
1723 bos = false; in nla_put_labels()
[all …]
Dinternal.h15 u8 bos; member
183 result.bos = (entry & MPLS_LS_S_MASK) >> MPLS_LS_S_SHIFT; in mpls_entry_decode()
/net/core/
Dflow_dissector.c417 u32 entry, label, bos; in __skb_flow_dissect_mpls() local
434 bos = (entry & MPLS_LS_S_MASK) >> MPLS_LS_S_SHIFT; in __skb_flow_dissect_mpls()
446 lse->mpls_bos = bos; in __skb_flow_dissect_mpls()
465 return bos ? FLOW_DISSECT_RET_OUT_GOOD : FLOW_DISSECT_RET_PROTO_AGAIN; in __skb_flow_dissect_mpls()
/net/sched/
Dcls_flower.c863 u8 bos = nla_get_u8(tb[TCA_FLOWER_KEY_MPLS_OPT_LSE_BOS]); in fl_set_key_mpls_lse() local
865 if (bos & ~MPLS_BOS_MASK) { in fl_set_key_mpls_lse()
871 lse_val->mpls_bos = bos; in fl_set_key_mpls_lse()
970 u8 bos = nla_get_u8(tb[TCA_FLOWER_KEY_MPLS_BOS]); in fl_set_key_mpls() local
972 if (bos & ~MPLS_BOS_MASK) { in fl_set_key_mpls()
978 lse_val->mpls_bos = bos; in fl_set_key_mpls()
Dcls_api.c3686 entry->mpls_push.bos = tcf_mpls_bos(act); in tc_setup_flow_action()
3697 entry->mpls_mangle.bos = tcf_mpls_bos(act); in tc_setup_flow_action()