Home
last modified time | relevance | path

Searched refs:TClass (Results 1 – 9 of 9) sorted by relevance

/systemd-251/src/network/tc/
Dtclass.c27 static int tclass_new(TClassKind kind, TClass **ret) { in tclass_new()
28 _cleanup_(tclass_freep) TClass *tclass = NULL; in tclass_new()
32 tclass = new(TClass, 1); in tclass_new()
36 *tclass = (TClass) { in tclass_new()
61 …tic(TClassKind kind, Network *network, const char *filename, unsigned section_line, TClass **ret) { in tclass_new_static()
63 _cleanup_(tclass_freep) TClass *tclass = NULL; in tclass_new_static()
64 TClass *existing; in tclass_new_static()
101 TClass* tclass_free(TClass *tclass) { in tclass_free()
117 static const char *tclass_get_tca_kind(const TClass *tclass) { in tclass_get_tca_kind()
124 static void tclass_hash_func(const TClass *tclass, struct siphash *state) { in tclass_hash_func()
[all …]
Dtclass.h20 typedef struct TClass { struct
32 } TClass; argument
38 int (*init)(TClass *tclass);
39 int (*fill_message)(Link *link, TClass *tclass, sd_netlink_message *m);
40 int (*verify)(TClass *tclass);
49 static inline MixedCase* TCLASS_TO_##UPPERCASE(TClass *t) { \
56 DEFINE_NETWORK_CONFIG_STATE_FUNCTIONS(TClass, tclass);
58 TClass* tclass_free(TClass *tclass);
59 …atic(TClassKind kind, Network *network, const char *filename, unsigned section_line, TClass **ret);
61 int link_find_tclass(Link *link, uint32_t classid, TClass **ret);
[all …]
Dhtb.c173 static int hierarchy_token_bucket_class_fill_message(Link *link, TClass *tclass, sd_netlink_message… in hierarchy_token_bucket_class_fill_message()
256 _cleanup_(tclass_free_or_set_invalidp) TClass *tclass = NULL; in config_parse_hierarchy_token_bucket_class_u32()
310 _cleanup_(tclass_free_or_set_invalidp) TClass *tclass = NULL; in config_parse_hierarchy_token_bucket_class_size()
394 _cleanup_(tclass_free_or_set_invalidp) TClass *tclass = NULL; in config_parse_hierarchy_token_bucket_class_rate()
443 static int hierarchy_token_bucket_class_init(TClass *tclass) { in hierarchy_token_bucket_class_init()
455 static int hierarchy_token_bucket_class_verify(TClass *tclass) { in hierarchy_token_bucket_class_verify()
Dqfq.c20 static int quick_fair_queueing_class_fill_message(Link *link, TClass *tclass, sd_netlink_message *r… in quick_fair_queueing_class_fill_message()
65 _cleanup_(tclass_free_or_set_invalidp) TClass *tclass = NULL; in config_parse_quick_fair_queueing_weight()
126 _cleanup_(tclass_free_or_set_invalidp) TClass *tclass = NULL; in config_parse_quick_fair_queueing_max_packet()
Ddrr.c18 static int drr_class_fill_message(Link *link, TClass *tclass, sd_netlink_message *req) { in drr_class_fill_message()
57 _cleanup_(tclass_free_or_set_invalidp) TClass *tclass = NULL; in config_parse_drr_size()
Ddrr.h15 TClass meta;
Dqfq.h16 TClass meta;
Dhtb.h22 TClass meta;
Dtc.c11 TClass *tclass; in link_request_traffic_control()