Revision 612e856d ml/util/udpSocket.c

View differences:

ml/util/udpSocket.c
19 19
 * AND FITNESS FOR A PARTICULAR PURPOSE AND THE WARRANTY AGAINST LATENT
20 20
 * DEFECTS, WITH RESPECT TO THE PROGRAM AND THE ACCOMPANYING
21 21
 * DOCUMENTATION.
22
 /*
22
 *
23 23
 * No Liability For Consequential Damages IN NO EVENT SHALL NEC Europe
24 24
 * Ltd., NEC Corporation OR ANY OF ITS SUBSIDIARIES BE LIABLE FOR ANY
25 25
 * DAMAGES WHATSOEVER (INCLUDING, WITHOUT LIMITATION, DAMAGES FOR LOSS
......
74 74
#define LOG_MODULE "[ml] "
75 75
#include "ml_log.h"
76 76

  
77
#include "rateLimiter.h"
78
#include "queueManagement.h"
79

  
77 80
/* debug varible: set to 1 if you want debug output  */
78 81
int verbose = 0;
79 82

  
......
191 194
{
192 195
	int error, ret;
193 196
	struct msghdr msgh;
194
        
195
        if(outputRateControl(len) != OK) return THROTTLE;
196 197

  
197 198
	msgh.msg_name = socketaddr;
198 199
	msgh.msg_namelen = sizeof(struct sockaddr_in);

Also available in: Unified diff