aboutsummaryrefslogtreecommitdiff
path: root/j1demo/firmware/defines_tcpip.fs
diff options
context:
space:
mode:
authorDimitri Sokolyuk <ds@doozer.de>2017-05-23 17:06:09 +0200
committerDimitri Sokolyuk <ds@doozer.de>2017-05-23 17:06:09 +0200
commit6f86ce7057dd7cd1b491e8f09501258822d2ea74 (patch)
treeb3bfa11f0f72d0e1ca7c84d948af20b7494dd26b /j1demo/firmware/defines_tcpip.fs
Import j1demo
Diffstat (limited to 'j1demo/firmware/defines_tcpip.fs')
-rw-r--r--j1demo/firmware/defines_tcpip.fs70
1 files changed, 70 insertions, 0 deletions
diff --git a/j1demo/firmware/defines_tcpip.fs b/j1demo/firmware/defines_tcpip.fs
new file mode 100644
index 0000000..90d3990
--- /dev/null
+++ b/j1demo/firmware/defines_tcpip.fs
@@ -0,0 +1,70 @@
+42 constant OFFSET_DHCP
+70 constant OFFSET_DHCP_CHADDR
+54 constant OFFSET_DHCP_CIADDR
+150 constant OFFSET_DHCP_FILE
+52 constant OFFSET_DHCP_FLAGS
+66 constant OFFSET_DHCP_GIADDR
+44 constant OFFSET_DHCP_HLEN
+45 constant OFFSET_DHCP_HOPS
+43 constant OFFSET_DHCP_HTYPE
+42 constant OFFSET_DHCP_OP
+278 constant OFFSET_DHCP_OPTIONS
+50 constant OFFSET_DHCP_SECS
+62 constant OFFSET_DHCP_SIADDR
+548 constant OFFSET_DHCP_SIZE
+86 constant OFFSET_DHCP_SNAME
+46 constant OFFSET_DHCP_XID
+58 constant OFFSET_DHCP_YIADDR
+42 constant OFFSET_DNS
+44 constant OFFSET_DNS_FLAGS
+42 constant OFFSET_DNS_IDENTIFICATION
+48 constant OFFSET_DNS_NOA
+52 constant OFFSET_DNS_NOARR
+46 constant OFFSET_DNS_NOQ
+50 constant OFFSET_DNS_NORR
+54 constant OFFSET_DNS_QUERY
+13 constant OFFSET_DNS_SIZE
+0 constant OFFSET_ETH
+0 constant OFFSET_ETH_DST
+14 constant OFFSET_ETH_SIZE
+6 constant OFFSET_ETH_SRC
+12 constant OFFSET_ETH_TYPE
+34 constant OFFSET_ICMP
+36 constant OFFSET_ICMP_CHKSUM
+38 constant OFFSET_ICMP_IDENTIFIER
+40 constant OFFSET_ICMP_SEQUENCE
+8 constant OFFSET_ICMP_SIZE
+34 constant OFFSET_ICMP_TYPECODE
+14 constant OFFSET_IP
+24 constant OFFSET_IP_CHKSUM
+30 constant OFFSET_IP_DSTIP
+18 constant OFFSET_IP_IPID
+20 constant OFFSET_IP_IPOFFSET
+16 constant OFFSET_IP_LENGTH
+20 constant OFFSET_IP_SIZE
+26 constant OFFSET_IP_SRCIP
+22 constant OFFSET_IP_TTLPROTO
+14 constant OFFSET_IP_VHLTOS
+42 constant OFFSET_JUICE
+68 constant OFFSET_JUICE_COMMAND
+42 constant OFFSET_JUICE_HASH
+62 constant OFFSET_JUICE_MAGIC
+70 constant OFFSET_JUICE_PAYLOAD
+66 constant OFFSET_JUICE_SEQ
+30 constant OFFSET_JUICE_SIZE
+34 constant OFFSET_TCP
+42 constant OFFSET_TCP_ACK
+50 constant OFFSET_TCP_CHECKSUM
+36 constant OFFSET_TCP_DESTPORT
+46 constant OFFSET_TCP_FLAGS
+38 constant OFFSET_TCP_SEQNUM
+20 constant OFFSET_TCP_SIZE
+34 constant OFFSET_TCP_SOURCEPORT
+52 constant OFFSET_TCP_URGENT
+48 constant OFFSET_TCP_WINDOW
+34 constant OFFSET_UDP
+40 constant OFFSET_UDP_CHECKSUM
+36 constant OFFSET_UDP_DESTPORT
+38 constant OFFSET_UDP_LENGTH
+8 constant OFFSET_UDP_SIZE
+34 constant OFFSET_UDP_SOURCEPORT