Searched refs:tlv_len (Results 1 – 7 of 7) sorted by relevance
815 unsigned int opt_len = ipv6_optlen(opt), tlv_len; in calipso_tlv_len() local823 tlv_len = tlv[offset + 1] + 2; in calipso_tlv_len()824 if (offset + tlv_len > opt_len) in calipso_tlv_len()826 return tlv_len; in calipso_tlv_len()853 int ret_val = -ENOENT, tlv_len; in calipso_opt_find() local861 tlv_len = calipso_tlv_len(hop, offset); in calipso_opt_find()862 if (tlv_len < 0) in calipso_opt_find()863 return tlv_len; in calipso_opt_find()881 offset += tlv_len; in calipso_opt_find()
50 unsigned int tlv_len; in seg6_validate_srh() local56 tlv_len = sizeof(*tlv) + tlv->len; in seg6_validate_srh()58 trailing -= tlv_len; in seg6_validate_srh()62 tlv_offset += tlv_len; in seg6_validate_srh()
119 &sdres->tlv_len); in nfc_llcp_build_sdres_tlv()148 sdreq->tlv_len = uri_len + 3; in nfc_llcp_build_sdreq_tlv()151 sdreq->tlv_len--; in nfc_llcp_build_sdreq_tlv()153 sdreq->tlv = kzalloc(sdreq->tlv_len + 1, GFP_KERNEL); in nfc_llcp_build_sdreq_tlv()160 sdreq->tlv[1] = sdreq->tlv_len - 2; in nfc_llcp_build_sdreq_tlv()564 skb_put_data(skb, sdp->tlv, sdp->tlv_len); in nfc_llcp_send_snl_sdres()596 skb_put_data(skb, sdreq->tlv, sdreq->tlv_len); in nfc_llcp_send_snl_sdreq()
1233 u16 tlv_len, offset; in nfc_llcp_recv_snl() local1252 tlv_len = skb->len - LLCP_HEADER_SIZE; in nfc_llcp_recv_snl()1256 while (offset < tlv_len) { in nfc_llcp_recv_snl()1318 sdres_tlvs_len += sdp->tlv_len; in nfc_llcp_recv_snl()
40 u8 tlv_len; member
1198 tlvs_len += sdreq->tlv_len; in nfc_genl_llc_sdreq()
105 tlv->tlv_len = htons(TLV_LENGTH(len)); in tipc_add_tlv()