Home
last modified time | relevance | path

Searched refs:ifehdr_end (Results 1 – 3 of 3) sorted by relevance

/openbmc/linux/net/ife/
H A Dife.c100 const unsigned char *ifehdr_end) in __ife_tlv_meta_valid() argument
105 if (unlikely(skbdata + sizeof(*tlv) > ifehdr_end)) in __ife_tlv_meta_valid()
119 if (unlikely(skbdata + NLA_ALIGN(tlvlen) > ifehdr_end)) in __ife_tlv_meta_valid()
127 void *ife_tlv_meta_decode(void *skbdata, const void *ifehdr_end, u16 *attrtype, in ife_tlv_meta_decode() argument
132 if (!__ife_tlv_meta_valid(skbdata, ifehdr_end)) in ife_tlv_meta_decode()
/openbmc/linux/include/net/
H A Dife.h14 void *ife_tlv_meta_decode(void *skbdata, const void *ifehdr_end, u16 *attrtype,
/openbmc/linux/net/sched/
H A Dact_ife.c717 u8 *ifehdr_end; in tcf_ife_decode() local
733 ifehdr_end = tlv_data + metalen; in tcf_ife_decode()
734 for (; tlv_data < ifehdr_end; tlv_data = ife_tlv_meta_next(tlv_data)) { in tcf_ife_decode()
739 curr_data = ife_tlv_meta_decode(tlv_data, ifehdr_end, &mtype, in tcf_ife_decode()
756 if (WARN_ON(tlv_data != ifehdr_end)) { in tcf_ife_decode()