Home
last modified time | relevance | path

Searched refs:uri_len (Results 1 – 3 of 3) sorted by relevance

/openbmc/linux/net/nfc/
H A Dllcp_commands.c134 size_t uri_len) in nfc_llcp_build_sdreq_tlv() argument
138 pr_debug("uri: %s, len: %zu\n", uri, uri_len); in nfc_llcp_build_sdreq_tlv()
141 if (WARN_ON_ONCE(uri_len > U8_MAX - 4)) in nfc_llcp_build_sdreq_tlv()
148 sdreq->tlv_len = uri_len + 3; in nfc_llcp_build_sdreq_tlv()
150 if (uri[uri_len - 1] == 0) in nfc_llcp_build_sdreq_tlv()
165 memcpy(sdreq->uri, uri, uri_len); in nfc_llcp_build_sdreq_tlv()
H A Dllcp.h231 size_t uri_len);
H A Dnetlink.c1143 size_t uri_len, tlvs_len; in nfc_genl_llc_sdreq() local
1187 uri_len = nla_len(sdp_attrs[NFC_SDP_ATTR_URI]); in nfc_genl_llc_sdreq()
1188 if (uri_len == 0) in nfc_genl_llc_sdreq()
1197 sdreq = nfc_llcp_build_sdreq_tlv(tid, uri, uri_len); in nfc_genl_llc_sdreq()