
In my previous patch for adding fwmark mask support, I neglected to add a prototype for it. This change corrects my oversight.
31 lines
741 B
C
31 lines
741 B
C
/*
|
|
* 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>
|
|
#include <netlink/route/classifier.h>
|
|
|
|
#ifdef __cplusplus
|
|
extern "C" {
|
|
#endif
|
|
|
|
extern int rtnl_fw_set_classid(struct rtnl_cls *, uint32_t);
|
|
extern int rtnl_fw_set_mask(struct rtnl_cls *, uint32_t);
|
|
|
|
#ifdef __cplusplus
|
|
}
|
|
#endif
|
|
|
|
#endif
|