Home
last modified time | relevance | path

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

/kernel/linux/linux-5.10/net/ife/
Dife.c102 u16 tlvlen; in __ife_tlv_meta_valid() local
108 tlvlen = ntohs(tlv->len); in __ife_tlv_meta_valid()
111 if (tlvlen < NLA_HDRLEN) in __ife_tlv_meta_valid()
115 if (NLA_ALIGN(tlvlen) < tlvlen) in __ife_tlv_meta_valid()
118 if (unlikely(skbdata + NLA_ALIGN(tlvlen) > ifehdr_end)) in __ife_tlv_meta_valid()
148 u16 tlvlen = ntohs(tlv->len); in ife_tlv_meta_next() local
150 tlvlen = NLA_ALIGN(tlvlen); in ife_tlv_meta_next()
152 return skbdata + tlvlen; in ife_tlv_meta_next()
/kernel/linux/linux-5.10/drivers/net/ethernet/cisco/enic/
Dvnic_vic.h65 #define VIC_PROVINFO_ADD_TLV(vp, tlvtype, tlvlen, data) \ argument
67 err = vic_provinfo_add_tlv(vp, tlvtype, tlvlen, data); \
/kernel/linux/linux-5.10/drivers/net/ethernet/intel/i40e/
Di40e_dcb.c414 u16 len, tlvlen, sublen, typelength; in i40e_parse_cee_tlv() local
427 tlvlen = (u16)((typelength & I40E_LLDP_TLV_LEN_MASK) >> in i40e_parse_cee_tlv()
432 if (tlvlen <= len) in i40e_parse_cee_tlv()
/kernel/linux/linux-5.10/drivers/net/ethernet/intel/ice/
Dice_dcb.c518 u16 len, tlvlen, typelen; in ice_parse_cee_tlv() local
529 tlvlen = ((typelen & ICE_LLDP_TLV_LEN_M) >> ICE_LLDP_TLV_LEN_S); in ice_parse_cee_tlv()
533 if (tlvlen <= len) in ice_parse_cee_tlv()
/kernel/linux/linux-5.10/net/netlink/
Daf_netlink.c2424 size_t tlvlen = 0; in netlink_ack() local
2434 tlvlen += nla_total_size(strlen(extack->_msg) + 1); in netlink_ack()
2441 tlvlen += nla_total_size(sizeof(u32)); in netlink_ack()
2443 tlvlen += nla_total_size(extack->cookie_len); in netlink_ack()
2445 tlvlen += netlink_policy_dump_attr_size_estimate(extack->policy); in netlink_ack()
2447 if (tlvlen) in netlink_ack()
2450 skb = nlmsg_new(payload + tlvlen, GFP_KERNEL); in netlink_ack()