Lines Matching refs:tlv
101 const struct meta_tlvhdr *tlv; in __ife_tlv_meta_valid() local
104 if (unlikely(skbdata + sizeof(*tlv) > ifehdr_end)) in __ife_tlv_meta_valid()
107 tlv = (const struct meta_tlvhdr *)skbdata; in __ife_tlv_meta_valid()
108 tlvlen = ntohs(tlv->len); in __ife_tlv_meta_valid()
129 struct meta_tlvhdr *tlv; in ife_tlv_meta_decode() local
134 tlv = (struct meta_tlvhdr *)skbdata; in ife_tlv_meta_decode()
135 *dlen = ntohs(tlv->len) - NLA_HDRLEN; in ife_tlv_meta_decode()
136 *attrtype = ntohs(tlv->type); in ife_tlv_meta_decode()
147 struct meta_tlvhdr *tlv = (struct meta_tlvhdr *) skbdata; in ife_tlv_meta_next() local
148 u16 tlvlen = ntohs(tlv->len); in ife_tlv_meta_next()
160 __be32 *tlv = (__be32 *) (skbdata); in ife_tlv_meta_encode() local
162 char *dptr = (char *) tlv + NLA_HDRLEN; in ife_tlv_meta_encode()
165 *tlv = htonl(htlv); in ife_tlv_meta_encode()