public
/
FUZIX.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e1b00a6
)
net_ip: note an oversight
author
Alan Cox
<alan@linux.intel.com>
Thu, 11 Feb 2016 20:00:06 +0000
(20:00 +0000)
committer
Alan Cox
<alan@linux.intel.com>
Thu, 11 Feb 2016 20:00:06 +0000
(20:00 +0000)
Kernel/net_ip.c
patch
|
blob
|
history
diff --git
a/Kernel/net_ip.c
b/Kernel/net_ip.c
index
d89bec3
..
f9ae660
100644
(file)
--- a/
Kernel/net_ip.c
+++ b/
Kernel/net_ip.c
@@
-49,6
+49,11
@@
int ip_output(void *pbuf, uint16_t plen, void *dbuf, uint16_t dlen)
careful to buffer the receive side while queueing output */
}
+static int ip_outions(void)
+{
+ return 0;
+}
+
void ip_rcv(void)
{
uint16_t len = pkt_left;
@@
-70,7
+75,7
@@
void ip_rcv(void)
if (ip_options())
return;
/* No frags for now (memory limits on 8bit) */
- if (iph.frag_off)
+ if (iph.frag_off)
/* FIXME: check MF and FO */
return;
if (iph.daddr == 0xFFFFFFFF)
pkt_type = PKT_BROADCAST;