FreeBSD kernel IPv4 code
netdump.h File Reference
#include <sys/types.h>
#include <sys/disk.h>
#include <sys/ioccom.h>
#include <net/if.h>
#include <netinet/in.h>
Include dependency graph for netdump.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Data Structures

struct  netdump_conf_freebsd12
 

Macros

#define NETDUMP_PORT   20023 /* Server UDP port for heralds. */
 
#define NETDUMP_ACKPORT   20024 /* Client UDP port for acks. */
 
#define NETDUMP_HERALD   DEBUGNET_HERALD
 
#define NETDUMP_FINISHED   DEBUGNET_FINISHED
 
#define NETDUMP_VMCORE   DEBUGNET_DATA
 
#define NETDUMP_KDH   4 /* Contains kernel dump header. */
 
#define NETDUMP_EKCD_KEY   5 /* Contains kernel dump key. */
 
#define NETDUMP_DATASIZE   4096 /* Arbitrary packet size limit. */
 
#define NETDUMPGCONF_FREEBSD12   _IOR('n', 1, struct netdump_conf_freebsd12)
 
#define NETDUMPSCONF_FREEBSD12   _IOW('n', 2, struct netdump_conf_freebsd12)
 
#define _PATH_NETDUMP   "/dev/netdump"
 

Macro Definition Documentation

◆ _PATH_NETDUMP

#define _PATH_NETDUMP   "/dev/netdump"

Definition at line 71 of file netdump.h.

◆ NETDUMP_ACKPORT

#define NETDUMP_ACKPORT   20024 /* Client UDP port for acks. */

Definition at line 42 of file netdump.h.

◆ NETDUMP_DATASIZE

#define NETDUMP_DATASIZE   4096 /* Arbitrary packet size limit. */

Definition at line 50 of file netdump.h.

◆ NETDUMP_EKCD_KEY

#define NETDUMP_EKCD_KEY   5 /* Contains kernel dump key. */

Definition at line 48 of file netdump.h.

◆ NETDUMP_FINISHED

#define NETDUMP_FINISHED   DEBUGNET_FINISHED

Definition at line 45 of file netdump.h.

◆ NETDUMP_HERALD

#define NETDUMP_HERALD   DEBUGNET_HERALD

Definition at line 44 of file netdump.h.

◆ NETDUMP_KDH

#define NETDUMP_KDH   4 /* Contains kernel dump header. */

Definition at line 47 of file netdump.h.

◆ NETDUMP_PORT

#define NETDUMP_PORT   20023 /* Server UDP port for heralds. */

Definition at line 41 of file netdump.h.

◆ NETDUMP_VMCORE

#define NETDUMP_VMCORE   DEBUGNET_DATA

Definition at line 46 of file netdump.h.

◆ NETDUMPGCONF_FREEBSD12

#define NETDUMPGCONF_FREEBSD12   _IOR('n', 1, struct netdump_conf_freebsd12)

Definition at line 68 of file netdump.h.

◆ NETDUMPSCONF_FREEBSD12

#define NETDUMPSCONF_FREEBSD12   _IOW('n', 2, struct netdump_conf_freebsd12)

Definition at line 69 of file netdump.h.