FreeBSD kernel netgraph code
ng_sscop.h File Reference
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Data Structures

struct  ng_sscop_setparam
 
struct  ng_sscop_setparam_resp
 
struct  sscop_arg
 
struct  sscop_marg
 
struct  sscop_merr
 

Macros

#define NG_SSCOP_NODE_TYPE   "sscop"
 
#define NGM_SSCOP_COOKIE   980175044
 
#define NG_SSCOP_PARAM_INFO
 
#define NG_SSCOP_SETPARAM_INFO
 
#define NG_SSCOP_SETPARAM_RESP_INFO
 

Enumerations

enum  {
  NGM_SSCOP_GETPARAM = 1 , NGM_SSCOP_SETPARAM , NGM_SSCOP_ENABLE , NGM_SSCOP_DISABLE ,
  NGM_SSCOP_GETDEBUG , NGM_SSCOP_SETDEBUG , NGM_SSCOP_GETSTATE
}
 

Macro Definition Documentation

◆ NG_SSCOP_NODE_TYPE

#define NG_SSCOP_NODE_TYPE   "sscop"

Definition at line 38 of file ng_sscop.h.

◆ NG_SSCOP_PARAM_INFO

#define NG_SSCOP_PARAM_INFO
Value:
{ \
{ "timer_cc", &ng_parse_uint32_type }, \
{ "timer_poll", &ng_parse_uint32_type }, \
{ "timer_keep_alive", &ng_parse_uint32_type }, \
{ "timer_no_response",&ng_parse_uint32_type }, \
{ "timer_idle", &ng_parse_uint32_type }, \
{ "maxk", &ng_parse_uint32_type }, \
{ "maxj", &ng_parse_uint32_type }, \
{ "maxcc", &ng_parse_uint32_type }, \
{ "maxpd", &ng_parse_uint32_type }, \
{ "maxstat", &ng_parse_uint32_type }, \
{ "mr", &ng_parse_uint32_type }, \
{ "flags", &ng_parse_uint32_type }, \
{ NULL } \
}
const struct ng_parse_type ng_parse_uint32_type
Definition: ng_parse.c:608

Definition at line 53 of file ng_sscop.h.

◆ NG_SSCOP_SETPARAM_INFO

#define NG_SSCOP_SETPARAM_INFO
Value:
{ \
{ "mask", &ng_parse_uint32_type }, \
{ "param", &ng_sscop_param_type }, \
{ NULL } \
}
static const struct ng_parse_type ng_sscop_param_type
Definition: ng_sscfu.c:82

Definition at line 74 of file ng_sscop.h.

◆ NG_SSCOP_SETPARAM_RESP_INFO

#define NG_SSCOP_SETPARAM_RESP_INFO
Value:
{ \
{ "mask", &ng_parse_uint32_type }, \
{ "error", &ng_parse_int32_type }, \
{ NULL } \
}
const struct ng_parse_type ng_parse_int32_type
Definition: ng_parse.c:598

Definition at line 85 of file ng_sscop.h.

◆ NGM_SSCOP_COOKIE

#define NGM_SSCOP_COOKIE   980175044

Definition at line 39 of file ng_sscop.h.

Enumeration Type Documentation

◆ anonymous enum

anonymous enum
Enumerator
NGM_SSCOP_GETPARAM 
NGM_SSCOP_SETPARAM 
NGM_SSCOP_ENABLE 
NGM_SSCOP_DISABLE 
NGM_SSCOP_GETDEBUG 
NGM_SSCOP_SETDEBUG 
NGM_SSCOP_GETSTATE 

Definition at line 42 of file ng_sscop.h.