Home
last modified time | relevance | path

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

/linux-6.6.21/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()
/linux-6.6.21/drivers/net/ethernet/cisco/enic/
Dvnic_vic.h50 #define VIC_PROVINFO_ADD_TLV(vp, tlvtype, tlvlen, data) \ argument
52 err = vic_provinfo_add_tlv(vp, tlvtype, tlvlen, data); \
/linux-6.6.21/net/netlink/
Daf_netlink.c2399 size_t tlvlen; in netlink_ack_tlv_len() local
2404 tlvlen = 0; in netlink_ack_tlv_len()
2406 tlvlen += nla_total_size(strlen(extack->_msg) + 1); in netlink_ack_tlv_len()
2408 tlvlen += nla_total_size(extack->cookie_len); in netlink_ack_tlv_len()
2412 return tlvlen; in netlink_ack_tlv_len()
2415 tlvlen += nla_total_size(sizeof(u32)); in netlink_ack_tlv_len()
2417 tlvlen += netlink_policy_dump_attr_size_estimate(extack->policy); in netlink_ack_tlv_len()
2419 tlvlen += nla_total_size(sizeof(u32)); in netlink_ack_tlv_len()
2421 tlvlen += nla_total_size(sizeof(u32)); in netlink_ack_tlv_len()
2423 return tlvlen; in netlink_ack_tlv_len()
[all …]
/linux-6.6.21/drivers/net/ethernet/intel/ice/
Dice_dcb.c520 u16 len, tlvlen, typelen; in ice_parse_cee_tlv() local
531 tlvlen = ((typelen & ICE_LLDP_TLV_LEN_M) >> ICE_LLDP_TLV_LEN_S); in ice_parse_cee_tlv()
535 if (tlvlen <= len) in ice_parse_cee_tlv()
/linux-6.6.21/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()