fr_stats_t stats; //!< statistics for this socket
- uint64_t count[FR_MAX_PACKET_CODE]; //!< count of packets sent
-
uint32_t priorities[FR_MAX_PACKET_CODE]; //!< priorities for individual packets
} proto_radius_udp_t;
address.code = buffer[0];
address.id = buffer[1];
- /*
- * Count how many of this packet we received.
- */
- inst->count[buffer[0]]++;
-
tracking_status = fr_radius_tracking_entry_insert(&track, inst->ft, buffer, fr_time(), &address);
switch (tracking_status) {
case FR_TRACKING_ERROR:
* sometimes we want to NOT send a reply...
*/
if (buffer_len >= 20) {
- rad_assert(buffer[0] < FR_MAX_PACKET_CODE);
- inst->count[buffer[0]]++;
-
data_size = udp_send(inst->sockfd, buffer, buffer_len, 0,
&address->dst_ipaddr, address->dst_port,
address->if_index,