FreeBSD kernel IPv4 code
accf_data.c File Reference
#include <sys/cdefs.h>
#include <sys/param.h>
#include <sys/kernel.h>
#include <sys/module.h>
#include <sys/sysctl.h>
#include <sys/signalvar.h>
#include <sys/socketvar.h>
Include dependency graph for accf_data.c:

Go to the source code of this file.

Macros

#define ACCEPT_FILTER_MOD
 

Functions

 __FBSDID ("$FreeBSD$")
 
static int sohasdata (struct socket *so, void *arg, int waitflag)
 
 ACCEPT_FILTER_DEFINE (accf_data, "dataready", sohasdata, NULL, NULL, 1)
 

Macro Definition Documentation

◆ ACCEPT_FILTER_MOD

#define ACCEPT_FILTER_MOD

Definition at line 32 of file accf_data.c.

Function Documentation

◆ __FBSDID()

__FBSDID ( "$FreeBSD$"  )

◆ ACCEPT_FILTER_DEFINE()

ACCEPT_FILTER_DEFINE ( accf_data  ,
"dataready"  ,
sohasdata  ,
NULL  ,
NULL  ,
 
)

◆ sohasdata()

static int sohasdata ( struct socket *  so,
void *  arg,
int  waitflag 
)
static

Definition at line 48 of file accf_data.c.