: check_tcp_cksum { *ip | *tcp buff[ #12 ] -- flag }
Check incoming TCP cksum, returning true for a good checkum.
: dump_line \ address bytes --
Display a small memory area as a single line of bytes
followed by the ASCII equivalent.
: .protocol \ protocol --
Display the protocol type.
: .socket_type \ type --
Display the socket type.
: .iphdr \ addr --
Display an ip header.
: .udp \ *ip --
Prints UDP packet information.
: .tcpFlags { fl -- }
Display flag word contents.
: .tcp { *ip | *tcp -- }
Prints TCP packet information.
: .tcpcb { *cb -- }
Prints TCP packet information.
: .sockaddr_in \ ^sockaddr_in --
Display the contents of a SOCKADDR_IN or SOCKADDR
structure.
: show-socket \ hs --
Short form of display of socket data.
: netstat \ --
Display short-form data about all non-closed sockets.
: .ippkt { *ip -- }
Prints IP packet information.
: .etheradd \ addr --
Display an Ethernet MAC address at addr.
: .route \ *rt --
Show the routing table entry contents.
: .routes \ --
Show all routing table entries.
: .qd \ *q --
List the queue data.
: (.socket) \ *sk --
Display the supplied socket structure.
: .socket \ HSOCKET --
Long form display from the supplied socket handle.
: .k { | *sk -- }
Show socket states in short form.
: .lk \ --
Show all active socket states in long form.
: .err \ --
Display current socket error.
: z \ --
Dump 64kb of memory at 0000:0000 and time the result.
Mostly used for Telnet checking and performance testing.
: zz \ --
Perform Z above until a key is pressed.