mirror of
https://git.savannah.nongnu.org/git/lwip.git
synced 2025-12-10 08:46:40 +08:00
tcp_seg_copy only used when OOSEQ is on
This commit is contained in:
parent
18417fe7e6
commit
29f735d11a
@ -812,6 +812,7 @@ tcp_setprio(struct tcp_pcb *pcb, u8_t prio)
|
|||||||
{
|
{
|
||||||
pcb->prio = prio;
|
pcb->prio = prio;
|
||||||
}
|
}
|
||||||
|
#if TCP_QUEUE_OOSEQ
|
||||||
/*-----------------------------------------------------------------------------------*/
|
/*-----------------------------------------------------------------------------------*/
|
||||||
/*
|
/*
|
||||||
* tcp_seg_copy():
|
* tcp_seg_copy():
|
||||||
@ -833,6 +834,7 @@ tcp_seg_copy(struct tcp_seg *seg)
|
|||||||
pbuf_ref(cseg->p);
|
pbuf_ref(cseg->p);
|
||||||
return cseg;
|
return cseg;
|
||||||
}
|
}
|
||||||
|
#endif
|
||||||
/*-----------------------------------------------------------------------------------*/
|
/*-----------------------------------------------------------------------------------*/
|
||||||
#if LWIP_CALLBACK_API
|
#if LWIP_CALLBACK_API
|
||||||
static err_t
|
static err_t
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user