Home
last modified time | relevance | path

Searched refs:tlv_len (Results 1 – 7 of 7) sorted by relevance

/net/ipv6/
Dcalipso.c815 unsigned int opt_len = ipv6_optlen(opt), tlv_len; in calipso_tlv_len() local
823 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() local
861 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()
Dseg6.c50 unsigned int tlv_len; in seg6_validate_srh() local
56 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()
/net/nfc/
Dllcp_commands.c119 &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()
Dllcp_core.c1233 u16 tlv_len, offset; in nfc_llcp_recv_snl() local
1252 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()
Dllcp.h40 u8 tlv_len; member
Dnetlink.c1198 tlvs_len += sdreq->tlv_len; in nfc_genl_llc_sdreq()
/net/tipc/
Dnetlink_compat.c105 tlv->tlv_len = htons(TLV_LENGTH(len)); in tipc_add_tlv()