#define PW_RADIUS_TLS_PORT 2083
#define PW_COA_UDP_PORT 3799
+/*
+ * The RFC says 4096 octets max, and most packets are less than 256.
+ */
+#define MAX_PACKET_LEN 4096
+
#include <freeradius-devel/rfc2865.h>
#include <freeradius-devel/rfc2866.h>
#include <freeradius-devel/rfc2867.h>
#endif
-/*
- * The RFC says 4096 octets max, and most packets are less than 256.
- */
-#define MAX_PACKET_LEN 4096
-
/*
* The maximum number of attributes which we allow in an incoming
* request. If there are more attributes than this, the request
#ifdef WITH_TCP
-/* FIXME: into common RADIUS header? */
-#define MAX_PACKET_LEN 4096
-
RADIUS_PACKET *fr_tcp_recv(int sockfd, int flags)
{
RADIUS_PACKET *packet = rad_alloc(NULL, false);