Lines Matching refs:cops
35 struct rtnl_cls_ops *cops; in cls_free_data() local
39 cops = rtnl_cls_lookup_ops(cls); in cls_free_data()
40 if (cops && cops->co_free_data) in cls_free_data()
41 cops->co_free_data(cls); in cls_free_data()
50 struct rtnl_cls_ops *cops; in cls_clone() local
64 cops = rtnl_cls_lookup_ops(src); in cls_clone()
65 if (cops && cops->co_clone) in cls_clone()
66 err = cops->co_clone(dst, src); in cls_clone()
75 struct rtnl_cls_ops *cops; in cls_dump_line() local
82 cops = rtnl_cls_lookup_ops(cls); in cls_dump_line()
83 if (cops && cops->co_dump[NL_DUMP_LINE]) in cls_dump_line()
84 cops->co_dump[NL_DUMP_LINE](cls, p); in cls_dump_line()
91 struct rtnl_cls_ops *cops; in cls_dump_details() local
96 cops = rtnl_cls_lookup_ops(cls); in cls_dump_details()
97 if (cops && cops->co_dump[NL_DUMP_DETAILS]) in cls_dump_details()
98 cops->co_dump[NL_DUMP_DETAILS](cls, p); in cls_dump_details()
106 struct rtnl_cls_ops *cops; in cls_dump_stats() local
112 cops = rtnl_cls_lookup_ops(cls); in cls_dump_stats()
113 if (cops && cops->co_dump[NL_DUMP_STATS]) in cls_dump_stats()
114 cops->co_dump[NL_DUMP_STATS](cls, p); in cls_dump_stats()