pthread_mutex_unlock( &pr->mutex );
ul_logmsg("Mutex: unlocked - admctrl util\n");
}
+ ul_logmsg("Rate %d\n", rate);
frsh_network_budget_to_bytes(FRSH_NETPF_FWP,&basic->budget,&bytes);
ul_logmsg("processing: id=%s, period=%ld ms, budget=%lu bytes\n",
id,
period_usec = basic ? fosa_rel_time_to_msec(basic->period)*1000 : 0;
/* Calculate protocol overhead */
fragments = (bytes + MTU - 1) / MTU;
-
+
if (fragments == 0 && period_usec != 0)
continue;
-
+
const int data_overhead = UDP_HEADER_SIZE + IP_HEADER_SIZE +
LLC_HEADER_SIZE + MAC_FCS_SIZE;