q_hfsc.c revision b7cad0a1ecdec1f813272f84bbb6ab49b9dfd47e
1/* 2 * q_hfsc.c HFSC. 3 * 4 * This program is free software; you can redistribute it and/or 5 * modify it under the terms of the GNU General Public License 6 * as published by the Free Software Foundation; either version 7 * 2 of the License, or (at your option) any later version. 8 * 9 * Authors: Alexey Kuznetsov, <kuznet@ms2.inr.ac.ru> 10 * 11 */ 12 13#include <stdio.h> 14#include <stdlib.h> 15#include <unistd.h> 16#include <syslog.h> 17#include <fcntl.h> 18#include <sys/socket.h> 19#include <netinet/in.h> 20#include <arpa/inet.h> 21#include <string.h> 22 23#include "utils.h" 24#include "tc_util.h" 25 26#define usage() return(-1) 27 28static int hfsc_parse_opt(struct qdisc_util *qu, int argc, char **argv, struct nlmsghdr *n) 29{ 30 return -1; 31} 32 33static int hfsc_print_opt(struct qdisc_util *qu, FILE *f, struct rtattr *opt) 34{ 35 return -1; 36} 37 38static int hfsc_print_xstats(struct qdisc_util *qu, FILE *f, struct rtattr *xstats) 39{ 40 return -1; 41} 42 43struct qdisc_util hfsc_util = { 44 NULL, 45 "hfsc", 46 hfsc_parse_opt, 47 hfsc_print_opt, 48 hfsc_print_xstats, 49}; 50 51