Home
last modified time | relevance | path

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

/net/ipv6/
Dcalipso.c811 unsigned int opt_len = ipv6_optlen(opt), tlv_len; in calipso_tlv_len() local
819 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() local
857 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()
Dseg6.c60 unsigned int tlv_len; in seg6_validate_srh() local
66 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()
Dip6_offload.c370 hop_jumbo->tlv_len = 4; in ipv6_gro_complete()
Dip6_output.c301 hop_jumbo->tlv_len = 4; in ip6_xmit()
/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()
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()
Dllcp.h39 u8 tlv_len; member
Dllcp_core.c1273 u16 tlv_len, offset; in nfc_llcp_recv_snl() local
1292 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()
Dnetlink.c1203 tlvs_len += sdreq->tlv_len; in nfc_genl_llc_sdreq()
/net/tipc/
Dnetlink_compat.c106 tlv->tlv_len = htons(TLV_LENGTH(len)); in tipc_add_tlv()