rc = _fwp_vres_send(vres->ac_sockd, msgb);
if (!(rc < 0)) {
FWP_DEBUG("Message sent through AC%d\n",ac_id);
- /* Switch to this in the future
- * curr_budget+= msgb->len;
- */
- curr_budget++;
+ /* Switch to this in the future */
+ //curr_budget+= msgb->len;
+ curr_budget++;
}
fwp_msgb_free(msgb);
vparam1.ac_id = FWP_AC_VO;
vparam1.budget = 3;
- vparam1.period.tv_sec = 2;
+ vparam1.period.tv_sec = 5;
vparam1.period.tv_nsec = 0;
printf("Create vres1\n");
count = 0;
while (count < NUM){
count++;
- sprintf(msg1,"msg%d",count);
+ sprintf(msg1,"msg%d sent\n",count);
fwp_send(sepoint_d1, msg1, sizeof(msg1), 0);
- printf("sent\n");
+ printf(msg1);
/*clock_gettime(CLOCK_MONOTONIC, &sendtime);
FWP_DEBUG("Sent %d: sec = %ld nsec = %ld \n", count,
sendtime.tv_sec, sendtime.tv_nsec);