syslog-ng source
socket-options-inet.c File Reference
#include "socket-options-inet.h"
#include "gsockaddr.h"
#include "messages.h"
#include "gprocess.h"
#include <string.h>
#include <netinet/tcp.h>
Include dependency graph for socket-options-inet.c:

Macros

#define SOL_IP   IPPROTO_IP
 
#define SOL_IPV6   IPPROTO_IPV6
 
#define SOL_TCP   IPPROTO_TCP
 

Functions

gboolean socket_options_inet_set_tcp_keepalive_time (SocketOptionsInet *self, gint tcp_keepalive_time)
 
gboolean socket_options_inet_set_tcp_keepalive_intvl (SocketOptionsInet *self, gint tcp_keepalive_intvl)
 
gboolean socket_options_inet_set_tcp_keepalive_probes (SocketOptionsInet *self, gint tcp_keepalive_probes)
 
void socket_options_inet_set_interface_name (SocketOptionsInet *self, const gchar *interface_name)
 
void socket_options_inet_free (gpointer s)
 
SocketOptionsInetsocket_options_inet_new_instance (void)
 
SocketOptions * socket_options_inet_new (void)
 

Macro Definition Documentation

◆ SOL_IP

#define SOL_IP   IPPROTO_IP

◆ SOL_IPV6

#define SOL_IPV6   IPPROTO_IPV6

◆ SOL_TCP

#define SOL_TCP   IPPROTO_TCP

Function Documentation

◆ socket_options_inet_free()

void socket_options_inet_free ( gpointer  s)

◆ socket_options_inet_new()

SocketOptions* socket_options_inet_new ( void  )

◆ socket_options_inet_new_instance()

SocketOptionsInet* socket_options_inet_new_instance ( void  )

◆ socket_options_inet_set_interface_name()

void socket_options_inet_set_interface_name ( SocketOptionsInet self,
const gchar *  interface_name 
)

◆ socket_options_inet_set_tcp_keepalive_intvl()

gboolean socket_options_inet_set_tcp_keepalive_intvl ( SocketOptionsInet self,
gint  tcp_keepalive_intvl 
)

◆ socket_options_inet_set_tcp_keepalive_probes()

gboolean socket_options_inet_set_tcp_keepalive_probes ( SocketOptionsInet self,
gint  tcp_keepalive_probes 
)

◆ socket_options_inet_set_tcp_keepalive_time()

gboolean socket_options_inet_set_tcp_keepalive_time ( SocketOptionsInet self,
gint  tcp_keepalive_time 
)