[insert project logo here (125x200px max)]
Navigator
Mailinglists
Please report any errors or ommissions you find to our `Help' mailinglist, or
post a message in the Forums.
Copyright and Licensing Information
Snap is (c) Jonathan T. Moore, 1999-2002 and licensed under the
GNU General Public License (GPL).
All other parts of Splash are (c) Willem de Bruijn, 2002-2003 and
licensed under the BSD Open Source License.
All sourcecode is made publicly available.
Acknowledgement
Splash and the Splash website are hosted
by SourceForge.net
|
Splash - Documentation
SNMP Plus a Lightweight API for SNAP Handling
Main Page Alphabetical List Data Structures File List Data Fields Globals
snap-1.1-wjdb/lib/io.h File Reference#include "bytecode.h"
#include "packet.h"
Include dependency graph for io.h:
This graph shows which files directly or indirectly include this file:
Go to the source code of this file.
Function Documentation
int file_to_str |
( |
int |
fd, |
|
|
buffer_t * |
buf |
|
) |
|
|
|
Definition at line 162 of file snap_io.c.
References ADDI, BCASTI, BOGUSV, CALLS, packet_t::code_max, packet_t::code_min, snaphdr::code_sizeb, d_printf(), DIVI, ELSE_NOT_IN_FROM_HEAP, EQADR, EQFLT, EQI, EQSTR, EQTUP, FADDI, FDIVI, FGEQI, FGTI, heap_obj::flag, FLEQI, FLTI, FMULI, FSUBI, GEQI, GET_LIT, GET_OP, GTI, packet_t::h_alloc_heap_max, packet_t::hdr, packet_t::heap_max, packet_t::heap_min, snaphdr::heap_sizeb, IF_IN_FROM_HEAP, instr_t, packet_t::iph, packet_t::is_contiguous, heap_obj::len, buffer_t::lenb, LEQI, LTI, memalloc, MULTI, NEQI, NQADR, NQFLT, NQSTR, NQTUP, PADDR, packet_t::pc, PFLT, print_anti_timer, print_timer, PSTR, PTUP, PUSH, buffer_t::s, heap_obj::s, SET_LIT, SNETI, packet_t::sp, packet_t::stack_max, packet_t::stack_min, snaphdr::stack_sizeb, SUBI, SVCV, and value_t.
Referenced by main(). |
packet_t* unmarshal_packet |
( |
char * |
buffer, |
|
|
int |
packet_lenb, |
|
|
int |
buf_lenb |
|
) |
|
|
|
Definition at line 63 of file snap_io.c.
References packet_t::code_max, packet_t::code_min, snaphdr::code_sizeb, d_printf(), snaphdr::entry_point, packet_t::h_alloc_heap_max, packet_t::handler, packet_t::hdr, packet_t::heap_max, packet_t::heap_min, snaphdr::heap_sizeb, instr_t, packet_t::iph, packet_t::is_contiguous, packet_t::pc, print_anti_timer, print_timer, packet_t::sp, packet_t::stack_max, packet_t::stack_min, snaphdr::stack_sizeb, uint32, value_t, and VERIFY.
Referenced by main(), and snap_recv_pkt(). |
|