Changeset 58581 in vbox for trunk/src/VBox/Devices/Network/lwip-new
- Timestamp:
- Nov 5, 2015 2:40:13 PM (9 years ago)
- svn:sync-xref-src-repo-rev:
- 103939
- Location:
- trunk/src/VBox/Devices/Network/lwip-new/src
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Devices/Network/lwip-new/src/core/tcp.c
r58555 r58581 532 532 * Default accept callback if no accept callback is specified by the user. 533 533 */ 534 staticerr_t534 err_t 535 535 tcp_accept_null(void *arg, struct tcp_pcb *pcb, err_t err) 536 536 { -
trunk/src/VBox/Devices/Network/lwip-new/src/core/tcp_in.c
r58555 r58581 64 64 65 65 #if LWIP_CONNECTION_PROXY 66 static err_t tcp_proxy_accept_null(void *arg, struct tcp_pcb *pcb, err_t err); 67 68 tcp_accept_fn tcp_proxy_accept_callback = tcp_proxy_accept_null; 66 tcp_accept_fn tcp_proxy_accept_callback = tcp_accept_null; 69 67 #endif 70 68 … … 615 613 616 614 #if LWIP_CONNECTION_PROXY 617 /**618 * XXX: This is a copy-pasted tcp_accept_null(), a static function619 * from tcp.c. For normal listening PCB tcp_pcb::accept is set to620 * that function when PCB is created in tcp_listen_with_backlog(). I621 * don't want to shuffle code around or mess with visibility for now,622 * so just provide a copy here.623 */624 static err_t625 tcp_proxy_accept_null(void *arg, struct tcp_pcb *pcb, err_t err)626 {627 LWIP_UNUSED_ARG(arg);628 LWIP_UNUSED_ARG(err);629 630 tcp_abort(pcb);631 return ERR_ABRT;632 }633 634 635 615 /** 636 616 * We run proxied packets through tcp_input() since it mostly does -
trunk/src/VBox/Devices/Network/lwip-new/src/include/lwip/tcp_impl.h
r47886 r58581 485 485 486 486 #if LWIP_CALLBACK_API 487 err_t tcp_accept_null(void *arg, struct tcp_pcb *pcb, err_t err); 487 488 err_t tcp_recv_null(void *arg, struct tcp_pcb *pcb, struct pbuf *p, err_t err); 488 489 #endif /* LWIP_CALLBACK_API */
Note:
See TracChangeset
for help on using the changeset viewer.