syslog-ng source
afinet.c File Reference
#include "afinet.h"
#include "messages.h"
#include "gprocess.h"
#include "transport-mapper-inet.h"
#include <sys/types.h>
#include <sys/socket.h>
#include <arpa/inet.h>
#include <netdb.h>
#include <netinet/in.h>
#include <stdlib.h>
#include <string.h>
Include dependency graph for afinet.c:

Functions

guint16 afinet_lookup_service (const TransportMapper *transport_mapper, const gchar *service)
 
gint afinet_determine_port (const TransportMapper *transport_mapper, const gchar *service_port)
 

Function Documentation

◆ afinet_determine_port()

gint afinet_determine_port ( const TransportMapper *  transport_mapper,
const gchar *  service_port 
)

◆ afinet_lookup_service()

guint16 afinet_lookup_service ( const TransportMapper *  transport_mapper,
const gchar *  service 
)