Go to the source code of this file.
|
void | nfc_llcp_sock_link (struct llcp_sock_list *l, struct sock *s) |
|
void | nfc_llcp_sock_unlink (struct llcp_sock_list *l, struct sock *s) |
|
struct nfc_llcp_local * | nfc_llcp_find_local (struct nfc_dev *dev) |
|
struct nfc_llcp_local * | nfc_llcp_local_get (struct nfc_llcp_local *local) |
|
int | nfc_llcp_local_put (struct nfc_llcp_local *local) |
|
u8 | nfc_llcp_get_sdp_ssap (struct nfc_llcp_local *local, struct nfc_llcp_sock *sock) |
|
u8 | nfc_llcp_get_local_ssap (struct nfc_llcp_local *local) |
|
void | nfc_llcp_put_ssap (struct nfc_llcp_local *local, u8 ssap) |
|
int | nfc_llcp_queue_i_frames (struct nfc_llcp_sock *sock) |
|
void | nfc_llcp_send_to_raw_sock (struct nfc_llcp_local *local, struct sk_buff *skb, u8 direction) |
|
struct sock * | nfc_llcp_sock_alloc (struct socket *sock, int type, gfp_t gfp) |
|
void | nfc_llcp_sock_free (struct nfc_llcp_sock *sock) |
|
void | nfc_llcp_accept_unlink (struct sock *sk) |
|
void | nfc_llcp_accept_enqueue (struct sock *parent, struct sock *sk) |
|
struct sock * | nfc_llcp_accept_dequeue (struct sock *sk, struct socket *newsock) |
|
int | nfc_llcp_parse_gb_tlv (struct nfc_llcp_local *local, u8 *tlv_array, u16 tlv_array_len) |
|
int | nfc_llcp_parse_connection_tlv (struct nfc_llcp_sock *sock, u8 *tlv_array, u16 tlv_array_len) |
|
void | nfc_llcp_recv (void *data, struct sk_buff *skb, int err) |
|
u8 * | nfc_llcp_build_tlv (u8 type, u8 *value, u8 value_length, u8 *tlv_length) |
|
int | nfc_llcp_disconnect (struct nfc_llcp_sock *sock) |
|
int | nfc_llcp_send_symm (struct nfc_dev *dev) |
|
int | nfc_llcp_send_connect (struct nfc_llcp_sock *sock) |
|
int | nfc_llcp_send_cc (struct nfc_llcp_sock *sock) |
|
int | nfc_llcp_send_dm (struct nfc_llcp_local *local, u8 ssap, u8 dsap, u8 reason) |
|
int | nfc_llcp_send_disconnect (struct nfc_llcp_sock *sock) |
|
int | nfc_llcp_send_i_frame (struct nfc_llcp_sock *sock, struct msghdr *msg, size_t len) |
|
int | nfc_llcp_send_rr (struct nfc_llcp_sock *sock) |
|
int __init | nfc_llcp_sock_init (void) |
|
void | nfc_llcp_sock_exit (void) |
|
#define LLCP_DEFAULT_LTO 100 |
#define LLCP_DEFAULT_MIU 128 |
#define LLCP_DEFAULT_RW 1 |
#define LLCP_DM_DISC 0x00 |
#define LLCP_DM_NOBOUND 0x02 |
#define LLCP_DM_NOCONN 0x01 |
#define LLCP_HEADER_SIZE 2 |
#define LLCP_LOCAL_NUM_SAP 32 |
#define LLCP_MAX_LTO 0xff |
#define LLCP_MAX_MIUX 0x7ff |
#define LLCP_PDU_CONNECT 0x4 |
#define LLCP_PDU_DISC 0x5 |
#define LLCP_PDU_FRMR 0x8 |
#define LLCP_PDU_SYMM 0x0 |
#define LLCP_SAP_MAX 0xff |
#define LLCP_SAP_OBEX 0x3 |
#define LLCP_SAP_SNEP 0x4 |
#define LLCP_SDP_NUM_SAP 16 |
#define LLCP_SEQUENCE_SIZE 1 |
#define LLCP_TLV_MIUX 0x2 |
#define LLCP_TLV_SDREQ 0x8 |
#define LLCP_TLV_SDRES 0x9 |
#define LLCP_TLV_VERSION 0x1 |
#define LLCP_VERSION_10 0x10 |
#define LLCP_VERSION_11 0x11 |
#define LLCP_WKS_NUM_SAP 16 |
- Enumerator:
LLCP_CONNECTED |
|
LLCP_CLOSED |
|
LLCP_BOUND |
|
LLCP_LISTEN |
|
Definition at line 20 of file llcp.h.
u8* nfc_llcp_build_tlv |
( |
u8 |
type, |
|
|
u8 * |
value, |
|
|
u8 |
value_length, |
|
|
u8 * |
tlv_length |
|
) |
| |