Minor typo fixes in comments only
Noticed a few minor typos, so skimmed through the file and found a few more.
This commit is contained in:
parent
d62f51d9e7
commit
c0a451c498
1 changed files with 5 additions and 5 deletions
|
@ -699,7 +699,7 @@ uip_process(uint8_t flag)
|
||||||
}
|
}
|
||||||
goto drop;
|
goto drop;
|
||||||
|
|
||||||
/* Check if we were invoked because of the perodic timer fireing. */
|
/* Check if we were invoked because of the periodic timer firing. */
|
||||||
} else if(flag == UIP_TIMER) {
|
} else if(flag == UIP_TIMER) {
|
||||||
#if UIP_REASSEMBLY
|
#if UIP_REASSEMBLY
|
||||||
if(uip_reasstmr != 0) {
|
if(uip_reasstmr != 0) {
|
||||||
|
@ -851,7 +851,7 @@ uip_process(uint8_t flag)
|
||||||
that the packet has been corrupted in transit. If the size of
|
that the packet has been corrupted in transit. If the size of
|
||||||
uip_len is larger than the size reported in the IP packet header,
|
uip_len is larger than the size reported in the IP packet header,
|
||||||
the packet has been padded and we set uip_len to the correct
|
the packet has been padded and we set uip_len to the correct
|
||||||
value.. */
|
value. */
|
||||||
|
|
||||||
if((BUF->len[0] << 8) + BUF->len[1] <= uip_len) {
|
if((BUF->len[0] << 8) + BUF->len[1] <= uip_len) {
|
||||||
uip_len = (BUF->len[0] << 8) + BUF->len[1];
|
uip_len = (BUF->len[0] << 8) + BUF->len[1];
|
||||||
|
@ -891,7 +891,7 @@ uip_process(uint8_t flag)
|
||||||
|
|
||||||
if(uip_ipaddr_cmp(&uip_hostaddr, &uip_all_zeroes_addr)) {
|
if(uip_ipaddr_cmp(&uip_hostaddr, &uip_all_zeroes_addr)) {
|
||||||
/* If we are configured to use ping IP address configuration and
|
/* If we are configured to use ping IP address configuration and
|
||||||
hasn't been assigned an IP address yet, we accept all ICMP
|
haven't been assigned an IP address yet, we accept all ICMP
|
||||||
packets. */
|
packets. */
|
||||||
#if UIP_PINGADDRCONF && !NETSTACK_CONF_WITH_IPV6
|
#if UIP_PINGADDRCONF && !NETSTACK_CONF_WITH_IPV6
|
||||||
if(BUF->proto == UIP_PROTO_ICMP) {
|
if(BUF->proto == UIP_PROTO_ICMP) {
|
||||||
|
@ -1252,7 +1252,7 @@ uip_process(uint8_t flag)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
/* If we didn't find and active connection that expected the packet,
|
/* If we didn't find an active connection that expected the packet,
|
||||||
either this packet is an old duplicate, or this is a SYN packet
|
either this packet is an old duplicate, or this is a SYN packet
|
||||||
destined for a connection in LISTEN. If the SYN flag isn't set,
|
destined for a connection in LISTEN. If the SYN flag isn't set,
|
||||||
it is an old packet and we send a RST. */
|
it is an old packet and we send a RST. */
|
||||||
|
@ -1441,7 +1441,7 @@ uip_process(uint8_t flag)
|
||||||
uip_flags = 0;
|
uip_flags = 0;
|
||||||
/* We do a very naive form of TCP reset processing; we just accept
|
/* We do a very naive form of TCP reset processing; we just accept
|
||||||
any RST and kill our connection. We should in fact check if the
|
any RST and kill our connection. We should in fact check if the
|
||||||
sequence number of this reset is wihtin our advertised window
|
sequence number of this reset is within our advertised window
|
||||||
before we accept the reset. */
|
before we accept the reset. */
|
||||||
if(BUF->flags & TCP_RST) {
|
if(BUF->flags & TCP_RST) {
|
||||||
uip_connr->tcpstateflags = UIP_CLOSED;
|
uip_connr->tcpstateflags = UIP_CLOSED;
|
||||||
|
|
Loading…
Add table
Reference in a new issue