Spelling fixes from Marc Boucher

This commit is contained in:
jani 2003-03-07 13:40:31 +00:00
parent 1c8808e73f
commit c1d9d1e71f
7 changed files with 28 additions and 28 deletions

View File

@ -328,7 +328,7 @@ low_level_input(struct netif *ethernetif)
start=0;
for(q = p; q != NULL; q = q->next) {
/* Read enough bytes to fill this pbuf in the chain. The
avaliable data in the pbuf is given by the q->len
available data in the pbuf is given by the q->len
variable. */
/* read data into(q->payload, q->len); */
#ifdef NETIF_DEBUG

View File

@ -62,7 +62,7 @@ APIFILES=$(LWIPDIR)/api/api_lib.c $(LWIPDIR)/api/api_msg.c $(LWIPDIR)/api/tcpip.
NETIFFILES=$(LWIPDIR)/netif/loopif.c \
$(LWIPDIR)/netif/etharp.c
# ARCHFILES: Archiecture specific files.
# ARCHFILES: Architecture specific files.
ARCHFILES=$(wildcard $(LWIPDIR)/arch/$(LWIPARCH)/*.c $(LWIPDIR)/arch/$(LWIPARCH)/netif/*.c)
# LWIPFILES: All the above.

View File

@ -31,8 +31,8 @@
CCDEP=gcc
CC=gcc
#To Compile for linux: make ARCH=linux
#To Compile for cygwin: make ARCH=cygwin
#To compile for linux: make ARCH=linux
#To compile for cygwin: make ARCH=cygwin
ARCH=unix
CFLAGS=-g -Wall -D$(ARCH) -DIPv4 -Os -fpack-struct
ARFLAGS=rs

View File

@ -200,7 +200,7 @@ low_level_input(struct mintapif *mintapif)
bufptr = &buf[0];
for(q = p; q != NULL; q = q->next) {
/* Read enough bytes to fill this pbuf in the chain. The
avaliable data in the pbuf is given by the q->len
available data in the pbuf is given by the q->len
variable. */
/* read data into(q->payload, q->len); */
memcpy(q->payload, bufptr, q->len);

View File

@ -32,8 +32,8 @@
CCDEP=gcc
CC=gcc
#To Compile for linux: make ARCH=linux
#To Compile for cygwin: make ARCH=cygwin
#To compile for linux: make ARCH=linux
#To compile for cygwin: make ARCH=cygwin
ARCH=unix
CFLAGS=-g -Wall -D$(ARCH) -DIPv4 -DLWIP_DEBUG -pedantic
LDFLAGS=-lpcap
@ -65,7 +65,7 @@ APIFILES=$(LWIPDIR)/api/api_lib.c $(LWIPDIR)/api/api_msg.c $(LWIPDIR)/api/tcpip.
NETIFFILES=$(LWIPDIR)/netif/loopif.c \
$(LWIPDIR)/netif/etharp.c $(LWIPDIR)/netif/slipif.c
# ARCHFILES: Archiecture specific files.
# ARCHFILES: Architecture specific files.
ARCHFILES=$(wildcard $(LWIPARCH)/*.c $(LWIPARCH)/netif/*.c)
# APPFILES: Applications.

View File

@ -72,7 +72,7 @@ send_data(struct tcp_pcb *pcb, struct http_state *hs)
err_t err;
u16_t len;
/* We cannot send more data than space avaliable in the send
/* We cannot send more data than space available in the send
buffer. */
if(tcp_sndbuf(pcb) < hs->left) {
len = tcp_sndbuf(pcb);

View File

@ -64,7 +64,7 @@ struct command {
#define NCONNS 10
static struct netconn *conns[NCONNS];
static char help_msg[] = "Avaliable commands:\n\
static char help_msg[] = "Available commands:\n\
open [IP address] [TCP port]: opens a TCP connection to the specified address.\n\
lstn [TCP port]: sets up a server on the specified port.\n\
acpt [connection #]: waits for an incoming connection request.\n\
@ -152,57 +152,57 @@ static char *stat_msgs[] = {
" reclaimed ",
" pbuf_alloc() locked ",
" pbuf_refresh() locked ",
"Memory * avaliable ",
"Memory * available ",
" * used ",
" * high water mark ",
" * errors ",
" * reclaimed ",
"Memp PBUF * avaliable ",
"Memp PBUF * available ",
" * used ",
" * high water mark ",
" * errors ",
" * reclaimed ",
"UDP PCB * avaliable ",
"UDP PCB * available ",
" * used ",
" * high water mark ",
" * errors ",
" * reclaimed ",
"TCP PCB * avaliable ",
"TCP PCB * available ",
" * used ",
" * high water mark ",
" * errors ",
" * reclaimed ",
"TCP LISTEN * avaliable ",
"TCP LISTEN * available ",
" * used ",
" * high water mark ",
" * errors ",
" * reclaimed ",
"TCP SEG * avaliable ",
"TCP SEG * available ",
" * used ",
" * high water mark ",
" * errors ",
" * reclaimed ",
"Netbufs * avaliable ",
"Netbufs * available ",
" * used ",
" * high water mark ",
" * errors ",
" * reclaimed ",
"Netconns * avaliable ",
"Netconns * available ",
" * used ",
" * high water mark ",
" * errors ",
" * reclaimed ",
"API msgs * avaliable ",
"API msgs * available ",
" * used ",
" * high water mark ",
" * errors ",
" * reclaimed ",
"TCPIP msgs * avaliable ",
"TCPIP msgs * available ",
" * used ",
" * high water mark ",
" * errors ",
" * reclaimed ",
"Timeouts * avaliable ",
"Timeouts * available ",
" * used ",
" * high water mark ",
" * errors ",
@ -239,7 +239,7 @@ com_open(struct command *com)
for(i = 0; i < NCONNS && conns[i] != NULL; i++);
if(i == NCONNS) {
sendstr("No more connections avaliable, sorry.\n", com->conn);
sendstr("No more connections available, sorry.\n", com->conn);
return ESUCCESS;
}
@ -289,7 +289,7 @@ com_lstn(struct command *com)
for(i = 0; i < NCONNS && conns[i] != NULL; i++);
if(i == NCONNS) {
sendstr("No more connections avaliable, sorry.\n", com->conn);
sendstr("No more connections available, sorry.\n", com->conn);
return ESUCCESS;
}
@ -383,7 +383,7 @@ com_acpt(struct command *com)
for(j = 0; j < NCONNS && conns[j] != NULL; j++);
if(j == NCONNS) {
sendstr("No more connections avaliable, sorry.\n", com->conn);
sendstr("No more connections available, sorry.\n", com->conn);
return ESUCCESS;
}
@ -540,7 +540,7 @@ com_udpc(struct command *com)
for(i = 0; i < NCONNS && conns[i] != NULL; i++);
if(i == NCONNS) {
sendstr("No more connections avaliable, sorry.\n", com->conn);
sendstr("No more connections available, sorry.\n", com->conn);
return ESUCCESS;
}
@ -612,7 +612,7 @@ com_udpl(struct command *com)
for(i = 0; i < NCONNS && conns[i] != NULL; i++);
if(i == NCONNS) {
sendstr("No more connections avaliable, sorry.\n", com->conn);
sendstr("No more connections available, sorry.\n", com->conn);
return ESUCCESS;
}
@ -684,7 +684,7 @@ com_udpn(struct command *com)
for(i = 0; i < NCONNS && conns[i] != NULL; i++);
if(i == NCONNS) {
sendstr("No more connections avaliable, sorry.\n", com->conn);
sendstr("No more connections available, sorry.\n", com->conn);
return ESUCCESS;
}
@ -757,7 +757,7 @@ com_udpb(struct command *com)
for(i = 0; i < NCONNS && conns[i] != NULL; i++);
if(i == NCONNS) {
sendstr("No more connections avaliable, sorry.\n", com->conn);
sendstr("No more connections available, sorry.\n", com->conn);
return ESUCCESS;
}