diff --git a/doc/doxygen/html/cpu_8h.html b/doc/doxygen/html/cpu_8h.html
new file mode 100644
index 0000000..9c1afc7
--- /dev/null
+++ b/doc/doxygen/html/cpu_8h.html
@@ -0,0 +1,43 @@
+
+
+Ubixos: cpu.h File Reference
+
+
+
+cpu.h File Reference
+
+Go to the source code of this file.
+Define Documentation
+
+
+
+
+
+
+ #define BYTE_ORDER LITTLE_ENDIAN
+
+
+
+
+
+Generated on Sat May 8 09:28:19 2004 for Ubixos by
+
+
+ 1.3.3
+
+
diff --git a/doc/doxygen/html/debug_8h.html b/doc/doxygen/html/debug_8h.html
new file mode 100644
index 0000000..69765e3
--- /dev/null
+++ b/doc/doxygen/html/debug_8h.html
@@ -0,0 +1,875 @@
+
+
+Ubixos: debug.h File Reference
+
+
+
+debug.h File Reference
+
+Go to the source code of this file.
+Define Documentation
+
+
+
+
+
+
+ #define API_LIB_DEBUG 0
+
+
+
+
+
+
+
+
+
+
+
+ #define API_MSG_DEBUG 0
+
+
+
+
+
+
+
+
+
+
+
+ #define ARP_DEBUG 0
+
+
+
+
+
+
+
+
+
+
+
+ #define ASSERT
+ (
+ x,
+
+
+ y
+
+ )
+
+
+
+
+
+
+
+
+
+
+
+
+ #define DEBUGF
+ (
+ debug,
+
+
+ x
+
+ )
+
+
+
+
+
+
+
+
+
+
+
+
+ #define DELIF_DEBUG 0
+
+
+
+
+
+
+
+
+
+
+
+ #define DEMO_DEBUG 0
+
+
+
+
+
+
+
+
+
+
+
+ #define DHCP_DEBUG 0
+
+
+
+
+
+
+
+
+
+
+
+ #define DROPIF_DEBUG 0
+
+
+
+
+
+
+
+
+
+
+
+ #define ICMP_DEBUG 0
+
+
+
+
+
+
+
+
+
+
+
+ #define INET_DEBUG 0
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ #define IP_REASS_DEBUG 0
+
+
+
+
+
+
+
+
+
+
+
+ #define MEM_DEBUG 0
+
+
+
+
+
+
+
+
+
+
+
+ #define MEMP_DEBUG 0
+
+
+
+
+
+
+
+
+
+
+
+ #define NETIF_DEBUG 0
+
+
+
+
+
+
+
+
+
+
+
+ #define PBUF_DEBUG 0
+
+
+
+
+
+
+
+
+
+
+
+ #define SOCKETS_DEBUG 0
+
+
+
+
+
+
+
+
+
+
+
+ #define SYS_DEBUG 0
+
+
+
+
+
+
+
+
+
+
+
+ #define TAPIF_DEBUG 0
+
+
+
+
+
+
+
+
+
+
+
+ #define TCP_CWND_DEBUG 0
+
+
+
+
+
+
+
+
+
+
+
+ #define TCP_DEBUG 0
+
+
+
+
+
+
+
+
+
+
+
+ #define TCP_FR_DEBUG 0
+
+
+
+
+
+
+
+
+
+
+
+ #define TCP_INPUT_DEBUG 0
+
+
+
+
+
+
+
+
+
+
+
+ #define TCP_OUTPUT_DEBUG 0
+
+
+
+
+
+
+
+
+
+
+
+ #define TCP_QLEN_DEBUG 0
+
+
+
+
+
+
+
+
+
+
+
+ #define TCP_REXMIT_DEBUG 0
+
+
+
+
+
+
+
+
+
+
+
+ #define TCP_RST_DEBUG 0
+
+
+
+
+
+
+
+
+
+
+
+ #define TCP_RTO_DEBUG 0
+
+
+
+
+
+
+
+
+
+
+
+ #define TCP_WND_DEBUG 0
+
+
+
+
+
+
+
+
+
+
+
+ #define TCPDUMP_DEBUG 0
+
+
+
+
+
+
+
+
+
+
+
+ #define TCPIP_DEBUG 0
+
+
+
+
+
+
+
+
+
+
+
+ #define TUNIF_DEBUG 0
+
+
+
+
+
+
+
+
+
+
+
+ #define UDP_DEBUG 0
+
+
+
+
+
+
+
+
+
+
+
+ #define UNIXIF_DEBUG 0
+
+
+
+
+
+Generated on Sat May 8 09:28:19 2004 for Ubixos by
+
+
+ 1.3.3
+
+
diff --git a/doc/doxygen/html/def_8h.html b/doc/doxygen/html/def_8h.html
new file mode 100644
index 0000000..b4dad4a
--- /dev/null
+++ b/doc/doxygen/html/def_8h.html
@@ -0,0 +1,76 @@
+
+
+Ubixos: def.h File Reference
+
+
+
+def.h File Reference #include "arch/lib.h "
+
+
+Go to the source code of this file.
+
+Defines
+#define UMAX (a, b) ((a) > (b) ? (a) : (b))
+
+#define NULL ((void *)0)
+
+
+Define Documentation
+
+
+
+
+
+
+ #define NULL ((void *)0)
+
+
+
+
+
+
+
+
+
+
+
+ #define UMAX
+ (
+ a,
+
+
+ b
+
+ )
+ ((a) > (b) ? (a) : (b))
+
+
+
+
+
+Generated on Sat May 8 09:28:19 2004 for Ubixos by
+
+
+ 1.3.3
+
+
diff --git a/doc/doxygen/html/devfs_8h.html b/doc/doxygen/html/devfs_8h.html
new file mode 100644
index 0000000..75f476a
--- /dev/null
+++ b/doc/doxygen/html/devfs_8h.html
@@ -0,0 +1,283 @@
+
+
+Ubixos: devfs.h File Reference
+
+
+
+devfs.h File Reference #include <ubixos/types.h >
+#include <vfs/file.h >
+
+
+Go to the source code of this file.
+
+Data Structures
+struct devFsDevices
+
+struct devFsInfo
+
+Functions
+int devFSOpen (char *file, fileDescriptor *fd)
+
+void devFSInit (struct mountPoints *mp)
+
+int devFSEnable ()
+
+int devFSRead (fileDescriptor *fd, char *data, long offset, long size)
+
+int devFSWrite (fileDescriptor *fd, char *data, long offset, long size)
+
+int devFsMkNod (char *name, uInt8 type, uInt16 major, uInt16 minor)
+
+
+Function Documentation
+
+
+
+
+
+
+ int devFSEnable
+ (
+
+ )
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ void devFSInit
+ (
+ struct mountPoints *
+ mp
+ )
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ int devFsMkNod
+ (
+ char *
+ name ,
+
+
+
+
+ uInt8
+ type ,
+
+
+
+
+ uInt16
+ major ,
+
+
+
+
+ uInt16
+ minor
+
+
+
+ )
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ int devFSOpen
+ (
+ char *
+ file ,
+
+
+
+
+ fileDescriptor *
+ fd
+
+
+
+ )
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ int devFSRead
+ (
+ fileDescriptor *
+ fd ,
+
+
+
+
+ char *
+ data ,
+
+
+
+
+ long
+ offset ,
+
+
+
+
+ long
+ size
+
+
+
+ )
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ int devFSWrite
+ (
+ fileDescriptor *
+ fd ,
+
+
+
+
+ char *
+ data ,
+
+
+
+
+ long
+ offset ,
+
+
+
+
+ long
+ size
+
+
+
+ )
+
+
+
+
+
+
+
+
+Generated on Sat May 8 09:28:19 2004 for Ubixos by
+
+
+ 1.3.3
+
+
diff --git a/doc/doxygen/html/device_8h.html b/doc/doxygen/html/device_8h.html
new file mode 100644
index 0000000..e53427e
--- /dev/null
+++ b/doc/doxygen/html/device_8h.html
@@ -0,0 +1,163 @@
+
+
+Ubixos: device.h File Reference
+
+
+
+device.h File Reference #include <ubixos/types.h >
+
+
+Go to the source code of this file.
+
+Data Structures
+struct deviceNode
+
+Functions
+void deviceAdd (int major, int minor, char type, void *read, void *write, void *reset, void *init, void *ioctl, void *stop, void *start, void *standby, void *info)
+
+deviceNode * deviceFind (int major, int minor)
+
+
+Function Documentation
+
+
+
+
+
+
+ void deviceAdd
+ (
+ int
+ major ,
+
+
+
+
+ int
+ minor ,
+
+
+
+
+ char
+ type ,
+
+
+
+
+ void *
+ read ,
+
+
+
+
+ void *
+ write ,
+
+
+
+
+ void *
+ reset ,
+
+
+
+
+ void *
+ init ,
+
+
+
+
+ void *
+ ioctl ,
+
+
+
+
+ void *
+ stop ,
+
+
+
+
+ void *
+ start ,
+
+
+
+
+ void *
+ standby ,
+
+
+
+
+ void *
+ info
+
+
+
+ )
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ struct deviceNode * deviceFind
+ (
+ int
+ major ,
+
+
+
+
+ int
+ minor
+
+
+
+ )
+
+
+
+
+
+
+
+
+Generated on Sat May 8 09:28:19 2004 for Ubixos by
+
+
+ 1.3.3
+
+
diff --git a/doc/doxygen/html/device_8old_8h.html b/doc/doxygen/html/device_8old_8h.html
new file mode 100644
index 0000000..ce321ee
--- /dev/null
+++ b/doc/doxygen/html/device_8old_8h.html
@@ -0,0 +1,25 @@
+
+
+Ubixos: device.old.h File Reference
+
+
+
+device.old.h File Reference #include <ubixos/types.h >
+
+
+Go to the source code of this file.
+Generated on Sat May 8 09:28:19 2004 for Ubixos by
+
+
+ 1.3.3
+
+
diff --git a/doc/doxygen/html/sys__arch_8h.html b/doc/doxygen/html/sys__arch_8h.html
new file mode 100644
index 0000000..0510b3c
--- /dev/null
+++ b/doc/doxygen/html/sys__arch_8h.html
@@ -0,0 +1,141 @@
+
+
+Ubixos: sys_arch.h File Reference
+
+
+
+sys_arch.h File Reference
+
+Go to the source code of this file.
+Define Documentation
+
+
+
+
+
+
+ #define SYS_MBOX_NULL NULL
+
+
+
+
+
+
+
+
+
+
+
+ #define SYS_SEM_NULL NULL
+
+
+
+
+
+Typedef Documentation
+
+
+
+
+
+
+
+
+
+Generated on Sat May 8 09:28:23 2004 for Ubixos by
+
+
+ 1.3.3
+
+
diff --git a/doc/doxygen/html/syscall_8h.html b/doc/doxygen/html/syscall_8h.html
new file mode 100644
index 0000000..8779c2a
--- /dev/null
+++ b/doc/doxygen/html/syscall_8h.html
@@ -0,0 +1,79 @@
+
+
+Ubixos: syscall.h File Reference
+
+
+
+syscall.h File Reference
+
+Go to the source code of this file.
+Function Documentation
+
+
+
+
+
+
+ void _sysCall
+ (
+
+ )
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ void invalidCall
+ (
+
+ )
+
+
+
+
+
+
+
+
+Generated on Sat May 8 09:28:23 2004 for Ubixos by
+
+
+ 1.3.3
+
+
diff --git a/doc/doxygen/html/syscalls_8h.html b/doc/doxygen/html/syscalls_8h.html
new file mode 100644
index 0000000..1d6a926
--- /dev/null
+++ b/doc/doxygen/html/syscalls_8h.html
@@ -0,0 +1,907 @@
+
+
+Ubixos: syscalls.h File Reference
+
+
+
+syscalls.h File Reference #include <ubixos/sched.h >
+#include <vfs/file.h >
+
+
+Go to the source code of this file.
+Typedef Documentation
+
+
+
+Function Documentation
+
+
+
+
+
+
+ void sysChDir
+ (
+
+ )
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ void sysCheckPid
+ (
+
+ )
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ void sysExec
+ (
+
+ )
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ void sysExit
+ (
+
+ )
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ void sysFclose
+ (
+
+ )
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ void sysFgetc
+ (
+
+ )
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ void sysFopen
+ (
+
+ )
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ void sysFork
+ (
+
+ )
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ void sysFread
+ (
+
+ )
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ void sysFseek
+ (
+
+ )
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ void sysFwrite
+ (
+
+ )
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ void sysGetCwd
+ (
+
+ )
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ void sysGetDrives
+ (
+
+ )
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ void sysGetFreePage
+ (
+
+ )
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ void sysGetGid
+ (
+
+ )
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ void sysGetpid
+ (
+
+ )
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ void sysGetTime
+ (
+
+ )
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ void sysGetUid
+ (
+
+ )
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ void sysGetUptime
+ (
+
+ )
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ void sysMkDir
+ (
+
+ )
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ void sysRmDir
+ (
+
+ )
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ void sysSchedYield
+ (
+
+ )
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ void sysSDE
+ (
+
+ )
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ void sysSetGid
+ (
+
+ )
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ void sysSetUid
+ (
+
+ )
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ void sysStartSDE
+ (
+
+ )
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ void sysUnlink
+ (
+
+ )
+
+
+
+
+
+
+
+
+Variable Documentation
+
+
+
+
+
+
+Generated on Sat May 8 09:28:23 2004 for Ubixos by
+
+
+ 1.3.3
+
+
diff --git a/doc/doxygen/html/tcp_8h.html b/doc/doxygen/html/tcp_8h.html
new file mode 100644
index 0000000..28186ad
--- /dev/null
+++ b/doc/doxygen/html/tcp_8h.html
@@ -0,0 +1,2409 @@
+
+
+Ubixos: tcp.h File Reference
+
+
+
+tcp.h File Reference #include "net/sys.h "
+#include "net/mem.h "
+#include "net/pbuf.h "
+#include "net/opt.h "
+#include "net/ipv4/ip.h "
+#include "net/ipv4/icmp.h "
+#include "net/err.h "
+
+
+Go to the source code of this file.
+
+Data Structures
+struct tcp_hdr
+
+struct tcp_pcb
+
+struct tcp_pcb_listen
+
+struct tcp_seg
+
+Defines
+#define tcp_sndbuf (pcb) ((pcb)->snd_buf)
+
+#define TCP_SEQ_LT (a, b) ((Int32 )((a)-(b)) < 0)
+
+#define TCP_SEQ_LEQ (a, b) ((Int32 )((a)-(b)) <= 0)
+
+#define TCP_SEQ_GT (a, b) ((Int32 )((a)-(b)) > 0)
+
+#define TCP_SEQ_GEQ (a, b) ((Int32 )((a)-(b)) >= 0)
+
+#define TCP_FIN 0x01
+
+#define TCP_SYN 0x02
+
+#define TCP_RST 0x04
+
+#define TCP_PSH 0x08
+
+#define TCP_ACK 0x10
+
+#define TCP_URG 0x20
+
+#define TCP_HLEN 20
+
+#define TCP_TMR_INTERVAL 100
+
+#define TCP_FAST_INTERVAL 200
+
+#define TCP_SLOW_INTERVAL 500
+
+#define TCP_FIN_WAIT_TIMEOUT 20000
+
+#define TCP_SYN_RCVD_TIMEOUT 20000
+
+#define TCP_OOSEQ_TIMEOUT 6
+
+#define TCP_MSL 60000
+
+#define TCPH_OFFSET (hdr) (NTOHS((hdr)->_offset_flags) >> 8)
+
+#define TCPH_FLAGS (hdr) (NTOHS((hdr)->_offset_flags) & 0xff)
+
+#define TCPH_OFFSET_SET (hdr, offset) (hdr)->_offset_flags = HTONS(((offset) << 8) | TCPH_FLAGS(hdr))
+
+#define TCPH_FLAGS_SET (hdr, flags) (hdr)->_offset_flags = HTONS((TCPH_OFFSET(hdr) << 8) | (flags))
+
+#define TCP_TCPLEN (seg)
+
+#define TF_ACK_DELAY 0x01
+
+#define TF_ACK_NOW 0x02
+
+#define TF_INFR 0x04
+
+#define TF_RESET 0x08
+
+#define TF_CLOSED 0x10
+
+#define TF_GOT_FIN 0x20
+
+#define tcp_ack (pcb)
+
+#define tcp_ack_now (pcb)
+
+#define tcp_pcbs_sane () 1
+
+#define TCP_REG (pcbs, npcb)
+
+#define TCP_RMV (pcbs, npcb)
+
+Enumerations
+enum tcp_state {
+ CLOSED = 0,
+LISTEN = 1,
+SYN_SENT = 2,
+SYN_RCVD = 3,
+
+ ESTABLISHED = 4,
+FIN_WAIT_1 = 5,
+FIN_WAIT_2 = 6,
+CLOSE_WAIT = 7,
+
+ CLOSING = 8,
+LAST_ACK = 9,
+TIME_WAIT = 10
+
+ }
+
+Functions
+void tcp_init (void)
+
+void tcp_tmr (void)
+
+tcp_pcb * tcp_new (void)
+
+void tcp_arg (struct tcp_pcb *pcb, void *arg)
+
+void tcp_accept (struct tcp_pcb *pcb, err_t (*accept)(void *arg, struct tcp_pcb *newpcb, err_t err))
+
+void tcp_recv (struct tcp_pcb *pcb, err_t (*recv)(void *arg, struct tcp_pcb *tpcb, struct pbuf *p, err_t err))
+
+void tcp_sent (struct tcp_pcb *pcb, err_t (*sent)(void *arg, struct tcp_pcb *tpcb, uInt16 len))
+
+void tcp_poll (struct tcp_pcb *pcb, err_t (*poll)(void *arg, struct tcp_pcb *tpcb), uInt8 interval)
+
+void tcp_err (struct tcp_pcb *pcb, void(*err)(void *arg, err_t err))
+
+void tcp_recved (struct tcp_pcb *pcb, uInt16 len)
+
+err_t tcp_bind (struct tcp_pcb *pcb, struct ip_addr *ipaddr, uInt16 port)
+
+err_t tcp_connect (struct tcp_pcb *pcb, struct ip_addr *ipaddr, uInt16 port, err_t (*connected)(void *arg, struct tcp_pcb *tpcb, err_t err))
+
+tcp_pcb * tcp_listen (struct tcp_pcb *pcb)
+
+void tcp_abort (struct tcp_pcb *pcb)
+
+err_t tcp_close (struct tcp_pcb *pcb)
+
+err_t tcp_write (struct tcp_pcb *pcb, const void *dataptr, uInt16 len, uInt8 copy)
+
+void tcp_slowtmr (void)
+
+void tcp_fasttmr (void)
+
+void tcp_input (struct pbuf *p, struct netif *inp)
+
+err_t tcp_output (struct tcp_pcb *pcb)
+
+tcp_pcb * tcp_pcb_copy (struct tcp_pcb *pcb)
+
+void tcp_pcb_purge (struct tcp_pcb *pcb)
+
+void tcp_pcb_remove (struct tcp_pcb **pcblist, struct tcp_pcb *pcb)
+
+uInt8 tcp_segs_free (struct tcp_seg *seg)
+
+uInt8 tcp_seg_free (struct tcp_seg *seg)
+
+tcp_seg * tcp_seg_copy (struct tcp_seg *seg)
+
+err_t tcp_send_ctrl (struct tcp_pcb *pcb, uInt8 flags)
+
+err_t tcp_enqueue (struct tcp_pcb *pcb, void *dataptr, uInt16 len, uInt8 flags, uInt8 copy, uInt8 *optdata, uInt8 optlen)
+
+void tcp_rexmit_seg (struct tcp_pcb *pcb, struct tcp_seg *seg)
+
+void tcp_rst (uInt32 seqno, uInt32 ackno, struct ip_addr *local_ip, struct ip_addr *remote_ip, uInt16 local_port, uInt16 remote_port)
+
+uInt32 tcp_next_iss (void)
+
+Variables
+tcp_hdr PACK_STRUCT_STRUCT
+
+uInt32 tcp_ticks
+
+tcp_pcb_listen * tcp_listen_pcbs
+
+tcp_pcb * tcp_active_pcbs
+
+tcp_pcb * tcp_tw_pcbs
+
+tcp_pcb * tcp_tmp_pcb
+
+
+Define Documentation
+
+
+
+
+
+
+ #define tcp_ack
+ (
+ pcb
+
+ )
+
+
+
+
+
+
+
+
+
+
+
+
+
+Value:
+
+
+
+
+
+
+
+
+ #define TCP_ACK 0x10
+
+
+
+
+
+
+
+
+
+
+
+ #define tcp_ack_now
+ (
+ pcb
+
+ )
+
+
+
+
+
+
+
+
+
+
+
+
+
+Value:
+
+
+
+
+
+
+
+
+ #define TCP_FAST_INTERVAL 200
+
+
+
+
+
+
+
+
+
+
+
+ #define TCP_FIN 0x01
+
+
+
+
+
+
+
+
+
+
+
+ #define TCP_FIN_WAIT_TIMEOUT 20000
+
+
+
+
+
+
+
+
+
+
+
+ #define TCP_HLEN 20
+
+
+
+
+
+
+
+
+
+
+
+ #define TCP_MSL 60000
+
+
+
+
+
+
+
+
+
+
+
+ #define TCP_OOSEQ_TIMEOUT 6
+
+
+
+
+
+
+
+
+
+
+
+ #define tcp_pcbs_sane
+ (
+
+
+ )
+ 1
+
+
+
+
+
+
+
+
+
+
+
+ #define TCP_PSH 0x08
+
+
+
+
+
+
+
+
+
+
+
+ #define TCP_REG
+ (
+ pcbs,
+
+
+ npcb
+
+ )
+
+
+
+
+
+
+
+
+
+
+
+
+
+Value:
do { \
+ npcb->next = *pcbs; \
+ *pcbs = npcb; \
+ } while (0)
+
+
+
+
+
+
+
+
+
+ #define TCP_RMV
+ (
+ pcbs,
+
+
+ npcb
+
+ )
+
+
+
+
+
+
+
+
+
+
+
+
+
+Value:
+
+
+
+
+
+
+
+
+ #define TCP_RST 0x04
+
+
+
+
+
+
+
+
+
+
+
+ #define TCP_SEQ_GEQ
+ (
+ a,
+
+
+ b
+
+ )
+ ((Int32 )((a)-(b)) >= 0)
+
+
+
+
+
+
+
+
+
+
+
+ #define TCP_SEQ_GT
+ (
+ a,
+
+
+ b
+
+ )
+ ((Int32 )((a)-(b)) > 0)
+
+
+
+
+
+
+
+
+
+
+
+ #define TCP_SEQ_LEQ
+ (
+ a,
+
+
+ b
+
+ )
+ ((Int32 )((a)-(b)) <= 0)
+
+
+
+
+
+
+
+
+
+
+
+ #define TCP_SEQ_LT
+ (
+ a,
+
+
+ b
+
+ )
+ ((Int32 )((a)-(b)) < 0)
+
+
+
+
+
+
+
+
+
+
+
+ #define TCP_SLOW_INTERVAL 500
+
+
+
+
+
+
+
+
+
+
+
+ #define tcp_sndbuf
+ (
+ pcb
+
+ )
+ ((pcb)->snd_buf)
+
+
+
+
+
+
+
+
+
+
+
+ #define TCP_SYN 0x02
+
+
+
+
+
+
+
+
+
+
+
+ #define TCP_SYN_RCVD_TIMEOUT 20000
+
+
+
+
+
+
+
+
+
+
+
+ #define TCP_TCPLEN
+ (
+ seg
+
+ )
+
+
+
+
+
+
+
+
+
+
+
+
+
+Value:
+
+
+
+
+
+
+
+
+ #define TCP_TMR_INTERVAL 100
+
+
+
+
+
+
+
+
+
+
+
+ #define TCP_URG 0x20
+
+
+
+
+
+
+
+
+
+
+
+ #define TCPH_FLAGS
+ (
+ hdr
+
+ )
+ (NTOHS((hdr)->_offset_flags) & 0xff)
+
+
+
+
+
+
+
+
+
+
+
+ #define TCPH_FLAGS_SET
+ (
+ hdr,
+
+
+ flags
+
+ )
+ (hdr)->_offset_flags = HTONS((TCPH_OFFSET(hdr) << 8) | (flags))
+
+
+
+
+
+
+
+
+
+
+
+ #define TCPH_OFFSET
+ (
+ hdr
+
+ )
+ (NTOHS((hdr)->_offset_flags) >> 8)
+
+
+
+
+
+
+
+
+
+
+
+ #define TCPH_OFFSET_SET
+ (
+ hdr,
+
+
+ offset
+
+ )
+ (hdr)->_offset_flags = HTONS(((offset) << 8) | TCPH_FLAGS(hdr))
+
+
+
+
+
+
+
+
+
+
+
+ #define TF_ACK_DELAY 0x01
+
+
+
+
+
+
+
+
+
+
+
+ #define TF_ACK_NOW 0x02
+
+
+
+
+
+
+
+
+
+
+
+ #define TF_CLOSED 0x10
+
+
+
+
+
+
+
+
+
+
+
+ #define TF_GOT_FIN 0x20
+
+
+
+
+
+
+
+
+
+
+
+ #define TF_INFR 0x04
+
+
+
+
+
+
+
+
+
+
+
+ #define TF_RESET 0x08
+
+
+
+
+
+Enumeration Type Documentation
+
+
+
+
+
+
+
+
+
+
+
Enumeration values:
+
+CLOSED
+
+LISTEN
+
+SYN_SENT
+
+SYN_RCVD
+
+ESTABLISHED
+
+FIN_WAIT_1
+
+FIN_WAIT_2
+
+CLOSE_WAIT
+
+CLOSING
+
+LAST_ACK
+
+TIME_WAIT
+
+
+
+
+
+
+Function Documentation
+
+
+
+
+
+
+ void tcp_abort
+ (
+ struct tcp_pcb *
+ pcb
+ )
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ void tcp_accept
+ (
+ struct tcp_pcb *
+ pcb ,
+
+
+
+
+ err_t (*
+ accept )(void *arg, struct tcp_pcb *newpcb, err_t err)
+
+
+
+ )
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ void tcp_arg
+ (
+ struct tcp_pcb *
+ pcb ,
+
+
+
+
+ void *
+ arg
+
+
+
+ )
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ err_t tcp_bind
+ (
+ struct tcp_pcb *
+ pcb ,
+
+
+
+
+ struct ip_addr *
+ ipaddr ,
+
+
+
+
+ uInt16
+ port
+
+
+
+ )
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ err_t tcp_close
+ (
+ struct tcp_pcb *
+ pcb
+ )
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ err_t tcp_enqueue
+ (
+ struct tcp_pcb *
+ pcb ,
+
+
+
+
+ void *
+ dataptr ,
+
+
+
+
+ uInt16
+ len ,
+
+
+
+
+ uInt8
+ flags ,
+
+
+
+
+ uInt8
+ copy ,
+
+
+
+
+ uInt8 *
+ optdata ,
+
+
+
+
+ uInt8
+ optlen
+
+
+
+ )
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ void tcp_err
+ (
+ struct tcp_pcb *
+ pcb ,
+
+
+
+
+ void(*
+ err )(void *arg, err_t err)
+
+
+
+ )
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ void tcp_fasttmr
+ (
+ void
+
+ )
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ void tcp_init
+ (
+ void
+
+ )
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ void tcp_input
+ (
+ struct pbuf *
+ p ,
+
+
+
+
+ struct netif *
+ inp
+
+
+
+ )
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ struct tcp_pcb * tcp_listen
+ (
+ struct tcp_pcb *
+ pcb
+ )
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ struct tcp_pcb * tcp_new
+ (
+ void
+
+ )
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ uInt32 tcp_next_iss
+ (
+ void
+
+ )
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ err_t tcp_output
+ (
+ struct tcp_pcb *
+ pcb
+ )
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ struct tcp_pcb * tcp_pcb_copy
+ (
+ struct tcp_pcb *
+ pcb
+ )
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ void tcp_pcb_purge
+ (
+ struct tcp_pcb *
+ pcb
+ )
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ void tcp_pcb_remove
+ (
+ struct tcp_pcb **
+ pcblist ,
+
+
+
+
+ struct tcp_pcb *
+ pcb
+
+
+
+ )
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ void tcp_poll
+ (
+ struct tcp_pcb *
+ pcb ,
+
+
+
+
+ err_t (*
+ poll )(void *arg, struct tcp_pcb *tpcb),
+
+
+
+
+ uInt8
+ interval
+
+
+
+ )
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ void tcp_recv
+ (
+ struct tcp_pcb *
+ pcb ,
+
+
+
+
+ err_t (*
+ recv )(void *arg, struct tcp_pcb *tpcb, struct pbuf *p, err_t err)
+
+
+
+ )
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ void tcp_recved
+ (
+ struct tcp_pcb *
+ pcb ,
+
+
+
+
+ uInt16
+ len
+
+
+
+ )
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ void tcp_rexmit_seg
+ (
+ struct tcp_pcb *
+ pcb ,
+
+
+
+
+ struct tcp_seg *
+ seg
+
+
+
+ )
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ void tcp_rst
+ (
+ uInt32
+ seqno ,
+
+
+
+
+ uInt32
+ ackno ,
+
+
+
+
+ struct ip_addr *
+ local_ip ,
+
+
+
+
+ struct ip_addr *
+ remote_ip ,
+
+
+
+
+ uInt16
+ local_port ,
+
+
+
+
+ uInt16
+ remote_port
+
+
+
+ )
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ struct tcp_seg * tcp_seg_copy
+ (
+ struct tcp_seg *
+ seg
+ )
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ uInt8 tcp_seg_free
+ (
+ struct tcp_seg *
+ seg
+ )
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ uInt8 tcp_segs_free
+ (
+ struct tcp_seg *
+ seg
+ )
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ err_t tcp_send_ctrl
+ (
+ struct tcp_pcb *
+ pcb ,
+
+
+
+
+ uInt8
+ flags
+
+
+
+ )
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ void tcp_sent
+ (
+ struct tcp_pcb *
+ pcb ,
+
+
+
+
+ err_t (*
+ sent )(void *arg, struct tcp_pcb *tpcb, uInt16 len)
+
+
+
+ )
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ void tcp_slowtmr
+ (
+ void
+
+ )
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ void tcp_tmr
+ (
+ void
+
+ )
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ err_t tcp_write
+ (
+ struct tcp_pcb *
+ pcb ,
+
+
+
+
+ const void *
+ dataptr ,
+
+
+
+
+ uInt16
+ len ,
+
+
+
+
+ uInt8
+ copy
+
+
+
+ )
+
+
+
+
+
+
+
+
+Variable Documentation
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+Generated on Sat May 8 09:28:23 2004 for Ubixos by
+
+
+ 1.3.3
+
+
diff --git a/doc/doxygen/html/tcpdump_8h.html b/doc/doxygen/html/tcpdump_8h.html
new file mode 100644
index 0000000..ae7ffc0
--- /dev/null
+++ b/doc/doxygen/html/tcpdump_8h.html
@@ -0,0 +1,82 @@
+
+
+Ubixos: tcpdump.h File Reference
+
+
+
+tcpdump.h File Reference #include "net/pbuf.h "
+
+
+Go to the source code of this file.
+Function Documentation
+
+
+
+
+
+
+ void tcpdump
+ (
+ struct pbuf *
+ p
+ )
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ void tcpdump_init
+ (
+ void
+
+ )
+
+
+
+
+
+
+
+
+Generated on Sat May 8 09:28:23 2004 for Ubixos by
+
+
+ 1.3.3
+
+
diff --git a/doc/doxygen/html/tcpip_8h.html b/doc/doxygen/html/tcpip_8h.html
new file mode 100644
index 0000000..dcb8890
--- /dev/null
+++ b/doc/doxygen/html/tcpip_8h.html
@@ -0,0 +1,171 @@
+
+
+Ubixos: tcpip.h File Reference
+
+
+
+tcpip.h File Reference #include "net/api_msg.h "
+#include "net/pbuf.h "
+
+
+Go to the source code of this file.
+Enumeration Type Documentation
+
+
+
+
+
+
+
+
+
+
+
Enumeration values:
+
+TCPIP_MSG_API
+
+TCPIP_MSG_INPUT
+
+
+
+
+
+
+Function Documentation
+
+
+
+
+
+
+ void tcpip_apimsg
+ (
+ struct api_msg *
+ apimsg
+ )
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ void tcpip_init
+ (
+ void(*
+ tcpip_init_done )(void *),
+
+
+
+
+ void *
+ arg
+
+
+
+ )
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ err_t tcpip_input
+ (
+ struct pbuf *
+ p ,
+
+
+
+
+ struct netif *
+ inp
+
+
+
+ )
+
+
+
+
+
+
+
+
+Generated on Sat May 8 09:28:23 2004 for Ubixos by
+
+
+ 1.3.3
+
+
diff --git a/doc/doxygen/html/time_8h.html b/doc/doxygen/html/time_8h.html
new file mode 100644
index 0000000..a59158f
--- /dev/null
+++ b/doc/doxygen/html/time_8h.html
@@ -0,0 +1,339 @@
+
+
+Ubixos: time.h File Reference
+
+
+
+time.h File Reference #include <ubixos/types.h >
+#include <sys/io.h >
+
+
+Go to the source code of this file.
+Define Documentation
+
+
+
+
+
+
+ #define BCD_TO_BIN
+ (
+ val
+
+ )
+ ((val)=((val)&15) + ((val)>>4)*10)
+
+
+
+
+
+
+
+
+
+
+
+ #define DAY (24*HOUR)
+
+
+
+
+
+
+
+
+
+
+
+ #define HOUR (60*MINUTE)
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ #define YEAR (365*DAY)
+
+
+
+
+
+Typedef Documentation
+
+
+
+
+
+
+Function Documentation
+
+
+
+
+
+
+ int gettimeofday
+ (
+ struct timeval *
+ tp ,
+
+
+
+
+ struct timezone *
+ tzp
+
+
+
+ )
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ int timeCmosRead
+ (
+ int
+
+ )
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ int timeInit
+ (
+
+ )
+
+
+
+
+
+
+
+
+
+
+
+Generated on Sat May 8 09:28:23 2004 for Ubixos by
+
+
+ 1.3.3
+
+
diff --git a/doc/doxygen/html/times_8h.html b/doc/doxygen/html/times_8h.html
new file mode 100644
index 0000000..7170506
--- /dev/null
+++ b/doc/doxygen/html/times_8h.html
@@ -0,0 +1,48 @@
+
+
+Ubixos: times.h File Reference
+
+
+
+times.h File Reference #include <ubixos/types.h >
+#include <sys/_types.h >
+
+
+Go to the source code of this file.
+Typedef Documentation
+
+
+
+Generated on Sat May 8 09:28:23 2004 for Ubixos by
+
+
+ 1.3.3
+
+
diff --git a/doc/doxygen/html/tss_8h.html b/doc/doxygen/html/tss_8h.html
new file mode 100644
index 0000000..a7a93bc
--- /dev/null
+++ b/doc/doxygen/html/tss_8h.html
@@ -0,0 +1,22 @@
+
+
+Ubixos: tss.h File Reference
+
+
+
+tss.h File Reference
+
+Go to the source code of this file.
+Generated on Sat May 8 09:28:23 2004 for Ubixos by
+
+
+ 1.3.3
+
+
diff --git a/doc/doxygen/html/types_8h.html b/doc/doxygen/html/types_8h.html
new file mode 100644
index 0000000..ee5b7ab
--- /dev/null
+++ b/doc/doxygen/html/types_8h.html
@@ -0,0 +1,322 @@
+
+
+Ubixos: types.h File Reference
+
+
+
+types.h File Reference #include <sys/_types.h >
+
+
+Go to the source code of this file.
+
+Defines
+#define NULL 0x0
+
+Typedefs
+typedef unsigned char uInt8
+
+typedef unsigned short uInt16
+
+typedef unsigned long uInt32
+
+typedef unsigned int uInt
+
+typedef char Int8
+
+typedef short Int16
+
+typedef long Int32
+
+typedef int pidType
+
+typedef int pid_t
+
+typedef int size_t
+
+Enumerations
+enum bool { FALSE = 0,
+TRUE = 1
+ }
+
+
+Define Documentation
+
+
+
+Typedef Documentation
+
+
+
+
+
+
+ typedef short Int16
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ typedef unsigned int uInt
+
+
+
+
+
+
+
+
+
+
+
+ typedef unsigned short uInt16
+
+
+
+
+
+
+
+
+
+
+
+ typedef unsigned long uInt32
+
+
+
+
+
+
+
+
+
+
+
+ typedef unsigned char uInt8
+
+
+
+
+
+Enumeration Type Documentation
+
+
+
+
+
+
+
+
+
+
+
Enumeration values:
+
+
+
+
+
+Generated on Sat May 8 09:28:23 2004 for Ubixos by
+
+
+ 1.3.3
+
+
diff --git a/doc/doxygen/html/ubixfs_8h-source.html b/doc/doxygen/html/ubixfs_8h-source.html
new file mode 100644
index 0000000..e1a193a
--- /dev/null
+++ b/doc/doxygen/html/ubixfs_8h-source.html
@@ -0,0 +1,132 @@
+
+
+Ubixos: ubixfs.h Source File
+
+
+
+ubixfs.h Go to the documentation of this file. 00001
+00002
+00003
+00004
+00005
+00006
+00007
+00008
+00009
+00010
+00011
+00012
+00013
+00014
+00015
+00016
+00017
+00018
+00019
+00020
+00021
+00022
+00023
+00024 #ifndef _UBIXFS_H
+00025 #define _UBIXFS_H
+00026
+00027 #include <ubixos/types.h >
+00028 #include <sys/device.h >
+00029 #include <vfs/file.h >
+00030
+00031 #define UBIXDISKMAGIC ((uInt32)0x45)
+00032 #define MAXPARTITIONS 4
+00033 #define blockSize 8
+00034 #define blockByteSize blockSize*512
+00035
+00036 #define EOBC -1
+00037
+00038
+00039 #define typeFile 1
+00040 #define typeContainer 2
+00041 #define typeDirectory 4
+00042 #define typeDeleted 8
+00043
+00045 struct ubixDiskLabel {
+00046 uInt32 magicNum ;
+00049 uInt16 numPartitions ;
+00051 struct drivePartitions {
+00052 uInt32 pSize ;
+00053 uInt32 pOffset ;
+00054 uInt32 pFsSize ;
+00055 uInt32 pBatSize ;
+00056 uInt8 pFsType ;
+00057 uInt8 pFrag ;
+00058 } partitions [MAXPARTITIONS ];
+00059 };
+00060
+00061 struct partitionInformation {
+00062 uInt32 size ;
+00063 uInt32 startSector ;
+00064 uInt32 blockAllocationTable ;
+00065 uInt32 rootDirectory ;
+00066 };
+00067
+00069 struct blockAllocationTableEntry {
+00070 long attributes ;
+00071 long realSector ;
+00072 long nextBlock ;
+00073 long reserved ;
+00074 };
+00075
+00077 struct directoryEntry {
+00078 uInt32 startCluster ;
+00079 uInt32 size ;
+00080 uInt32 creationDate ;
+00081 uInt32 lastModified ;
+00082 uInt32 uid ;
+00083 uInt32 gid ;
+00084 uInt16 attributes ;
+00085 uInt16 permissions ;
+00086 char fileName [256];
+00087 };
+00088
+00090 struct bootSect {
+00091 uInt8 jmp [4];
+00092 uInt8 id [6];
+00093 uInt16 version ;
+00094 uInt16 tmp ;
+00095 uInt16 fsStart ;
+00096 uInt16 tmp2 ;
+00097 uInt32 krnl_start ;
+00098 uInt BytesPerSector ;
+00099 uInt SectersPerTrack ;
+00100 uInt TotalHeads ;
+00101 uInt32 TotalSectors ;
+00102 uInt8 code [479];
+00103 };
+00104
+00106 struct ubixFsInfo {
+00107 struct blockAllocationTableEntry *blockAllocationTable ;
+00108 uInt32 batEntries ;
+00109 };
+00110
+00111 int readFile (char *file);
+00112 int writeFileByte (int ch,fileDescriptor *fd,long offset);
+00116 int openFileUbixFS (char *file,fileDescriptor *fd);
+00118 int mkDirUbixFS (char *dir,fileDescriptor *fd);
+00119 int getFreeBlocks (int count,fileDescriptor *fd);
+00120
+00121
+00124 int enableUbixFS ();
+00127 void initUbixFS (struct mountPoints *mp);
+00130 int readUbixFS (fileDescriptor *fd,char *data,long offset,long size);
+00133 int writeUbixFS (fileDescriptor *fd,char *data,long offset,long size);
+00134 void syncBat (struct mountPoints *mp);
+00135 int freeBlocks (int block,fileDescriptor *fd);
+00136
+00137 int addDirEntry (struct directoryEntry *dir,fileDescriptor *fd);
+00139 void ubixFSUnlink (char *path,struct mountPoints *mp);
+00140
+00141 #endif
+ Generated on Sat May 8 09:28:18 2004 for Ubixos by
+
+
+ 1.3.3
+
+
diff --git a/doc/doxygen/html/ubixfs_8h.html b/doc/doxygen/html/ubixfs_8h.html
new file mode 100644
index 0000000..bc38e00
--- /dev/null
+++ b/doc/doxygen/html/ubixfs_8h.html
@@ -0,0 +1,771 @@
+
+
+Ubixos: ubixfs.h File Reference
+
+
+
+ubixfs.h File Reference #include <ubixos/types.h >
+#include <sys/device.h >
+#include <vfs/file.h >
+
+
+Go to the source code of this file.
+
+Data Structures
+struct blockAllocationTableEntry
+
+struct bootSect
+
+ Bootsector structure. More...
+struct directoryEntry
+
+ UbixFS Directory Entry. More...
+struct partitionInformation
+
+struct ubixDiskLabel
+
+ Partition Information. More...
+struct ubixDiskLabel.drivePartitions
+
+struct ubixFsInfo
+
+Defines
+#define UBIXDISKMAGIC ((uInt32 )0x45)
+
+#define MAXPARTITIONS 4
+
+#define blockSize 8
+
+#define blockByteSize blockSize*512
+
+#define EOBC -1
+
+#define typeFile 1
+
+#define typeContainer 2
+
+#define typeDirectory 4
+
+#define typeDeleted 8
+
+Functions
+int readFile (char *file)
+
+int writeFileByte (int ch, fileDescriptor *fd, long offset)
+
+int openFileUbixFS (char *file, fileDescriptor *fd)
+
+int mkDirUbixFS (char *dir, fileDescriptor *fd)
+
+int getFreeBlocks (int count, fileDescriptor *fd)
+
+int enableUbixFS ()
+
+void initUbixFS (struct mountPoints *mp)
+
+int readUbixFS (fileDescriptor *fd, char *data, long offset, long size)
+
+int writeUbixFS (fileDescriptor *fd, char *data, long offset, long size)
+
+void syncBat (struct mountPoints *mp)
+
+int freeBlocks (int block, fileDescriptor *fd)
+
+int addDirEntry (struct directoryEntry *dir, fileDescriptor *fd)
+
+void ubixFSUnlink (char *path, struct mountPoints *mp)
+
+
+Define Documentation
+
+
+
+
+
+
+ #define blockByteSize blockSize*512
+
+
+
+
+
+
+
+
+
+
+
+ #define blockSize 8
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ #define MAXPARTITIONS 4
+
+
+
+
+
+
+
+
+
+
+
+ #define typeContainer 2
+
+
+
+
+
+
+
+
+
+
+
+ #define typeDeleted 8
+
+
+
+
+
+
+
+
+
+
+
+ #define typeDirectory 4
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ #define UBIXDISKMAGIC ((uInt32 )0x45)
+
+
+
+
+
+
+
+
+
+
+
+
+The disk magic number
+
+
+Function Documentation
+
+
+
+
+
+
+
+
+
+ int enableUbixFS
+ (
+
+ )
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+Registers UbixFS functions with the virtual file-system (using vfsRegisterFS). Returns 1 if a failure happened, and 0 if success.
+
+
+
+
+
+
+
+
+ int freeBlocks
+ (
+ int
+ block ,
+
+
+
+
+ fileDescriptor *
+ fd
+
+
+
+ )
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ int getFreeBlocks
+ (
+ int
+ count ,
+
+
+
+
+ fileDescriptor *
+ fd
+
+
+
+ )
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ void initUbixFS
+ (
+ struct mountPoints *
+ mp
+ )
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+Sets up the Ubix filesystem with appropriate data. If the medium is a hard-drive (or any medium?), it looks in the partition table.
+
+
+
+
+
+
+
+
+ int mkDirUbixFS
+ (
+ char *
+ dir ,
+
+
+
+
+ fileDescriptor *
+ fd
+
+
+
+ )
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+Makes a directory with the name directory. Returns 0
+
+
+
+
+
+
+
+
+ int openFileUbixFS
+ (
+ char *
+ file ,
+
+
+
+
+ fileDescriptor *
+ fd
+
+
+
+ )
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+Depending on fd->mode, it fills fd with data about the file (start, size, permissions etc.), if the string file is matched with a filename in the current directory. Returns 1 on success, and 0 on failure. The fileDescriptor struct definition can be found in VFS
+
+
+
+
+
+
+
+
+ int readFile
+ (
+ char *
+ file
+ )
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ int readUbixFS
+ (
+ fileDescriptor *
+ fd ,
+
+
+
+
+ char *
+ data ,
+
+
+
+
+ long
+ offset ,
+
+
+
+
+ long
+ size
+
+
+
+ )
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+Reads part (or can be whole) of a file into the memory pointed to by data. Returns size if successful, and 0 on failure.
+
+
+
+
+
+
+
+
+ void syncBat
+ (
+ struct mountPoints *
+ mp
+ )
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ void ubixFSUnlink
+ (
+ char *
+ path ,
+
+
+
+
+ struct mountPoints *
+ mp
+
+
+
+ )
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+Effectively erases the file or directory from the filesystem
+
+
+
+
+
+
+
+
+ int writeFileByte
+ (
+ int
+ ch ,
+
+
+
+
+ fileDescriptor *
+ fd ,
+
+
+
+
+ long
+ offset
+
+
+
+ )
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ int writeUbixFS
+ (
+ fileDescriptor *
+ fd ,
+
+
+
+
+ char *
+ data ,
+
+
+
+
+ long
+ offset ,
+
+
+
+
+ long
+ size
+
+
+
+ )
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+Writes part (or can be whole) of a file from the memory pointed to by data. Extends file if necessary. Returns size.
+
+
+Generated on Sat May 8 09:28:23 2004 for Ubixos by
+
+
+ 1.3.3
+
+
diff --git a/doc/doxygen/html/ubthread_8h.html b/doc/doxygen/html/ubthread_8h.html
new file mode 100644
index 0000000..127fdd0
--- /dev/null
+++ b/doc/doxygen/html/ubthread_8h.html
@@ -0,0 +1,586 @@
+
+
+Ubixos: ubthread.h File Reference
+
+
+
+ubthread.h File Reference #include <ubixos/types.h >
+#include <ubixos/sched.h >
+#include <ubixos/time.h >
+
+
+Go to the source code of this file.
+Define Documentation
+
+
+
+
+
+
+ #define ETIMEDOUT -1
+
+
+
+
+
+
+
+
+
+
+
+Typedef Documentation
+
+
+
+
+
+
+
+
+
+Function Documentation
+
+
+
+
+
+
+
+
+
+ int ubthread_cond_init
+ (
+ ubthread_cond_t *
+ cond ,
+
+
+
+
+ const uInt32
+ attr
+
+
+
+ )
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ int ubthread_create
+ (
+ kTask_t **
+ thread ,
+
+
+
+
+ const uInt32 *
+ attr ,
+
+
+
+
+ void *
+ start_routine ,
+
+
+
+
+ void *
+ arg
+
+
+
+ )
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ kTask_t * ubthread_self
+ (
+
+ )
+
+
+
+
+
+
+
+
+Generated on Sat May 8 09:28:23 2004 for Ubixos by
+
+
+ 1.3.3
+
+
diff --git a/doc/doxygen/html/udp_8h.html b/doc/doxygen/html/udp_8h.html
new file mode 100644
index 0000000..7840362
--- /dev/null
+++ b/doc/doxygen/html/udp_8h.html
@@ -0,0 +1,541 @@
+
+
+Ubixos: udp.h File Reference
+
+
+
+udp.h File Reference #include "net/arch.h "
+#include "net/pbuf.h "
+#include "net/ipv4/inet.h "
+#include "net/ipv4/ip.h "
+#include "net/err.h "
+
+
+Go to the source code of this file.
+
+Data Structures
+struct udp_hdr
+
+struct udp_pcb
+
+Defines
+#define UDP_HLEN 8
+
+#define UDP_FLAGS_NOCHKSUM 0x01
+
+#define UDP_FLAGS_UDPLITE 0x02
+
+#define udp_flags (pcb) ((pcb)->flags)
+
+#define udp_setflags (pcb, f) ((pcb)->flags = (f))
+
+Functions
+udp_pcb * udp_new (void)
+
+void udp_remove (struct udp_pcb *pcb)
+
+err_t udp_bind (struct udp_pcb *pcb, struct ip_addr *ipaddr, uInt16 port)
+
+err_t udp_connect (struct udp_pcb *pcb, struct ip_addr *ipaddr, uInt16 port)
+
+void udp_recv (struct udp_pcb *pcb, void(*recv)(void *arg, struct udp_pcb *upcb, struct pbuf *p, struct ip_addr *addr, uInt16 port), void *recv_arg)
+
+err_t udp_send (struct udp_pcb *pcb, struct pbuf *p)
+
+uInt8 udp_lookup (struct ip_hdr *iphdr, struct netif *inp)
+
+void udp_input (struct pbuf *p, struct netif *inp)
+
+void udp_init (void)
+
+Variables
+udp_hdr PACK_STRUCT_STRUCT
+
+
+Define Documentation
+
+
+
+
+
+
+ #define udp_flags
+ (
+ pcb
+
+ )
+ ((pcb)->flags)
+
+
+
+
+
+
+
+
+
+
+
+ #define UDP_FLAGS_NOCHKSUM 0x01
+
+
+
+
+
+
+
+
+
+
+
+ #define UDP_FLAGS_UDPLITE 0x02
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ #define udp_setflags
+ (
+ pcb,
+
+
+ f
+
+ )
+ ((pcb)->flags = (f))
+
+
+
+
+
+Function Documentation
+
+
+
+
+
+
+ err_t udp_bind
+ (
+ struct udp_pcb *
+ pcb ,
+
+
+
+
+ struct ip_addr *
+ ipaddr ,
+
+
+
+
+ uInt16
+ port
+
+
+
+ )
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ err_t udp_connect
+ (
+ struct udp_pcb *
+ pcb ,
+
+
+
+
+ struct ip_addr *
+ ipaddr ,
+
+
+
+
+ uInt16
+ port
+
+
+
+ )
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ void udp_init
+ (
+ void
+
+ )
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ void udp_input
+ (
+ struct pbuf *
+ p ,
+
+
+
+
+ struct netif *
+ inp
+
+
+
+ )
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ uInt8 udp_lookup
+ (
+ struct ip_hdr *
+ iphdr ,
+
+
+
+
+ struct netif *
+ inp
+
+
+
+ )
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ struct udp_pcb * udp_new
+ (
+ void
+
+ )
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ void udp_recv
+ (
+ struct udp_pcb *
+ pcb ,
+
+
+
+
+ void(*
+ recv )(void *arg, struct udp_pcb *upcb, struct pbuf *p, struct ip_addr *addr, uInt16 port),
+
+
+
+
+ void *
+ recv_arg
+
+
+
+ )
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ void udp_remove
+ (
+ struct udp_pcb *
+ pcb
+ )
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ err_t udp_send
+ (
+ struct udp_pcb *
+ pcb ,
+
+
+
+
+ struct pbuf *
+ p
+
+
+
+ )
+
+
+
+
+
+
+
+
+Variable Documentation
+
+
+
+Generated on Sat May 8 09:28:23 2004 for Ubixos by
+
+
+ 1.3.3
+
+
diff --git a/doc/doxygen/html/uniondescriptor_table_union.html b/doc/doxygen/html/uniondescriptor_table_union.html
new file mode 100644
index 0000000..f10ae49
--- /dev/null
+++ b/doc/doxygen/html/uniondescriptor_table_union.html
@@ -0,0 +1,93 @@
+
+
+Ubixos: descriptorTableUnion union Reference
+
+
+
+descriptorTableUnion Union Reference #include <gdt.h >
+
+
+Field Documentation
+
+
+
+
+
+
+
+
+
+ The documentation for this union was generated from the following file:
+Generated on Sat May 8 09:28:24 2004 for Ubixos by
+
+
+ 1.3.3
+
+
diff --git a/doc/doxygen/html/unionetheraddr.html b/doc/doxygen/html/unionetheraddr.html
new file mode 100644
index 0000000..7c04b6a
--- /dev/null
+++ b/doc/doxygen/html/unionetheraddr.html
@@ -0,0 +1,69 @@
+
+
+Ubixos: etheraddr union Reference
+
+
+
+etheraddr Union Reference #include <ne2k.h >
+
+
+
+Data Fields
+unsigned char bytes [6]
+
+unsigned short shorts [3]
+
+
+Field Documentation
+
+
+
+
+
+
+ The documentation for this union was generated from the following file:
+Generated on Sat May 8 09:28:24 2004 for Ubixos by
+
+
+ 1.3.3
+
+
diff --git a/doc/doxygen/html/vfs_8h.html b/doc/doxygen/html/vfs_8h.html
new file mode 100644
index 0000000..7300dbc
--- /dev/null
+++ b/doc/doxygen/html/vfs_8h.html
@@ -0,0 +1,452 @@
+
+
+Ubixos: vfs.h File Reference
+
+
+
+vfs.h File Reference #include <ubixos/types.h >
+
+
+Go to the source code of this file.
+Define Documentation
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ #define fileAppend 0x0008
+
+
+
+
+
+
+
+
+
+
+
+ #define fileBinary 0x0004
+
+
+
+
+
+
+
+
+
+
+
+ #define fileRead 0x0001
+
+
+
+
+
+
+
+
+
+
+
+ #define fileWrite 0x0002
+
+
+
+
+
+
+
+
+Typedef Documentation
+
+
+
+Function Documentation
+
+
+
+
+
+
+ fileDescriptor * fopen
+ (
+ const char *
+ file ,
+
+
+
+
+ const char *
+ flags
+
+
+
+ )
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ struct fileSystem * vfsFindFS
+ (
+ int
+
+ )
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ int vfsInit
+ (
+
+ )
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ int vfsRegisterFS
+ (
+ int
+ ,
+
+
+
+
+ void *
+ ,
+
+
+
+
+ void *
+ ,
+
+
+
+
+ void *
+ ,
+
+
+
+
+ void *
+ ,
+
+
+
+
+ void *
+ ,
+
+
+
+
+ void *
+ ,
+
+
+
+
+ void *
+ ,
+
+
+
+
+ void *
+
+
+
+
+ )
+
+
+
+
+
+
+
+
+Generated on Sat May 8 09:28:23 2004 for Ubixos by
+
+
+ 1.3.3
+
+
diff --git a/doc/doxygen/html/video_8h.html b/doc/doxygen/html/video_8h.html
new file mode 100644
index 0000000..a9777a4
--- /dev/null
+++ b/doc/doxygen/html/video_8h.html
@@ -0,0 +1,163 @@
+
+
+Ubixos: video.h File Reference
+
+
+
+video.h File Reference #include <ubixos/types.h >
+
+
+Go to the source code of this file.
+Define Documentation
+
+
+
+
+
+
+ #define defaultColor 0x0F
+
+
+
+
+
+Function Documentation
+
+
+
+
+
+
+ void backSpace
+ (
+
+ )
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ void clearScreen
+ (
+
+ )
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ void kprint
+ (
+ char *
+ string
+ )
+
+
+
+
+
+
+
+
+Variable Documentation
+
+
+
+Generated on Sat May 8 09:28:23 2004 for Ubixos by
+
+
+ 1.3.3
+
+
diff --git a/doc/doxygen/html/vitals_8h.html b/doc/doxygen/html/vitals_8h.html
new file mode 100644
index 0000000..24f4a06
--- /dev/null
+++ b/doc/doxygen/html/vitals_8h.html
@@ -0,0 +1,108 @@
+
+
+Ubixos: vitals.h File Reference
+
+
+
+vitals.h File Reference #include <ubixos/types.h >
+#include <ubixos/ubthread.h >
+#include <vfs/mount.h >
+#include <vfs/vfs.h >
+
+
+Go to the source code of this file.
+Typedef Documentation
+
+
+
+Function Documentation
+
+
+
+
+
+
+ int initVitals
+ (
+
+ )
+
+
+
+
+
+
+
+
+Variable Documentation
+
+
+
+Generated on Sat May 8 09:28:23 2004 for Ubixos by
+
+
+ 1.3.3
+
+
diff --git a/doc/doxygen/html/vmm_8h.html b/doc/doxygen/html/vmm_8h.html
new file mode 100644
index 0000000..59002bb
--- /dev/null
+++ b/doc/doxygen/html/vmm_8h.html
@@ -0,0 +1,419 @@
+
+
+Ubixos: vmm.h File Reference
+
+
+
+vmm.h File Reference #include <vmm/paging.h >
+#include <ubixos/types.h >
+
+
+Go to the source code of this file.
+Define Documentation
+
+
+
+
+
+
+
+
+
+ #define memNotavail 2
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ #define vmmMemoryMapAddr 0xE6667000
+
+
+
+
+
+Function Documentation
+
+
+
+
+
+
+ int adjustCowCounter
+ (
+ uInt32
+ baseAddr ,
+
+
+
+
+ int
+ adjustment
+
+
+
+ )
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ int countMemory
+ (
+
+ )
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ int freePage
+ (
+ uInt32
+ pageAddr
+ )
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ void vmmFreeProcessPages
+ (
+ pidType
+ pid
+ )
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ int vmmInit
+ (
+
+ )
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ int vmmMemMapInit
+ (
+
+ )
+
+
+
+
+
+
+
+
+Variable Documentation
+
+
+
+
+
+
+
+
+
+Generated on Sat May 8 09:28:23 2004 for Ubixos by
+
+
+ 1.3.3
+
+