Searched refs:ipq_handle (Results 1 – 2 of 2) sorted by relevance
/third_party/iptables/include/libipq/ |
D | libipq.h | 48 struct ipq_handle struct 56 struct ipq_handle *ipq_create_handle(u_int32_t flags, u_int32_t protocol); argument 58 int ipq_destroy_handle(struct ipq_handle *h); 60 ssize_t ipq_read(const struct ipq_handle *h, 63 int ipq_set_mode(const struct ipq_handle *h, u_int8_t mode, size_t len); 71 int ipq_set_verdict(const struct ipq_handle *h, 77 int ipq_ctl(const struct ipq_handle *h, int request, ...);
|
/third_party/iptables/libipq/ |
D | libipq.c | 90 static ssize_t ipq_netlink_sendto(const struct ipq_handle *h, 93 static ssize_t ipq_netlink_recvfrom(const struct ipq_handle *h, 97 static ssize_t ipq_netlink_sendmsg(const struct ipq_handle *h, 103 static ssize_t ipq_netlink_sendto(const struct ipq_handle *h, in ipq_netlink_sendto() 113 static ssize_t ipq_netlink_sendmsg(const struct ipq_handle *h, in ipq_netlink_sendmsg() 123 static ssize_t ipq_netlink_recvfrom(const struct ipq_handle *h, in ipq_netlink_recvfrom() 209 struct ipq_handle *ipq_create_handle(uint32_t flags, uint32_t protocol) in ipq_create_handle() 212 struct ipq_handle *h; in ipq_create_handle() 214 h = (struct ipq_handle *)malloc(sizeof(struct ipq_handle)); in ipq_create_handle() 220 memset(h, 0, sizeof(struct ipq_handle)); in ipq_create_handle() [all …]
|