Macro -> Function.
FossilOrigin-Name: 76ae49d3875d2503b133f4765248aad4b4a89edac20905741c7e1b9cfbda459b
This commit is contained in:
parent
f4e9930a8c
commit
93b7e1d8bc
@ -19,6 +19,9 @@
|
|||||||
#ifndef __LWAPP_CISCO_H
|
#ifndef __LWAPP_CISCO_H
|
||||||
#define __LWAPP_CISCO_H
|
#define __LWAPP_CISCO_H
|
||||||
|
|
||||||
|
#include <stdint.h>
|
||||||
|
|
||||||
|
#include "lwapp.h"
|
||||||
|
|
||||||
#define LW_VENDOR_CISCO 4232704
|
#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);
|
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) \
|
#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
|
#endif
|
||||||
|
Loading…
Reference in New Issue
Block a user