pidentd  3.0.19
About: implementation of the RFC1413 identification server (more or less complete rewrite compared to version 2)
  Fossies Dox: pidentd-3.0.19.tar.gz  ("inofficial" and yet experimental doxygen-generated source code documentation)  

kernel.h File Reference
#include <sys/types.h>
#include <sys/socket.h>
#include <netinet/in.h>
Include dependency graph for kernel.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Data Structures

struct  kernel
 

Macros

#define SYS_SOCKET_H_INCLUDED
 

Functions

struct kernelkernel_alloc (void)
 
void kernel_free (struct kernel *kp)
 
int kernel_init (void)
 
void kernel_query (struct kernel *kp)
 
int ka_init (void)
 
int ka_open (void **misc)
 
int ka_lookup (void *misc, struct kernel *kp)
 

Variables

int kernel_threads
 
int kernel_buffers
 
int kernel_attempts
 

Macro Definition Documentation

◆ SYS_SOCKET_H_INCLUDED

#define SYS_SOCKET_H_INCLUDED

Definition at line 20 of file kernel.h.

Function Documentation

◆ ka_init()

int ka_init ( void  )

Definition at line 80 of file k_aix42.c.

References kernel_threads, osinfo_build, and osinfo_get().

◆ ka_lookup()

◆ ka_open()

int ka_open ( void **  misc)

◆ kernel_alloc()

struct kernel* kernel_alloc ( void  )

◆ kernel_free()

void kernel_free ( struct kernel kp)

Definition at line 70 of file kernel.c.

References kernel::argv, buffer_put(), kernel::cmd, kbuf_free, and s_free().

Referenced by handle_request().

◆ kernel_init()

int kernel_init ( void  )

◆ kernel_query()

void kernel_query ( struct kernel kp)

Definition at line 189 of file kernel.c.

References kernel::av, avail_wait(), buffer_put(), ka_data, kbuf_request, and kernel_thread().

Referenced by handle_request().

Variable Documentation

◆ kernel_attempts

int kernel_attempts

Definition at line 36 of file kernel.c.

Referenced by conf_parse(), and kernel_thread().

◆ kernel_buffers

int kernel_buffers

Definition at line 35 of file kernel.c.

Referenced by conf_parse(), and kernel_init().

◆ kernel_threads

int kernel_threads

Definition at line 34 of file kernel.c.

Referenced by conf_parse(), ka_init(), kernel_init(), and main().