X-Git-Url: http://git.onelab.eu/?p=libnl.git;a=blobdiff_plain;f=include%2Fnetlink%2Froute%2Fclassifier.h;fp=include%2Fnetlink%2Froute%2Fclassifier.h;h=0000000000000000000000000000000000000000;hp=c213725991e0aedb2b954730be55dbd77c4a50a4;hb=332c8b7561dcac7ac95cc0d07328b1cb22d780a6;hpb=eabdd897b75ecc1fac5e255229a899126085e57a diff --git a/include/netlink/route/classifier.h b/include/netlink/route/classifier.h deleted file mode 100644 index c213725..0000000 --- a/include/netlink/route/classifier.h +++ /dev/null @@ -1,47 +0,0 @@ -/* - * netlink/route/classifier.h Classifiers - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation version 2.1 - * of the License. - * - * Copyright (c) 2003-2006 Thomas Graf - */ - -#ifndef NETLINK_CLASSIFIER_H_ -#define NETLINK_CLASSIFIER_H_ - -#include -#include -#include -#include - -extern struct rtnl_cls *rtnl_cls_alloc(void); -extern void rtnl_cls_put(struct rtnl_cls *); -extern void rtnl_cls_free(struct rtnl_cls *); - -extern struct nl_cache *rtnl_cls_alloc_cache(struct nl_handle *, int, uint32_t); - -/* classifier addition */ -extern int rtnl_cls_add(struct nl_handle *, struct rtnl_cls *, - int); -extern struct nl_msg * rtnl_cls_build_add_request(struct rtnl_cls *, int); - -extern struct nl_msg *rtnl_cls_build_change_request(struct rtnl_cls *, int); -extern struct nl_msg *rtnl_cls_build_delete_request(struct rtnl_cls *, int); -extern int rtnl_cls_delete(struct nl_handle *, struct rtnl_cls *, int); - -/* attribute modification */ -extern void rtnl_cls_set_ifindex(struct rtnl_cls *, int); -extern void rtnl_cls_set_handle(struct rtnl_cls *, uint32_t); -extern void rtnl_cls_set_parent(struct rtnl_cls *, uint32_t); -extern void rtnl_cls_set_kind(struct rtnl_cls *, const char *); - -extern void rtnl_cls_set_prio(struct rtnl_cls *, int); -extern int rtnl_cls_get_prio(struct rtnl_cls *); - -extern void rtnl_cls_set_protocol(struct rtnl_cls *, int); -extern int rtnl_cls_get_protocol(struct rtnl_cls *); - -#endif