]> git.ipfire.org Git - thirdparty/freeradius-server.git/commitdiff
add priority to request messages
authorAlan T. DeKok <aland@freeradius.org>
Tue, 15 Nov 2016 20:20:17 +0000 (15:20 -0500)
committerAlan T. DeKok <aland@freeradius.org>
Tue, 15 Nov 2016 20:20:17 +0000 (15:20 -0500)
so that the worker knows how to prioritize them

src/util/channel.h

index 1f2264a718e95498fa4225ee12a344e3644292c3..f959cb3a2f4f254ec761ea5dd468907bca73a034 100644 (file)
@@ -78,6 +78,7 @@ typedef struct fr_channel_data_t {
        union {
                struct {
                        uint64_t                *start_time;    //!< time original request started (network -> worker)
+                       uint32_t                priority;       //!< priority of this packet.  0=high, 65535=low.
                } request;
 
                struct {