mirror of
https://github.com/espressif/esp-idf
synced 2025-03-10 09:39:10 -04:00
lwip: add license and add lwip_debug.h
This commit is contained in:
parent
50c7583f4d
commit
f64e1c54b7
@ -1,6 +1,18 @@
|
||||
#ifndef _LWIP_DEBUG_
|
||||
#define _LWIP_DEBUG_
|
||||
// Copyright 2015-2016 Espressif Systems (Shanghai) PTE LTD
|
||||
//
|
||||
// Licensed under the Apache License, Version 2.0 (the "License");
|
||||
// you may not use this file except in compliance with the License.
|
||||
// You may obtain a copy of the License at
|
||||
|
||||
// http://www.apache.org/licenses/LICENSE-2.0
|
||||
//
|
||||
// Unless required by applicable law or agreed to in writing, software
|
||||
// distributed under the License is distributed on an "AS IS" BASIS,
|
||||
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
// See the License for the specific language governing permissions and
|
||||
// limitations under the License.
|
||||
|
||||
#include "lwip/lwip_debug.h"
|
||||
#include "lwip/api.h"
|
||||
#include "lwip/netbuf.h"
|
||||
#include "lwip/tcp.h"
|
||||
@ -112,4 +124,3 @@ void dbg_lwip_udp_rxtx_show(void)
|
||||
printf("TBC\n");
|
||||
}
|
||||
|
||||
#endif
|
||||
|
24
components/lwip/include/lwip/lwip/lwip_debug.h
Normal file
24
components/lwip/include/lwip/lwip/lwip_debug.h
Normal file
@ -0,0 +1,24 @@
|
||||
// Copyright 2015-2016 Espressif Systems (Shanghai) PTE LTD
|
||||
//
|
||||
// Licensed under the Apache License, Version 2.0 (the "License");
|
||||
// you may not use this file except in compliance with the License.
|
||||
// You may obtain a copy of the License at
|
||||
|
||||
// http://www.apache.org/licenses/LICENSE-2.0
|
||||
//
|
||||
// Unless required by applicable law or agreed to in writing, software
|
||||
// distributed under the License is distributed on an "AS IS" BASIS,
|
||||
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
// See the License for the specific language governing permissions and
|
||||
// limitations under the License.
|
||||
|
||||
|
||||
#ifndef _LWIP_DEBUG_H
|
||||
#define _LWIP_DEBUG_H
|
||||
|
||||
void dbg_lwip_tcp_pcb_show(void);
|
||||
void dbg_lwip_udp_pcb_show(void);
|
||||
void dbg_lwip_tcp_rxtx_show(void);
|
||||
void dbg_lwip_udp_rxtx_show(void);
|
||||
|
||||
#endif
|
Loading…
x
Reference in New Issue
Block a user