Home
last modified time | relevance | path

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

/linux-5.19.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()
/linux-5.19.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); \
/linux-5.19.10/net/netlink/
Daf_netlink.c2410 size_t tlvlen = 0; in netlink_ack() local
2420 tlvlen += nla_total_size(strlen(extack->_msg) + 1); in netlink_ack()
2427 tlvlen += nla_total_size(sizeof(u32)); in netlink_ack()
2429 tlvlen += nla_total_size(extack->cookie_len); in netlink_ack()
2431 tlvlen += netlink_policy_dump_attr_size_estimate(extack->policy); in netlink_ack()
2433 if (tlvlen) in netlink_ack()
2436 skb = nlmsg_new(payload + tlvlen, GFP_KERNEL); in netlink_ack()
/linux-5.19.10/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-5.19.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()