2007-09-15 01:28:01 +02:00
|
|
|
/*
|
|
|
|
* netlink/route/cls/fw.h fw classifier
|
|
|
|
*
|
|
|
|
* 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 <tgraf@suug.ch>
|
|
|
|
* Copyright (c) 2006 Petr Gotthard <petr.gotthard@siemens.com>
|
|
|
|
* Copyright (c) 2006 Siemens AG Oesterreich
|
|
|
|
*/
|
|
|
|
|
|
|
|
#ifndef NETLINK_FW_H_
|
|
|
|
#define NETLINK_FW_H_
|
|
|
|
|
|
|
|
#include <netlink/netlink.h>
|
2012-05-16 13:42:05 +02:00
|
|
|
#include <netlink/route/classifier.h>
|
2007-09-15 01:28:01 +02:00
|
|
|
|
|
|
|
#ifdef __cplusplus
|
|
|
|
extern "C" {
|
|
|
|
#endif
|
|
|
|
|
|
|
|
extern int rtnl_fw_set_classid(struct rtnl_cls *, uint32_t);
|
2012-06-11 10:44:43 -06:00
|
|
|
extern int rtnl_fw_set_mask(struct rtnl_cls *, uint32_t);
|
2007-09-15 01:28:01 +02:00
|
|
|
|
|
|
|
#ifdef __cplusplus
|
|
|
|
}
|
|
|
|
#endif
|
|
|
|
|
|
|
|
#endif
|