"Protocol-Error",
};
+bool const fr_request_packets[FR_CODE_MAX] = {
+ [FR_CODE_ACCESS_REQUEST] = true,
+ [FR_CODE_ACCOUNTING_REQUEST] = true,
+ [FR_CODE_STATUS_SERVER] = true,
+ [FR_CODE_COA_REQUEST] = true,
+ [FR_CODE_DISCONNECT_REQUEST] = true,
+};
+
/*
* For request packets which have the Request Authenticator being
* all zeros. We need to decode attributes using a Request
#define FR_TUNNEL_FR_ENC_LENGTH(_x) (2 + 1 + _x + PAD(_x + 1, 16))
extern size_t const fr_radius_attr_sizes[FR_TYPE_MAX + 1][2];
extern FR_NAME_NUMBER const fr_request_types[];
+extern bool const fr_request_packets[FR_CODE_MAX];
typedef enum {
DECODE_FAIL_NONE = 0,