Project

General

Profile

Bug #679 ยป netgraph-xLEN-compat.patch

nant, 06/05/2007 12:56 AM

View differences:

sys/netgraph/ng_message.h
#define NG_NODESIZ 32 /* max node name len (including null) */
#define NG_PATHSIZ 512 /* max path len (including null) */
#define NG_CMDSTRSIZ 32 /* max command string (including null) */
#ifndef BURN_BRIDGES
/* don't use these - they will go away */
#define NG_TYPELEN (NG_TYPESIZ - 1)
#define NG_HOOKLEN (NG_HOOKSIZ - 1)
#define NG_NODELEN (NG_NODESIZ - 1)
#define NG_PATHLEN (NG_PATHSIZ - 1)
#define NG_CMDSTRLEN (NG_CMDSTRSIZ - 1)
#endif
#define NG_TEXTRESPONSE 1024 /* allow this length for a text response */
/* A netgraph message */
    (1-1/1)