Home | History | Annotate | Download | only in netfilter

Lines Matching refs:nfnl_ct

58 	struct nfnl_ct *ct = (struct nfnl_ct *) c;
71 struct nfnl_ct *dst = (struct nfnl_ct *) _dst;
72 struct nfnl_ct *src = (struct nfnl_ct *) _src;
119 static void dump_icmp(struct nl_dump_params *p, struct nfnl_ct *ct, int reply)
131 static void ct_dump_tuples(struct nfnl_ct *ct, struct nl_dump_params *p)
176 struct nfnl_ct *ct = (struct nfnl_ct *) a;
200 struct nfnl_ct *ct = (struct nfnl_ct *) a;
256 struct nfnl_ct *ct = (struct nfnl_ct *) a;
276 struct nfnl_ct *a = (struct nfnl_ct *) _a;
277 struct nfnl_ct *b = (struct nfnl_ct *) _b;
365 struct nfnl_ct *nfnl_ct_alloc(void)
367 return (struct nfnl_ct *) nl_object_alloc(&ct_obj_ops);
370 void nfnl_ct_get(struct nfnl_ct *ct)
375 void nfnl_ct_put(struct nfnl_ct *ct)
387 void nfnl_ct_set_family(struct nfnl_ct *ct, uint8_t family)
393 uint8_t nfnl_ct_get_family(const struct nfnl_ct *ct)
401 void nfnl_ct_set_proto(struct nfnl_ct *ct, uint8_t proto)
407 int nfnl_ct_test_proto(const struct nfnl_ct *ct)
412 uint8_t nfnl_ct_get_proto(const struct nfnl_ct *ct)
417 void nfnl_ct_set_tcp_state(struct nfnl_ct *ct, uint8_t state)
423 int nfnl_ct_test_tcp_state(const struct nfnl_ct *ct)
428 uint8_t nfnl_ct_get_tcp_state(const struct nfnl_ct *ct)
456 void nfnl_ct_set_status(struct nfnl_ct *ct, uint32_t status)
463 void nfnl_ct_unset_status(struct nfnl_ct *ct, uint32_t status)
470 uint32_t nfnl_ct_get_status(const struct nfnl_ct *ct)
500 void nfnl_ct_set_timeout(struct nfnl_ct *ct, uint32_t timeout)
506 int nfnl_ct_test_timeout(const struct nfnl_ct *ct)
511 uint32_t nfnl_ct_get_timeout(const struct nfnl_ct *ct)
516 void nfnl_ct_set_mark(struct nfnl_ct *ct, uint32_t mark)
522 int nfnl_ct_test_mark(const struct nfnl_ct *ct)
527 uint32_t nfnl_ct_get_mark(const struct nfnl_ct *ct)
532 void nfnl_ct_set_use(struct nfnl_ct *ct, uint32_t use)
538 int nfnl_ct_test_use(const struct nfnl_ct *ct)
543 uint32_t nfnl_ct_get_use(const struct nfnl_ct *ct)
548 void nfnl_ct_set_id(struct nfnl_ct *ct, uint32_t id)
554 int nfnl_ct_test_id(const struct nfnl_ct *ct)
559 uint32_t nfnl_ct_get_id(const struct nfnl_ct *ct)
564 static int ct_set_addr(struct nfnl_ct *ct, struct nl_addr *addr,
583 int nfnl_ct_set_src(struct nfnl_ct *ct, int repl, struct nl_addr *addr)
590 int nfnl_ct_set_dst(struct nfnl_ct *ct, int repl, struct nl_addr *addr)
597 struct nl_addr *nfnl_ct_get_src(const struct nfnl_ct *ct, int repl)
606 struct nl_addr *nfnl_ct_get_dst(const struct nfnl_ct *ct, int repl)
615 void nfnl_ct_set_src_port(struct nfnl_ct *ct, int repl, uint16_t port)
624 int nfnl_ct_test_src_port(const struct nfnl_ct *ct, int repl)
630 uint16_t nfnl_ct_get_src_port(const struct nfnl_ct *ct, int repl)
637 void nfnl_ct_set_dst_port(struct nfnl_ct *ct, int repl, uint16_t port)
646 int nfnl_ct_test_dst_port(const struct nfnl_ct *ct, int repl)
652 uint16_t nfnl_ct_get_dst_port(const struct nfnl_ct *ct, int repl)
659 void nfnl_ct_set_icmp_id(struct nfnl_ct *ct, int repl, uint16_t id)
668 int nfnl_ct_test_icmp_id(const struct nfnl_ct *ct, int repl)
674 uint16_t nfnl_ct_get_icmp_id(const struct nfnl_ct *ct, int repl)
681 void nfnl_ct_set_icmp_type(struct nfnl_ct *ct, int repl, uint8_t type)
690 int nfnl_ct_test_icmp_type(const struct nfnl_ct *ct, int repl)
696 uint8_t nfnl_ct_get_icmp_type(const struct nfnl_ct *ct, int repl)
703 void nfnl_ct_set_icmp_code(struct nfnl_ct *ct, int repl, uint8_t code)
712 int nfnl_ct_test_icmp_code(const struct nfnl_ct *ct, int repl)
718 uint8_t nfnl_ct_get_icmp_code(const struct nfnl_ct *ct, int repl)
725 void nfnl_ct_set_packets(struct nfnl_ct *ct, int repl, uint64_t packets)
734 int nfnl_ct_test_packets(const struct nfnl_ct *ct, int repl)
740 uint64_t nfnl_ct_get_packets(const struct nfnl_ct *ct, int repl)
747 void nfnl_ct_set_bytes(struct nfnl_ct *ct, int repl, uint64_t bytes)
756 int nfnl_ct_test_bytes(const struct nfnl_ct *ct, int repl)
762 uint64_t nfnl_ct_get_bytes(const struct nfnl_ct *ct, int repl)
773 .oo_size = sizeof(struct nfnl_ct),