Home
last modified time | relevance | path

Searched refs:tlvlen (Results 1 – 2 of 2) sorted by relevance

/net/ife/
Dife.c103 u16 tlvlen; in __ife_tlv_meta_valid() local
109 tlvlen = ntohs(tlv->len); in __ife_tlv_meta_valid()
112 if (tlvlen < NLA_HDRLEN) in __ife_tlv_meta_valid()
116 if (NLA_ALIGN(tlvlen) < tlvlen) in __ife_tlv_meta_valid()
119 if (unlikely(skbdata + NLA_ALIGN(tlvlen) > ifehdr_end)) in __ife_tlv_meta_valid()
149 u16 tlvlen = ntohs(tlv->len); in ife_tlv_meta_next() local
151 tlvlen = NLA_ALIGN(tlvlen); in ife_tlv_meta_next()
153 return skbdata + tlvlen; in ife_tlv_meta_next()
/net/netlink/
Daf_netlink.c2386 size_t tlvlen = 0; in netlink_ack() local
2396 tlvlen += nla_total_size(strlen(extack->_msg) + 1); in netlink_ack()
2404 tlvlen += nla_total_size(sizeof(u32)); in netlink_ack()
2409 tlvlen += nla_total_size(extack->cookie_len); in netlink_ack()
2412 if (tlvlen) in netlink_ack()
2415 skb = nlmsg_new(payload + tlvlen, GFP_KERNEL); in netlink_ack()