24 #ifndef AFINET_DEST_H_INCLUDED
25 #define AFINET_DEST_H_INCLUDED
32 #if SYSLOG_NG_ENABLE_SPOOF_SOURCE
37 struct libnet_context;
42 typedef struct _AFInetDestDriver
45 #if SYSLOG_NG_ENABLE_SPOOF_SOURCE
46 gboolean spoof_source;
47 struct libnet_context *lnet_ctx;
50 guint spoof_source_max_msglen;
void afinet_dd_enable_failback(LogDriver *s)
Definition: afinet-dest.c:278
void afinet_dd_set_spoof_source_max_msglen(LogDriver *s, guint max_msglen)
Definition: afinet-dest.c:117
AFInetDestDriver * afinet_dd_new_udp6(gchar *host, GlobalConfig *cfg)
Definition: afinet-dest.c:812
gint afinet_dd_determine_port(const TransportMapper *transport_mapper, const gchar *service_port)
void afinet_dd_set_sync_freq(LogDriver *self, gint sync_freq)
void afinet_dd_set_localip(LogDriver *self, gchar *ip)
Definition: afinet-dest.c:75
void afinet_dd_set_destport(LogDriver *self, gchar *service)
Definition: afinet-dest.c:95
void afinet_dd_add_failovers(LogDriver *s, GList *failovers)
Definition: afinet-dest.c:259
void afinet_dd_set_failback_successful_probes_required(LogDriver *s, gint successful_probes_required)
Definition: afinet-dest.c:293
AFInetDestDriver * afinet_dd_new_tcp(gchar *host, GlobalConfig *cfg)
Definition: afinet-dest.c:794
void afinet_dd_set_localport(LogDriver *self, gchar *service)
Definition: afinet-dest.c:85
void afinet_dd_set_spoof_source(LogDriver *self, gboolean enable)
Definition: afinet-dest.c:105
AFInetDestDriver * afinet_dd_new_udp(gchar *host, GlobalConfig *cfg)
Definition: afinet-dest.c:806
AFInetDestDriver * afinet_dd_new_network(gchar *host, GlobalConfig *cfg)
Definition: afinet-dest.c:837
void afinet_dd_set_tls_context(LogDriver *s, TLSContext *tls_context)
Definition: afinet-dest.c:224
void afinet_dd_enable_failover(LogDriver *s)
Definition: afinet-dest.c:250
void afinet_dd_set_failback_tcp_probe_interval(LogDriver *s, gint tcp_probe_interval)
Definition: afinet-dest.c:286
AFInetDestDriver * afinet_dd_new_tcp6(gchar *host, GlobalConfig *cfg)
Definition: afinet-dest.c:800
const gchar * afinet_dd_get_hostname(const AFInetDestDriver *self)
AFInetDestDriver * afinet_dd_new_syslog(gchar *host, GlobalConfig *cfg)
Definition: afinet-dest.c:828
Definition: afinet-dest.h:43
gchar * bind_port
Definition: afinet-dest.h:56
gchar * dest_port
Definition: afinet-dest.h:59
AFInetDestDriverFailover * failover
Definition: afinet-dest.h:53
gchar * primary
Definition: afinet-dest.h:52
AFSocketDestDriver super
Definition: afinet-dest.h:44
gchar * bind_ip
Definition: afinet-dest.h:57
GlobalConfig * cfg
Definition: test_batched_ack_tracker.c:34
TransportMapper * transport_mapper
Definition: transport-mapper-lib.c:25