30 lines
		
	
	
		
			606 B
		
	
	
	
		
			C
		
	
	
	
	
	
			
		
		
	
	
			30 lines
		
	
	
		
			606 B
		
	
	
	
		
			C
		
	
	
	
	
	
| /*
 | |
|  * netlink/route/cls/police.h	Policer
 | |
|  *
 | |
|  *	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>
 | |
|  */
 | |
| 
 | |
| #ifndef NETLINK_CLS_POLICE_H_
 | |
| #define NETLINK_CLS_POLICE_H_
 | |
| 
 | |
| #include <netlink/netlink.h>
 | |
| #include <netlink/cache.h>
 | |
| 
 | |
| #ifdef __cplusplus
 | |
| extern "C" {
 | |
| #endif
 | |
| 
 | |
| extern char *	nl_police2str(int, char *, size_t);
 | |
| extern int	nl_str2police(const char *);
 | |
| 
 | |
| #ifdef __cplusplus
 | |
| }
 | |
| #endif
 | |
| 
 | |
| #endif
 | 
