|
struct nfct_helper * | nfct_helper_alloc (void) |
| nfct_helper_alloc - allocate a new helper object More...
|
|
| EXPORT_SYMBOL (nfct_helper_alloc) |
|
void | nfct_helper_free (struct nfct_helper *h) |
| nfct_helper_free - release one helper object More...
|
|
| EXPORT_SYMBOL (nfct_helper_free) |
|
struct nfct_helper_policy * | nfct_helper_policy_alloc (void) |
| nfct_helper_policy_alloc - allocate a new helper policy object More...
|
|
| EXPORT_SYMBOL (nfct_helper_policy_alloc) |
|
void | nfct_helper_policy_free (struct nfct_helper_policy *p) |
| nfct_helper_free - release one helper policy object More...
|
|
| EXPORT_SYMBOL (nfct_helper_policy_free) |
|
void | nfct_helper_policy_attr_set (struct nfct_helper_policy *p, enum nfct_helper_policy_attr_type type, const void *data) |
| nfct_helper_policy_attr_set - set one attribute of the helper object More...
|
|
| EXPORT_SYMBOL (nfct_helper_policy_attr_set) |
|
void | nfct_helper_policy_attr_set_str (struct nfct_helper_policy *p, enum nfct_helper_policy_attr_type type, const char *name) |
| nfct_helper_attr_set_str - set one attribute the helper object More...
|
|
| EXPORT_SYMBOL (nfct_helper_policy_attr_set_str) |
|
void | nfct_helper_policy_attr_set_u32 (struct nfct_helper_policy *p, enum nfct_helper_policy_attr_type type, uint32_t value) |
|
| EXPORT_SYMBOL (nfct_helper_policy_attr_set_u32) |
|
void | nfct_helper_attr_set (struct nfct_helper *h, enum nfct_helper_attr_type type, const void *data) |
| nfct_helper_attr_set - set one attribute of the helper object More...
|
|
| EXPORT_SYMBOL (nfct_helper_attr_set) |
|
void | nfct_helper_attr_set_str (struct nfct_helper *nfct_helper, enum nfct_helper_attr_type type, const char *name) |
| nfct_helper_attr_set_str - set one attribute the helper object More...
|
|
| EXPORT_SYMBOL (nfct_helper_attr_set_str) |
|
void | nfct_helper_attr_set_u8 (struct nfct_helper *nfct_helper, enum nfct_helper_attr_type type, uint8_t value) |
|
| EXPORT_SYMBOL (nfct_helper_attr_set_u8) |
|
void | nfct_helper_attr_set_u16 (struct nfct_helper *nfct_helper, enum nfct_helper_attr_type type, uint16_t value) |
|
| EXPORT_SYMBOL (nfct_helper_attr_set_u16) |
|
void | nfct_helper_attr_set_u32 (struct nfct_helper *nfct_helper, enum nfct_helper_attr_type type, uint32_t value) |
|
| EXPORT_SYMBOL (nfct_helper_attr_set_u32) |
|
void | nfct_helper_attr_unset (struct nfct_helper *nfct_helper, enum nfct_helper_attr_type type) |
| nfct_helper_attr_unset - unset one attribute the helper object More...
|
|
| EXPORT_SYMBOL (nfct_helper_attr_unset) |
|
const void * | nfct_helper_attr_get (struct nfct_helper *helper, enum nfct_helper_attr_type type) |
| nfct_helper_attr_get - get one attribute the helper object More...
|
|
| EXPORT_SYMBOL (nfct_helper_attr_get) |
|
const char * | nfct_helper_attr_get_str (struct nfct_helper *nfct_helper, enum nfct_helper_attr_type type) |
| nfct_helper_attr_get_str - get one attribute the helper object More...
|
|
| EXPORT_SYMBOL (nfct_helper_attr_get_str) |
|
uint8_t | nfct_helper_attr_get_u8 (struct nfct_helper *nfct_helper, enum nfct_helper_attr_type type) |
| nfct_helper_attr_get_u8 - get one attribute the helper object More...
|
|
| EXPORT_SYMBOL (nfct_helper_attr_get_u8) |
|
uint16_t | nfct_helper_attr_get_u16 (struct nfct_helper *nfct_helper, enum nfct_helper_attr_type type) |
| nfct_helper_attr_get_u16 - get one attribute the helper object More...
|
|
| EXPORT_SYMBOL (nfct_helper_attr_get_u16) |
|
uint32_t | nfct_helper_attr_get_u32 (struct nfct_helper *nfct_helper, enum nfct_helper_attr_type type) |
| nfct_helper_attr_get_u32 - get one attribute the helper object More...
|
|
| EXPORT_SYMBOL (nfct_helper_attr_get_u32) |
|
int | nfct_helper_snprintf (char *buf, size_t size, struct nfct_helper *helper, unsigned int type, unsigned int flags) |
| nfct_helper_snprintf - print helper object into one buffer More...
|
|
| EXPORT_SYMBOL (nfct_helper_snprintf) |
|
nfct_helper_attr_get - get one attribute the helper object
- Parameters
-
nfct_helper | pointer to the helper object |
type | attribute type you want to set |
This function returns a valid pointer to the attribute data. If a unsupported attribute is used, this returns NULL.
References expect_policy, l3num, l4num, name, NFCTH_ATTR_NAME, NFCTH_ATTR_POLICY1, NFCTH_ATTR_POLICY2, NFCTH_ATTR_POLICY3, NFCTH_ATTR_POLICY4, NFCTH_ATTR_PRIV_DATA_LEN, NFCTH_ATTR_PROTO_L3NUM, NFCTH_ATTR_PROTO_L4NUM, NFCTH_ATTR_QUEUE_NUM, NFCTH_ATTR_STATUS, NULL, priv_data_len, queue_num, status, and tuple.
Referenced by nfct_helper_attr_get_str(), nfct_helper_attr_get_u16(), nfct_helper_attr_get_u32(), and nfct_helper_attr_get_u8().