diff options
author | Dmitry Kozlov <xeb@mail.ru> | 2015-11-21 12:34:02 +0300 |
---|---|---|
committer | Dmitry Kozlov <xeb@mail.ru> | 2015-11-21 12:34:02 +0300 |
commit | 9190fe47e0ce57e8f0b3360f2fe0404169b44263 (patch) | |
tree | f774de35c1895fa6b4a9b20ac65930d7675c23bc /accel-pppd/include | |
parent | decb3de44c59f789e49250c4d2791e4219078b54 (diff) | |
download | accel-ppp-9190fe47e0ce57e8f0b3360f2fe0404169b44263.tar.gz accel-ppp-9190fe47e0ce57e8f0b3360f2fe0404169b44263.zip |
split ipoe driver to ipoe and vlan_mon
introduced new module "vlan-mon"
Diffstat (limited to 'accel-pppd/include')
-rw-r--r-- | accel-pppd/include/vlan_mon.h | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/accel-pppd/include/vlan_mon.h b/accel-pppd/include/vlan_mon.h new file mode 100644 index 0000000..928c732 --- /dev/null +++ b/accel-pppd/include/vlan_mon.h @@ -0,0 +1,15 @@ +#ifndef __VLAN_MON_H +#define __VLAN_MON_H + +typedef void (*vlan_mon_notify)(int ifindex, int vid); + +void vlan_mon_register_proto(int proto, vlan_mon_notify cb); + +int vlan_mon_add(int ifindex, int proto, long *mask, int len); +int vlan_mon_add_vid(int ifindex, int proto, int vid); +int vlan_mon_del(int ifindex, int proto); + +int make_vlan_name(const char *pattern, const char *parent, int svid, int cvid, char *name); + + +#endif |