Home
last modified time | relevance | path

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

/linux-6.1.9/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()
/linux-6.1.9/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.1.9/net/netlink/
Daf_netlink.c2417 size_t tlvlen; in netlink_ack_tlv_len() local
2422 tlvlen = 0; in netlink_ack_tlv_len()
2424 tlvlen += nla_total_size(strlen(extack->_msg) + 1); in netlink_ack_tlv_len()
2426 tlvlen += nla_total_size(extack->cookie_len); in netlink_ack_tlv_len()
2430 return tlvlen; in netlink_ack_tlv_len()
2433 tlvlen += nla_total_size(sizeof(u32)); in netlink_ack_tlv_len()
2435 tlvlen += netlink_policy_dump_attr_size_estimate(extack->policy); in netlink_ack_tlv_len()
2437 tlvlen += nla_total_size(sizeof(u32)); in netlink_ack_tlv_len()
2439 tlvlen += nla_total_size(sizeof(u32)); in netlink_ack_tlv_len()
2441 return tlvlen; in netlink_ack_tlv_len()
[all …]
/linux-6.1.9/drivers/net/ethernet/intel/ice/
Dice_dcb.c517 u16 len, tlvlen, typelen; in ice_parse_cee_tlv() local
528 tlvlen = ((typelen & ICE_LLDP_TLV_LEN_M) >> ICE_LLDP_TLV_LEN_S); in ice_parse_cee_tlv()
532 if (tlvlen <= len) in ice_parse_cee_tlv()
/linux-6.1.9/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()