@@ -303,6 +303,31 @@ void npfctl_build_table(const char *, u_int, const char *);
303303
304304void npfctl_setparam (const char * , int );
305305
306+ /* ALTQ related */
307+ int npfctl_test_altqsupport (int );
308+ extern int npfctl_open_dev (const char * );
309+ int npfctl_eval_bw (struct node_queue_bw * , char * );
310+ int expand_altq (struct npf_altq * , const char * , struct node_queue * ,
311+ struct node_queue_bw bwspec , struct node_queue_opt * );
312+ int expand_queue (struct npf_altq * , const char * , struct node_queue * ,
313+ struct node_queue_bw , struct node_queue_opt * );
314+ u_long get_ifmtu (char * );
315+ uint32_t get_ifspeed (char * );
316+ uint32_t npf_eval_bwspec (struct node_queue_bw * , uint32_t );
317+ void npfaltq_store (struct npf_altq * );
318+ int npfctl_add_altq (struct npf_altq * );
319+ int npf_eval_queue_opts (struct npf_altq * , struct node_queue_opt * ,
320+ uint32_t );
321+ int eval_npfaltq (struct npf_altq * , struct node_queue_bw * ,
322+ struct node_queue_opt * );
323+ int eval_npfqueue (struct npf_altq * , struct node_queue_bw * ,
324+ struct node_queue_opt * );
325+ struct npf_altq * qname_to_npfaltq (const char * , const char * );
326+ uint32_t qname_to_qid (const char * );
327+ struct npf_altq * npfaltq_lookup (const char * ifname );
328+ char * rate2str (double );
329+ int check_commit_altq (void );
330+
306331/*
307332 * For the systems which do not define TH_ECE and TW_CRW.
308333 */
0 commit comments