From: drakenclimber Date: Mon, 11 Jul 2022 17:17:57 +0000 (+0000) Subject: deploy: ed37969ca863784068ca9f0c056b60e02c3fb927 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=97fc48478ee906338870f17f88a647c77bfe7ee2;p=thirdparty%2Flibcgroup.git deploy: ed37969ca863784068ca9f0c056b60e02c3fb927 --- diff --git a/cgrulesengd_8h_source.html b/cgrulesengd_8h_source.html index f2d48c1f..27d9566a 100644 --- a/cgrulesengd_8h_source.html +++ b/cgrulesengd_8h_source.html @@ -94,30 +94,28 @@ $(function() {
29#endif
30
31/* The following ten macros are all for the Netlink code. */
-
32#define SEND_MESSAGE_LEN (NLMSG_LENGTH(sizeof(struct cn_msg) + \
-
33 sizeof(enum proc_cn_mcast_op)))
-
34#define RECV_MESSAGE_LEN (NLMSG_LENGTH(sizeof(struct cn_msg) + \
-
35 sizeof(struct proc_event)))
-
36
-
37#define SEND_MESSAGE_SIZE (NLMSG_SPACE(SEND_MESSAGE_LEN))
-
38#define RECV_MESSAGE_SIZE (NLMSG_SPACE(RECV_MESSAGE_LEN))
-
39
-
40#define BUFF_SIZE (max(max(SEND_MESSAGE_SIZE, RECV_MESSAGE_SIZE), 1024))
-
41#define MIN_RECV_SIZE (min(SEND_MESSAGE_SIZE, RECV_MESSAGE_SIZE))
-
42
-
43#define PROC_CN_MCAST_LISTEN (1)
-
44#define PROC_CN_MCAST_IGNORE (2)
-
45
-
53void cgre_usage(FILE *fd, const char *msg, ...);
-
54
-
63void flog(int level, const char *msg, ...);
-
64
-
73int cgre_process_event(const struct proc_event *ev, const int type);
-
74
-
82int cgre_handle_message(struct cn_msg *cn_hdr);
-
83
-
94int cgre_start_daemon(const char *logp, const int logf,
-
95 const unsigned char daemon, const int logv);
+
32#define SEND_MESSAGE_LEN (NLMSG_LENGTH(sizeof(struct cn_msg) + sizeof(enum proc_cn_mcast_op)))
+
33#define RECV_MESSAGE_LEN (NLMSG_LENGTH(sizeof(struct cn_msg) + sizeof(struct proc_event)))
+
34
+
35#define SEND_MESSAGE_SIZE (NLMSG_SPACE(SEND_MESSAGE_LEN))
+
36#define RECV_MESSAGE_SIZE (NLMSG_SPACE(RECV_MESSAGE_LEN))
+
37
+
38#define BUFF_SIZE (max(max(SEND_MESSAGE_SIZE, RECV_MESSAGE_SIZE), 1024))
+
39#define MIN_RECV_SIZE (min(SEND_MESSAGE_SIZE, RECV_MESSAGE_SIZE))
+
40
+
41#define PROC_CN_MCAST_LISTEN (1)
+
42#define PROC_CN_MCAST_IGNORE (2)
+
43
+
51void cgre_usage(FILE *fd, const char *msg, ...);
+
52
+
61void flog(int level, const char *msg, ...);
+
62
+
71int cgre_process_event(const struct proc_event *ev, const int type);
+
72
+
81int cgre_handle_message(struct cn_msg *cn_hdr);
+
82
+
94int cgre_start_daemon(const char *logp, const int logf, const unsigned char daemon,
+
95 const int logv);
96
102void cgre_flash_rules(int signum);
103
@@ -130,7 +128,6 @@ $(function() {
120#endif
121
122#endif /* _CGRULESENGD_H */
-
123