mirror of
https://github.com/ksherlock/marignotti.git
synced 2024-05-28 12:41:34 +00:00
Compare commits
9 Commits
Author | SHA1 | Date | |
---|---|---|---|
|
46e8e8e20f | ||
|
1873eefd16 | ||
|
001f3e166d | ||
|
738ef127bd | ||
|
500983aac2 | ||
|
561bbc03e8 | ||
|
0ab620845f | ||
|
7b61839ac1 | ||
|
4c42b341f3 |
17
README.md
17
README.md
|
@ -21,10 +21,10 @@ Installation:
|
||||||
|
|
||||||
2. copy the `etc/services` file to `/etc/services` (if it does not exist).
|
2. copy the `etc/services` file to `/etc/services` (if it does not exist).
|
||||||
|
|
||||||
3. edit and copy the `etc/resolve.conf` file to `/etc/resolve.conf` (if it does
|
3. edit and copy the `etc/resolv.conf` file to `/etc/resolv.conf` (if it does
|
||||||
not exist). This file is your DNS server
|
not exist). This file points to your DNS server; update it as needed.
|
||||||
|
|
||||||
4. If you don not have a DNS server, edit `/etc/hosts` to include your favorite
|
4. If you do not have a DNS server, edit `/etc/hosts` to include your favorite
|
||||||
sites.
|
sites.
|
||||||
|
|
||||||
|
|
||||||
|
@ -81,12 +81,19 @@ of `sendto`.
|
||||||
`ioctl` -- support for `FIONREAD` (bytes available to read) and `FIONBIO`
|
`ioctl` -- support for `FIONREAD` (bytes available to read) and `FIONBIO`
|
||||||
(set/clear non-blocking).
|
(set/clear non-blocking).
|
||||||
|
|
||||||
|
`setsockopt` -- `SO_SNDLOWAT`, `SO_RCVLOWAT`, `SO_SNDTIMEO`, and `SO_RCVTIMEO` are supported.
|
||||||
|
`SO_OOBINLINE` errors unless it's true.
|
||||||
|
`SO_DEBUG`, `SO_REUSEADDR`, `SO_REUSEPORT`, `SO_KEEPALIVE` set a flag but have no other effect.
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
`getsockopt` -- support for `SO_TYPE`, `SO_DEBUG`, `SO_REUSEADDR`, `SO_REUSEPORT`, `SO_KEEPALIVE`,
|
||||||
|
`SO_OOBINLINE`, `SO_SNDLOWAT`, `SO_RCVLOWAT`, `SO_SNDTIMEO`, `SO_RCVTIMEO`, `SO_NREAD`, `SO_NWRITE`
|
||||||
|
|
||||||
`getsockopt` -- support for `SO_OOBINLINE`, `SO_SNDLOWAT`, `SO_RCVLOWAT`,
|
`getsockopt` -- support for `SO_OOBINLINE`, `SO_SNDLOWAT`, `SO_RCVLOWAT`,
|
||||||
`SO_SNDTIMEO`, `SO_RCVTIMEO`, `SNDLOWAT` and `SNDTIMEO` set flags but don not have any
|
`SO_SNDTIMEO`, `SO_RCVTIMEO`, `SNDLOWAT` and `SNDTIMEO` set flags but don not have any
|
||||||
other effect. `OOBINLINE` is only be supported when true.
|
other effect. `OOBINLINE` is only be supported when true.
|
||||||
|
|
||||||
`getsockopt` -- support for `SO_TYPE`, `SO_OOBINLINE`, `SO_SNDLOWAT`, `SO_RCVLOWAT`,
|
|
||||||
`SO_SNDTIMEO`
|
|
||||||
|
|
||||||
Not (yet) supported:
|
Not (yet) supported:
|
||||||
--------------------
|
--------------------
|
||||||
|
|
|
@ -23,10 +23,10 @@ sic -h irc.a2central.com -p 6667 -n myname
|
||||||
|
|
||||||
|
|
||||||
2. copy the etc/services file to /etc/services (if it does not exist).
|
2. copy the etc/services file to /etc/services (if it does not exist).
|
||||||
3. edit and copy the etc/resolve.conf file to /etc/resolve.conf (if it does
|
3. edit and copy the etc/resolv.conf file to /etc/resolv.conf (if it does
|
||||||
not exist). This file is your DNS server
|
not exist). This file points to your DNS server; update it as needed.
|
||||||
|
|
||||||
4. If you don't have a DNS server, edit /etc/hosts to include your favorite
|
4. If you do not have a DNS server, edit /etc/hosts to include your favorite
|
||||||
sites.
|
sites.
|
||||||
|
|
||||||
|
|
||||||
|
|
|
@ -25,7 +25,7 @@ msp 18/udp # message send protocol
|
||||||
chargen 19/tcp ttytst source
|
chargen 19/tcp ttytst source
|
||||||
chargen 19/udp ttytst source
|
chargen 19/udp ttytst source
|
||||||
ftp 21/tcp
|
ftp 21/tcp
|
||||||
# 22 - unassigned
|
ssh 22/tcp
|
||||||
telnet 23/tcp
|
telnet 23/tcp
|
||||||
# 24 - private
|
# 24 - private
|
||||||
smtp 25/tcp mail
|
smtp 25/tcp mail
|
||||||
|
|
|
@ -104,4 +104,4 @@ int maccept(Entry *e, void *p1, void *p2, void *p3, void *p4, void *p5)
|
||||||
|
|
||||||
|
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
4
main.c
4
main.c
|
@ -63,7 +63,7 @@ Word StartUp(displayPtr fx)
|
||||||
// require 3.0b3
|
// require 3.0b3
|
||||||
if (TCPIPLongVersion() < 0x03006003)
|
if (TCPIPLongVersion() < 0x03006003)
|
||||||
{
|
{
|
||||||
if (fx) fx("Marinetti 3.0b3 is required.");
|
if (fx) fx("\pMarinetti 3.0b3 is required.");
|
||||||
if (flags & kLoaded)
|
if (flags & kLoaded)
|
||||||
UnloadOneTool(54);
|
UnloadOneTool(54);
|
||||||
return -1;
|
return -1;
|
||||||
|
@ -105,7 +105,7 @@ void ShutDown(word flags, Boolean force, displayPtr fx)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
#define VERSION "0.2"
|
#define VERSION "0.4"
|
||||||
static void version(void)
|
static void version(void)
|
||||||
{
|
{
|
||||||
fputs("Marignotti " VERSION "\n", stdout);
|
fputs("Marignotti " VERSION "\n", stdout);
|
||||||
|
|
2
mbind.c
2
mbind.c
|
@ -71,4 +71,4 @@ int mbind(Entry *e, void *p1, void *p2, void *p3, void *p4, void *p5)
|
||||||
}
|
}
|
||||||
return 0;
|
return 0;
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
|
@ -27,4 +27,4 @@ int mdetach(Entry *e, void *p1, void *p2, void *p3, void *p4, void *p5)
|
||||||
DecBusy();
|
DecBusy();
|
||||||
|
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
|
@ -38,4 +38,4 @@ int mgetpeername(Entry *e, void *p1, void *p2, void *p3, void *p4, void *p5)
|
||||||
copy_addr(&tmp, addr, addrlen);
|
copy_addr(&tmp, addr, addrlen);
|
||||||
|
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
|
@ -39,4 +39,4 @@ int mgetsockname(Entry *e, void *p1, void *p2, void *p3, void *p4, void *p5)
|
||||||
copy_addr(&tmp, addr, addrlen);
|
copy_addr(&tmp, addr, addrlen);
|
||||||
|
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
2
mioctl.c
2
mioctl.c
|
@ -43,4 +43,4 @@ int mioctl(Entry *e, void *p1, void *p2, void *p3, void *p4, void *p5)
|
||||||
// SIOCSLOWAT / SIOCGLOWAT ?
|
// SIOCSLOWAT / SIOCGLOWAT ?
|
||||||
|
|
||||||
return EINVAL;
|
return EINVAL;
|
||||||
}
|
}
|
||||||
|
|
|
@ -37,8 +37,8 @@ int mlisten(Entry *e, void *p1, void *p2, void *p3, void *p4, void *p5)
|
||||||
if (t) return ENETDOWN;
|
if (t) return ENETDOWN;
|
||||||
|
|
||||||
// not in TCPSCLOSED state.
|
// not in TCPSCLOSED state.
|
||||||
if (terr = tcperrConExists) return EINVAL;
|
if (terr == tcperrConExists) return EINVAL;
|
||||||
if (terr) return EINVAL; // other errors?
|
if (terr) return EINVAL; // other errors?
|
||||||
|
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
1
mread.c
1
mread.c
|
@ -243,4 +243,3 @@ int mread(Entry *e, void *p1, void *p2, void *p3, void *p4, void *p5)
|
||||||
// should not hit...
|
// should not hit...
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -172,4 +172,4 @@ int mselect(Entry *e, void *p1, void *p2, void *p3, void *p4, void *p5)
|
||||||
CLI();
|
CLI();
|
||||||
|
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
|
@ -168,4 +168,4 @@ int msetsockopt(Entry *e, void *p1, void *p2, void *p3, void *p4, void *p5)
|
||||||
}
|
}
|
||||||
|
|
||||||
return EINVAL;
|
return EINVAL;
|
||||||
}
|
}
|
||||||
|
|
|
@ -26,4 +26,4 @@ int mshutdown(Entry *e, void *p1, void *p2, void *p3, void *p4, void *p5)
|
||||||
return EINVAL;
|
return EINVAL;
|
||||||
}
|
}
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
2
mwrite.c
2
mwrite.c
|
@ -95,4 +95,4 @@ int mwrite(Entry *e, void *p1, void *p2, void *p3, void *p4, void *p5)
|
||||||
*outbytes = nbytes;
|
*outbytes = nbytes;
|
||||||
|
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
1
net.h
1
net.h
|
@ -32,4 +32,3 @@
|
||||||
#define PRU_CO_GETOPT 18
|
#define PRU_CO_GETOPT 18
|
||||||
#define PRU_CO_SETOPT 19
|
#define PRU_CO_SETOPT 19
|
||||||
#define PRU_SELECT 20
|
#define PRU_SELECT 20
|
||||||
|
|
||||||
|
|
|
@ -204,4 +204,3 @@ void s16_debug_tcp(unsigned ipid)
|
||||||
s16_debug_printf(" uwUDPCount: $%08lx", ur->uwUDPCount);
|
s16_debug_printf(" uwUDPCount: $%08lx", ur->uwUDPCount);
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user