/src/usr.sbin/altq/libaltq/ |
qop_fifoq.c | 53 static int fifoq_attach(struct ifinfo *); 54 static int fifoq_detach(struct ifinfo *); 55 static int fifoq_enable(struct ifinfo *); 56 static int fifoq_disable(struct ifinfo *); 142 qop_fifoq_add_if(struct ifinfo **rp, const char *ifname, 145 struct ifinfo *ifinfo = NULL; local in function:qop_fifoq_add_if 153 error = qop_add_if(&ifinfo, ifname, bandwidth, 161 *rp = ifinfo; 169 fifoq_attach(struct ifinfo *ifinfo [all...] |
qop_blue.c | 53 static int blue_attach(struct ifinfo *); 54 static int blue_detach(struct ifinfo *); 55 static int blue_enable(struct ifinfo *); 56 static int blue_disable(struct ifinfo *); 166 qop_blue_add_if(struct ifinfo **rp, const char *ifname, u_int bandwidth, 170 struct ifinfo *ifinfo = NULL; local in function:qop_blue_add_if 182 error = qop_add_if(&ifinfo, ifname, bandwidth, 190 *rp = ifinfo; 198 blue_attach(struct ifinfo *ifinfo [all...] |
qop_wfq.c | 53 static int wfq_attach(struct ifinfo *); 54 static int wfq_detach(struct ifinfo *); 55 static int wfq_enable(struct ifinfo *); 56 static int wfq_disable(struct ifinfo *); 173 qop_wfq_add_if(struct ifinfo **rp, const char *ifname, u_int bandwidth, 176 struct ifinfo *ifinfo = NULL; local in function:qop_wfq_add_if 186 error = qop_add_if(&ifinfo, ifname, bandwidth, 194 *rp = ifinfo; 202 wfq_attach(struct ifinfo *ifinfo [all...] |
qop_priq.c | 53 static int qop_priq_enable_hook(struct ifinfo *); 55 static int priq_attach(struct ifinfo *); 56 static int priq_detach(struct ifinfo *); 57 static int priq_clear(struct ifinfo *); 58 static int priq_enable(struct ifinfo *); 59 static int priq_disable(struct ifinfo *); 195 struct ifinfo *ifinfo; local in function:qcmd_priq_add_class 198 if ((ifinfo = ifname2ifinfo(ifname)) == NULL) 202 error = qop_priq_add_class(NULL, class_name, ifinfo, 215 struct ifinfo *ifinfo; local in function:qcmd_priq_modify_class 234 struct ifinfo *ifinfo = NULL; local in function:qop_priq_add_if [all...] |
qop_red.c | 53 static int red_attach(struct ifinfo *); 54 static int red_detach(struct ifinfo *); 55 static int red_enable(struct ifinfo *); 56 static int red_disable(struct ifinfo *); 193 qop_red_add_if(struct ifinfo **rp, const char *ifname, 197 struct ifinfo *ifinfo = NULL; local in function:qop_red_add_if 211 error = qop_add_if(&ifinfo, ifname, bandwidth, 219 *rp = ifinfo; 227 red_attach(struct ifinfo *ifinfo [all...] |
qop_rio.c | 54 static int rio_attach(struct ifinfo *); 55 static int rio_detach(struct ifinfo *); 56 static int rio_enable(struct ifinfo *); 57 static int rio_disable(struct ifinfo *); 238 qop_rio_add_if(struct ifinfo **rp, const char *ifname, 242 struct ifinfo *ifinfo = NULL; local in function:qop_rio_add_if 255 error = qop_add_if(&ifinfo, ifname, bandwidth, 263 *rp = ifinfo; 271 rio_attach(struct ifinfo *ifinfo [all...] |
qop_cdnr.c | 58 static struct ifinfo *cdnr_ifname2ifinfo(const char *); 59 static int cdnr_attach(struct ifinfo *); 60 static int cdnr_detach(struct ifinfo *); 61 static int cdnr_enable(struct ifinfo *); 62 static int cdnr_disable(struct ifinfo *); 93 struct ifinfo *ifinfo; local in function:cdnr_name2handle 96 if ((ifinfo = cdnr_ifname2ifinfo(ifname)) == NULL) 99 if ((clinfo = clname2clinfo(ifinfo, cdnr_name)) == NULL) 105 static struct ifinfo * 108 struct ifinfo *ifinfo; local in function:cdnr_ifname2ifinfo 140 struct ifinfo *ifinfo; local in function:qcmd_cdnr_add_element 168 struct ifinfo *ifinfo; local in function:qcmd_cdnr_add_tbmeter 200 struct ifinfo *ifinfo; local in function:qcmd_cdnr_add_trtcm 234 struct ifinfo *ifinfo; local in function:qcmd_cdnr_add_tswtcm 266 struct ifinfo *ifinfo; local in function:qcmd_cdnr_delete [all...] |
qop_jobs.c | 107 static int qop_jobs_enable_hook(struct ifinfo *); 111 static int jobs_attach(struct ifinfo *); 112 static int jobs_detach(struct ifinfo *); 113 static int jobs_clear(struct ifinfo *); 114 static int jobs_enable(struct ifinfo *); 115 static int jobs_disable(struct ifinfo *); 303 struct ifinfo *ifinfo; local in function:qcmd_jobs_add_class 307 if ((ifinfo = ifname2ifinfo(ifname)) == NULL) 310 error = qop_jobs_add_class(NULL, class_name, ifinfo, 350 struct ifinfo *ifinfo; local in function:qcmd_jobs_modify_class 369 struct ifinfo *ifinfo = NULL; local in function:qop_jobs_add_if [all...] |
quip_server.c | 52 extern LIST_HEAD(qop_iflist, ifinfo) qop_iflist; 187 snprintf(b0, CLASSNAMEMAX, "%s:", clinfo->ifinfo->ifname); 211 struct ifinfo *ifinfo; local in function:query_handle2name 226 if ((ifinfo = ifname2ifinfo(ifname)) == NULL) 228 if ((fltrinfo = flhandle2fltrinfo(ifinfo, handle)) == NULL) 235 if ((ifinfo = ifname2ifinfo(ifname)) == NULL) 237 if ((clinfo = clhandle2clinfo(ifinfo, handle)) == NULL) 249 struct ifinfo *ifinfo; local in function:query_qdisc 263 struct ifinfo *ifinfo; local in function:query_filterspec 436 struct ifinfo *ifinfo; local in function:query_list [all...] |
altq_qop.h | 36 struct ifinfo; 54 int (*attach)(struct ifinfo *); 55 int (*detach)(struct ifinfo *); 56 int (*clear)(struct ifinfo *); 57 int (*enable)(struct ifinfo *); 58 int (*disable)(struct ifinfo *); 73 struct ifinfo { struct 74 LIST_ENTRY(ifinfo) next; /* next entry on iflist */ 88 int (*enable_hook)(struct ifinfo *); 89 int (*delete_hook)(struct ifinfo *); 100 struct ifinfo *ifinfo; \/* back pointer to ifinfo *\/ member in struct:classinfo [all...] |
qop_hfsc.c | 55 static int qop_hfsc_enable_hook(struct ifinfo *); 69 static int hfsc_attach(struct ifinfo *); 70 static int hfsc_detach(struct ifinfo *); 71 static int hfsc_clear(struct ifinfo *); 72 static int hfsc_enable(struct ifinfo *); 73 static int hfsc_disable(struct ifinfo *); 177 struct ifinfo *ifinfo; local in function:hfsc_class_parser 181 if ((ifinfo = ifname2ifinfo(ifname)) != NULL) { 182 fm2 = ifinfo->bandwidth / 100 * pshare 277 struct ifinfo *ifinfo = ifname2ifinfo(ifname); local in function:hfsc_class_parser 361 struct ifinfo *ifinfo; local in function:qcmd_hfsc_add_class 391 struct ifinfo *ifinfo; local in function:qcmd_hfsc_modify_class 415 struct ifinfo *ifinfo = NULL; local in function:qop_hfsc_add_if [all...] |
parser.c | 233 struct ifinfo *ifinfo; local in function:qdisc_class_parser 242 if ((ifinfo = ifname2ifinfo(ifname)) == NULL) { 246 if (strncmp(ifinfo->qdisc->qname, qname, 247 strlen(ifinfo->qdisc->qname)) != 0) {
|
qop.c | 82 LIST_HEAD(qop_iflist, ifinfo) qop_iflist = LIST_HEAD_INITIALIZER(&iflist); 92 static int add_filter_rule(struct ifinfo *, struct fltrinfo *, 94 static int remove_filter_rule(struct ifinfo *, 122 struct ifinfo *ifinfo; local in function:qcmd_enable 125 if ((ifinfo = ifname2ifinfo(ifname)) == NULL) 129 error = qop_enable(ifinfo); 133 ifinfo->qdisc->qname, ifname, ifinfo->ifmtu); 142 struct ifinfo *ifinfo local in function:qcmd_disable 159 struct ifinfo *ifinfo; local in function:qcmd_enableall 174 struct ifinfo *ifinfo; local in function:qcmd_disableall 187 struct ifinfo *ifinfo; local in function:qcmd_clear 218 struct ifinfo *ifinfo; local in function:qcmd_delete_class 241 struct ifinfo *ifinfo; local in function:qcmd_add_filter 277 struct ifinfo *ifinfo; local in function:qcmd_delete_filter 332 struct ifinfo *ifinfo; local in function:qop_add_if 538 struct ifinfo *ifinfo = clinfo->ifinfo; local in function:qop_delete_class 585 struct ifinfo *ifinfo; local in function:qop_add_filter 634 struct ifinfo *ifinfo; local in function:qop_delete_filter 675 struct ifinfo *ifinfo; local in function:ifname2ifinfo 687 struct ifinfo *ifinfo; local in function:input_ifname2ifinfo 745 struct ifinfo *ifinfo; local in function:is_q_enabled [all...] |
qop_cbq.c | 60 static int qop_cbq_enable_hook(struct ifinfo *); 63 static int cbq_class_spec(struct ifinfo *, u_long, u_long, u_int, int, 67 static int cbq_attach(struct ifinfo *); 68 static int cbq_detach(struct ifinfo *); 69 static int cbq_clear(struct ifinfo *); 70 static int cbq_enable(struct ifinfo *); 71 static int cbq_disable(struct ifinfo *); 292 struct ifinfo *ifinfo; local in function:cbq_class_parser 294 if ((ifinfo = ifname2ifinfo(ifname)) != NULL 333 struct ifinfo *ifinfo; local in function:qcmd_cbq_add_class 409 struct ifinfo *ifinfo; local in function:qcmd_cbq_modify_class 484 struct ifinfo *ifinfo = NULL; local in function:qop_cbq_add_if 675 struct ifinfo *ifinfo; local in function:qop_cbq_modify_class [all...] |
/src/usr.sbin/ndp/ |
ndp.c | 153 static void ifinfo(char *, int, char **); 229 ifinfo(arg, argc, argv); 803 ifinfo(char *ifname, int argc, char **argv) function in typeref:typename:void
|