Macro -> Function.

FossilOrigin-Name: 76ae49d3875d2503b133f4765248aad4b4a89edac20905741c7e1b9cfbda459b
This commit is contained in:
7u83@mail.ru 2015-03-24 19:12:33 +00:00
parent f4e9930a8c
commit 93b7e1d8bc
1 changed files with 7 additions and 3 deletions

View File

@ -19,6 +19,9 @@
#ifndef __LWAPP_CISCO_H
#define __LWAPP_CISCO_H
#include <stdint.h>
#include "lwapp.h"
#define LW_VENDOR_CISCO 4232704
@ -32,9 +35,10 @@
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))
lw_put_elem_hdr(dst,LW_ELEM_VENDOR_SPECIFIC,lw_put_cisco_path_mtu(dst,max,padding))
*/
#endif