Browse Source

Updated tcp.c to provide a standardised data transfer interface.

tags/v0.9.3
Michael Brown 17 years ago
parent
commit
1136c19fa4
2 changed files with 406 additions and 350 deletions
  1. 0
    2
      src/include/gpxe/tcp.h
  2. 406
    348
      src/net/tcp.c

+ 0
- 2
src/include/gpxe/tcp.h View File

253
  */
253
  */
254
 #define TCP_MSL ( 2 * 60 * TICKS_PER_SEC )
254
 #define TCP_MSL ( 2 * 60 * TICKS_PER_SEC )
255
 
255
 
256
-extern int tcp_open ( struct stream_application *app );
257
-
258
 extern struct tcpip_protocol tcp_protocol;
256
 extern struct tcpip_protocol tcp_protocol;
259
 
257
 
260
 #endif /* _GPXE_TCP_H */
258
 #endif /* _GPXE_TCP_H */

+ 406
- 348
src/net/tcp.c
File diff suppressed because it is too large
View File


Loading…
Cancel
Save