Searched refs:tlv_len (Results 1 – 9 of 9) sorted by relevance
811 unsigned int opt_len = ipv6_optlen(opt), tlv_len; in calipso_tlv_len() local819 tlv_len = tlv[offset + 1] + 2; in calipso_tlv_len()820 if (offset + tlv_len > opt_len) in calipso_tlv_len()822 return tlv_len; in calipso_tlv_len()849 int ret_val = -ENOENT, tlv_len; in calipso_opt_find() local857 tlv_len = calipso_tlv_len(hop, offset); in calipso_opt_find()858 if (tlv_len < 0) in calipso_opt_find()859 return tlv_len; in calipso_opt_find()877 offset += tlv_len; in calipso_opt_find()
60 unsigned int tlv_len; in seg6_validate_srh() local66 tlv_len = sizeof(*tlv) + tlv->len; in seg6_validate_srh()68 trailing -= tlv_len; in seg6_validate_srh()72 tlv_offset += tlv_len; in seg6_validate_srh()
370 hop_jumbo->tlv_len = 4; in ipv6_gro_complete()
301 hop_jumbo->tlv_len = 4; in ip6_xmit()
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()567 skb_put_data(skb, sdp->tlv, sdp->tlv_len); in nfc_llcp_send_snl_sdres()599 skb_put_data(skb, sdreq->tlv, sdreq->tlv_len); in nfc_llcp_send_snl_sdreq()
39 u8 tlv_len; member
1273 u16 tlv_len, offset; in nfc_llcp_recv_snl() local1292 tlv_len = skb->len - LLCP_HEADER_SIZE; in nfc_llcp_recv_snl()1296 while (offset < tlv_len) { in nfc_llcp_recv_snl()1361 sdres_tlvs_len += sdp->tlv_len; in nfc_llcp_recv_snl()
1203 tlvs_len += sdreq->tlv_len; in nfc_genl_llc_sdreq()
106 tlv->tlv_len = htons(TLV_LENGTH(len)); in tipc_add_tlv()