OpenDNSSEC-signer  1.4.9
Data Structures | Typedefs | Functions
sock.h File Reference
#include "config.h"
#include "shared/allocator.h"
#include "shared/status.h"
#include "wire/listener.h"
#include "wire/netio.h"
#include "wire/query.h"
Include dependency graph for sock.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Data Structures

struct  sock_struct
 
struct  socklist_struct
 
struct  udp_data
 
struct  tcp_accept_data
 
struct  tcp_data
 

Typedefs

typedef struct sock_struct sock_type
 
typedef struct socklist_struct socklist_type
 

Functions

ods_status sock_listen (socklist_type *sockets, listener_type *listener)
 
void sock_handle_udp (netio_type *netio, netio_handler_type *handler, netio_events_type event_types)
 
void sock_handle_tcp_accept (netio_type *netio, netio_handler_type *handler, netio_events_type event_types)
 
void sock_handle_tcp_read (netio_type *netio, netio_handler_type *handler, netio_events_type event_types)
 
void sock_handle_tcp_write (netio_type *netio, netio_handler_type *handler, netio_events_type event_types)
 

Typedef Documentation

typedef struct sock_struct sock_type

Sockets. Socket.

Definition at line 46 of file sock.h.

List of sockets.

Definition at line 56 of file sock.h.

Function Documentation

void sock_handle_tcp_accept ( netio_type netio,
netio_handler_type handler,
netio_events_type  event_types 
)
void sock_handle_tcp_read ( netio_type netio,
netio_handler_type handler,
netio_events_type  event_types 
)
void sock_handle_tcp_write ( netio_type netio,
netio_handler_type handler,
netio_events_type  event_types 
)
void sock_handle_udp ( netio_type netio,
netio_handler_type handler,
netio_events_type  event_types 
)

Handle incoming udp queries.

Parameters
[in]netionetwork I/O event handler
[in]handlerevent handler
[in]event_typesthe types of events that should be checked for
ods_status sock_listen ( socklist_type sockets,
listener_type listener 
)