/
usr
/
include
/
libnl3
/
netlink
/
route
/
cls
/
/usr/include/libnl3/netlink/route/cls
mkdir
upload
Name
Size
Mode
Actions
ematch/
-
0755
rm
basic.h
1102
0644
edit
dl
rm
cgroup.h
769
0644
edit
dl
rm
ematch.h
3007
0644
edit
dl
rm
fw.h
741
0644
edit
dl
rm
matchall.h
1083
0644
edit
dl
rm
police.h
606
0644
edit
dl
rm
u32.h
2223
0644
edit
dl
rm
Edit:
/usr/include/libnl3/netlink/route/cls/basic.h
(1102B)
/* * netlink/route/cls/basic.h Basic 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) 2008-2010 Thomas Graf <tgraf@suug.ch> */ #ifndef NETLINK_BASIC_H_ #define NETLINK_BASIC_H_ #include <netlink/netlink.h> #include <netlink/route/classifier.h> #include <netlink/route/cls/ematch.h> #include <netlink/route/action.h> #ifdef __cplusplus extern "C" { #endif extern void rtnl_basic_set_target(struct rtnl_cls *, uint32_t); extern uint32_t rtnl_basic_get_target(struct rtnl_cls *); extern void rtnl_basic_set_ematch(struct rtnl_cls *, struct rtnl_ematch_tree *); extern struct rtnl_ematch_tree *rtnl_basic_get_ematch(struct rtnl_cls *); extern int rtnl_basic_add_action(struct rtnl_cls *, struct rtnl_act *); extern int rtnl_basic_del_action(struct rtnl_cls *, struct rtnl_act *); extern struct rtnl_act* rtnl_basic_get_action(struct rtnl_cls *); #ifdef __cplusplus } #endif #endif
Save
cmd:
run