tc_action
struct tc_action *, struct tc_action *, struct tc_action *,
static struct tc_action *trtcm_input(struct cdnr_block *, struct cdnr_pktinfo *);
struct tc_action *, struct tc_action *, struct tc_action *);
static struct tc_action *tswtcm_input(struct cdnr_block *, struct cdnr_pktinfo *);
struct tc_action *tca;
cdnr_cballoc(struct top_cdnr *top, int type, struct tc_action *(*input_func)(
tca_verify_action(struct tc_action *utca)
tca_import_action(struct tc_action *ktca, struct tc_action *utca)
tca_invalidate_action(struct tc_action *tca)
element_create(struct top_cdnr *top, struct tc_action *action)
struct tc_action *in_action, struct tc_action *out_action)
static struct tc_action *
struct tb_profile *peak_profile, struct tc_action *green_action,
struct tc_action *yellow_action, struct tc_action *red_action,
static struct tc_action *
u_int32_t avg_interval, struct tc_action *green_action,
struct tc_action *yellow_action, struct tc_action *red_action)
static struct tc_action *
struct tc_action *(*)(struct cdnr_block *, struct cdnr_pktinfo *));
static int tca_verify_action(struct tc_action *);
static void tca_import_action(struct tc_action *, struct tc_action *);
static void tca_invalidate_action(struct tc_action *);
static struct cdnr_block *element_create(struct top_cdnr *, struct tc_action *);
struct tc_action *, struct tc_action *);
static struct tc_action *tbm_input(struct cdnr_block *, struct cdnr_pktinfo *);
struct tc_action green_action; /* action for green packets */
struct tc_action yellow_action; /* action for yellow packets */
struct tc_action red_action; /* action for red packets */
struct tc_action green_action; /* action for green packets */
struct tc_action yellow_action; /* action for yellow packets */
struct tc_action red_action; /* action for red packets */
struct tc_action cb_action; /* top level action for this tcb */
struct tc_action *(*cb_input)(struct cdnr_block *,
struct tc_action in_action; /* actions for IN/OUT */
struct tc_action out_action; /* actions for IN/OUT */
struct tc_action green_action;
struct tc_action yellow_action;
struct tc_action red_action;
struct tc_action green_action;
struct tc_action yellow_action;
struct tc_action red_action;
struct tc_action action;
struct tc_action in_action;
struct tc_action out_action;
struct tc_action action[MAX_ACTIONS];
tc_action_parser(char *ifname, char **cpp, struct tc_action *action)
static int tc_action_parser(char *, char **, struct tc_action *);
qcmd_cdnr_add_element(struct tc_action *rp, const char *ifname,
const char *cdnr_name, struct tc_action *action)
qcmd_cdnr_add_tbmeter(struct tc_action *rp, const char *ifname,
struct tc_action *in_action,
struct tc_action *out_action)
qcmd_cdnr_add_trtcm(struct tc_action *rp, const char *ifname,
struct tc_action *green_action,
struct tc_action *yellow_action,
struct tc_action *red_action, int coloraware)
qcmd_cdnr_add_tswtcm(struct tc_action *rp, const char *ifname,
struct tc_action *green_action,
struct tc_action *yellow_action,
struct tc_action *red_action)
struct ifinfo *ifinfo, struct tc_action *action)
struct tc_action *in_action,
struct tc_action *out_action)
struct tc_action *green_action,
struct tc_action *yellow_action,
struct tc_action *red_action, int coloraware)
struct tc_action *green_action,
struct tc_action *yellow_action,
struct tc_action *red_action)
struct tc_action *green_action, struct tc_action *yellow_action,
struct tc_action *red_action, int colorware);
struct tc_action *green_action,
struct tc_action *yellow_action,
struct tc_action *red_action);
struct tc_action action;
struct tc_action in_action;
struct tc_action out_action;
struct tc_action green_action;
struct tc_action yellow_action;
struct tc_action red_action;
struct tc_action green_action;
struct tc_action yellow_action;
struct tc_action red_action;
int qcmd_cdnr_add_element(struct tc_action *rp, const char *ifname,
const char *cdnr_name, struct tc_action *action);
int qcmd_cdnr_add_tbmeter(struct tc_action *rp, const char *ifname,
struct tc_action *in_action,
struct tc_action *out_action);
int qcmd_cdnr_add_trtcm(struct tc_action *rp, const char *ifname,
struct tc_action *green_action,
struct tc_action *yellow_action,
struct tc_action *red_action, int coloraware);
int qcmd_cdnr_add_tswtcm(struct tc_action *rp, const char *ifname,
struct tc_action *green_action,
struct tc_action *yellow_action,
struct tc_action *red_action);
struct ifinfo *ifinfo, struct tc_action *action);
struct tc_action *in_action, struct tc_action *out_action);