netgraph-xLEN-compat.patch
| b/sys/netgraph/ng_message.h | ||
|---|---|---|
| 54 | 54 |
#define NG_NODESIZ 32 /* max node name len (including null) */ |
| 55 | 55 |
#define NG_PATHSIZ 512 /* max path len (including null) */ |
| 56 | 56 |
#define NG_CMDSTRSIZ 32 /* max command string (including null) */ |
| 57 | ||
| 58 |
#ifndef BURN_BRIDGES |
|
| 59 |
/* don't use these - they will go away */ |
|
| 60 |
#define NG_TYPELEN (NG_TYPESIZ - 1) |
|
| 61 |
#define NG_HOOKLEN (NG_HOOKSIZ - 1) |
|
| 62 |
#define NG_NODELEN (NG_NODESIZ - 1) |
|
| 63 |
#define NG_PATHLEN (NG_PATHSIZ - 1) |
|
| 64 |
#define NG_CMDSTRLEN (NG_CMDSTRSIZ - 1) |
|
| 65 |
#endif |
|
| 66 | ||
| 57 | 67 |
#define NG_TEXTRESPONSE 1024 /* allow this length for a text response */ |
| 58 | 68 | |
| 59 | 69 |
/* A netgraph message */ |