• Home
  • History
  • Annotate
  • Raw
  • Download
  • only in /netgear-R7000-V1.0.7.12_1.2.5/ap/gpl/conntrack-tools/libnetfilter_cthelper-1.0.0/src/

Lines Matching defs:nfct_helper

75 struct nfct_helper {
92 * \defgroup nfct_helper Accounting object handling
102 struct nfct_helper *nfct_helper_alloc(void)
104 return calloc(1, sizeof(struct nfct_helper));
110 * \param nfct_helper pointer to the helper object
112 void nfct_helper_free(struct nfct_helper *h)
138 * \param nfct_helper pointer to the helper object
148 * \param nfct_helper pointer to the helper object
177 * \param nfct_helper pointer to the helper object
201 * \param nfct_helper pointer to the helper object
206 nfct_helper_attr_set(struct nfct_helper *h,
257 * \param nfct_helper pointer to the helper object
262 nfct_helper_attr_set_str(struct nfct_helper *nfct_helper, enum nfct_helper_attr_type type,
265 nfct_helper_attr_set(nfct_helper, type, name);
270 nfct_helper_attr_set_u8(struct nfct_helper *nfct_helper,
273 nfct_helper_attr_set(nfct_helper, type, &value);
278 nfct_helper_attr_set_u16(struct nfct_helper *nfct_helper,
281 nfct_helper_attr_set(nfct_helper, type, &value);
286 nfct_helper_attr_set_u32(struct nfct_helper *nfct_helper,
289 nfct_helper_attr_set(nfct_helper, type, &value);
295 * \param nfct_helper pointer to the helper object
299 nfct_helper_attr_unset(struct nfct_helper *nfct_helper, enum nfct_helper_attr_type type)
303 nfct_helper->bitset &= ~(1 << NFCTH_ATTR_NAME);
314 * \param nfct_helper pointer to the helper object
320 const void *nfct_helper_attr_get(struct nfct_helper *helper,
365 * \param nfct_helper pointer to the helper object
372 nfct_helper_attr_get_str(struct nfct_helper *nfct_helper,
375 return (const char *)nfct_helper_attr_get(nfct_helper, type);
381 * \param nfct_helper pointer to the helper object
387 uint8_t nfct_helper_attr_get_u8(struct nfct_helper *nfct_helper,
390 return *((uint8_t *)nfct_helper_attr_get(nfct_helper, type));
396 * \param nfct_helper pointer to the helper object
402 uint16_t nfct_helper_attr_get_u16(struct nfct_helper *nfct_helper,
405 return *((uint16_t *)nfct_helper_attr_get(nfct_helper, type));
411 * \param nfct_helper pointer to the helper object
417 uint32_t nfct_helper_attr_get_u32(struct nfct_helper *nfct_helper,
420 return *((uint32_t *)nfct_helper_attr_get(nfct_helper, type));
428 * \param nfct_helper: pointer to a valid helper object.
435 struct nfct_helper *helper,
469 * nfct_helper_nlmsg_build_hdr - build netlink message header for nfct_helper subsystem
471 * \param cmd: nfct_helper nfnetlink command.
490 * - Command NFNL_MSG_ACCT_DEL, to delete one specific nfct_helper object (if
531 * \param nfct_helper: pointer to a helper object
534 nfct_helper_nlmsg_build_payload(struct nlmsghdr *nlh, struct nfct_helper *h)
629 struct nfct_helper *helper)
705 struct nfct_helper *helper)
733 struct nfct_helper *helper)
793 * \param nfct_helper: pointer to a helper object
800 struct nfct_helper *h)