From 61943b4dc0dc8c6de09fb51a458060544a41788c Mon Sep 17 00:00:00 2001 From: "7u83@mail.ru" <7u83@mail.ru@noemail.net> Date: Mon, 23 Mar 2015 21:28:32 +0000 Subject: [PATCH] Cisco specific LWAPP stuff. FossilOrigin-Name: f9303c8e884ef872f89ac5e21232a1b0472b427ce57a808a4c92d3656a3b6417 --- src/capwap/lwapp_cisco.h | 40 ++++++++++++++++++++++++++++++++++++++++ 1 file changed, 40 insertions(+) create mode 100644 src/capwap/lwapp_cisco.h diff --git a/src/capwap/lwapp_cisco.h b/src/capwap/lwapp_cisco.h new file mode 100644 index 00000000..82a8e07b --- /dev/null +++ b/src/capwap/lwapp_cisco.h @@ -0,0 +1,40 @@ +/* + This file is part of libcapwap. + + libcapwap is free software: you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation, either version 3 of the License, or + (at your option) any later version. + + libcapwap is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + + You should have received a copy of the GNU General Public License + along with Foobar. If not, see . + +*/ + +#ifndef __LWAPP_CISCO_H +#define __LWAPP_CISCO_H + + +#define LW_VENDOR_CISCO 4232704 + + +/* Vendor specific message elements LWAPP Cisco */ + +#define LW_ELEM_CISCO_PATH_MTU 73 + + +/* function proto types */ +extern int lw_put_cisco_path_mtu(uint8_t *dst, uint16_t max, uint16_t padding); + + +#define lw_addelem_cisco_path_mtu(dst,max,padding) \ + lw_put_elem_hdr(dst,LW_ELEM_VENDOR_SPECIFIC,lw_put_cisco_path_mth(dst,max,padding)) + + + +#endif