mirror of https://github.com/ipxe/ipxe.git
Obviate uip_init(); our bss is zeroed at startup already.
parent
5423f876fb
commit
0d97f0d482
|
@ -131,7 +131,7 @@ static u8_t iss[4]; /* The iss variable is used for the TCP
|
||||||
initial sequence number. */
|
initial sequence number. */
|
||||||
|
|
||||||
#if UIP_ACTIVE_OPEN
|
#if UIP_ACTIVE_OPEN
|
||||||
static u16_t lastport; /* Keeps track of the last port used for
|
static u16_t lastport = 1024; /* Keeps track of the last port used for
|
||||||
a new connection. */
|
a new connection. */
|
||||||
#endif /* UIP_ACTIVE_OPEN */
|
#endif /* UIP_ACTIVE_OPEN */
|
||||||
|
|
||||||
|
@ -174,6 +174,7 @@ void uip_log(char *msg);
|
||||||
#endif /* UIP_LOGGING == 1 */
|
#endif /* UIP_LOGGING == 1 */
|
||||||
|
|
||||||
/*-----------------------------------------------------------------------------------*/
|
/*-----------------------------------------------------------------------------------*/
|
||||||
|
#if 0
|
||||||
void
|
void
|
||||||
uip_init(void)
|
uip_init(void)
|
||||||
{
|
{
|
||||||
|
@ -200,6 +201,7 @@ uip_init(void)
|
||||||
#endif /* UIP_FIXEDADDR */
|
#endif /* UIP_FIXEDADDR */
|
||||||
|
|
||||||
}
|
}
|
||||||
|
#endif
|
||||||
/*-----------------------------------------------------------------------------------*/
|
/*-----------------------------------------------------------------------------------*/
|
||||||
#if UIP_ACTIVE_OPEN
|
#if UIP_ACTIVE_OPEN
|
||||||
struct uip_conn *
|
struct uip_conn *
|
||||||
|
|
Loading…
Reference in New Issue