<html> <head> <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-a" /> <meta http-equiv="Content-Language" content="en" /> <meta name="description" content="SILC Secure Internet Live Conferencing" /> <meta name="keywords" content="SILC, secure, chat, protocol, cipher, encrypt, SKE" /> <meta content="INDEX, FOLLOW" name="ROBOTS" /> <style type="text/css"> <!-- body { color: #000000; background: #f0f0f0; font-family: Helvetica, Arial, Sans-serif; } a:link { text-decoration: none; color: #2f488f; } a:visited { text-decoration: none;color: #2f488f; } a:active { text-decoration: none; color: #2f488f; } --> </style> </head> <body topmargin="0" leftmargin="0" marginheight="0" marginwidth="0"> <table border="0" cellspacing="0" cellpadding="6" width="100%"> <tr valign="top" bgcolor="#dddddd"> <td><small>Copyright © 2001 - 2007 SILC Project<br /> <a href="http://silcnet.org">SILC Project Website</a></small></td> <td align="right"><small> <a href="index.html">SILC Toolkit Reference Manual</a><br /> <a href="toolkit_index.html">Index</a></small></td> </small></td> </tr> </table> <table border="0" cellspacing="0" cellpadding="0" width="100%"> <tr bgcolor="#444444"><td><img src="space.gif" width="1" height="1"border="0" alt="" ></td></tr> </table> <table cellpadding="0" cellspacing="0" border="0"> <tr valign="top"> <td width="200" bgcolor="#f0f0f0"> <img src="space.gif" width="1" height="1" border="0" alt=""> <table width="100%" cellpadding="2" cellspacing="2" border="0"> <tr valign="top"><td> <br /> <small> <!-- Template file for the big index that appears in the Toolkit reference manual on the left side. With this file it is possible to add other than automatically generated links to that list. --> <a href="index.html"><img src="box.gif" border="0" alt="">SILC Toolkit Reference Manual</a><br /> <a href=silccryptlib.html><img src=box.gif border=0 alt=>SILC Crypto Library</a><br /> <a href=silcrng_intro.html><img src=box2.gif border=0 alt=>Introduction to SILC RNG</a><br /> <a href=silcrng.html><img src=box2.gif border=0 alt=>SILC RNG Interface</a><br /> <a href=silccipher.html><img src=box2.gif border=0 alt=>SILC Cipher API</a><br /> <a href=silcpkcs.html><img src=box2.gif border=0 alt=>SILC PKCS API</a><br /> <a href=silcpk.html><img src=box2.gif border=0 alt=>SILC Public Key API</a><br /> <a href=silcpkcs1.html><img src=box2.gif border=0 alt=>SILC PKCS #1 API</a><br /> <a href=silchash.html><img src=box2.gif border=0 alt=>SILC Hash Interface</a><br /> <a href=silchmac.html><img src=box2.gif border=0 alt=>SILC HMAC Interface</a><br /> <a href=silccorelib.html><img src=box.gif border=0 alt=>SILC Core Library</a><br /> <a href=silcauth.html><img src=box2.gif border=0 alt=>SILC Authentication Interface</a><br /> <a href=silcmessage.html><img src=box2.gif border=0 alt=>SILC Message Interface</a><br /> <a href=silcchannel.html><img src=box2.gif border=0 alt=>SILC Channel Interface</a><br /> <a href=silccommand.html><img src=box2.gif border=0 alt=>SILC Command Interface</a><br /> <a href=silcnotify.html><img src=box2.gif border=0 alt=>SILC Notify Interface</a><br /> <a href=silcstatus.html><img src=box2.gif border=0 alt=>SILC Status Types</a><br /> <a href=silcmode.html><img src=box2.gif border=0 alt=>SILC Modes</a><br /> <a href=silcid.html><img src=box2.gif border=0 alt=>SILC ID Interface</a><br /> <a href=silcargument.html><img src=box2.gif border=0 alt=>SILC Argument Interface</a><br /> <a href=silcattrs.html><img src=box2.gif border=0 alt=>SILC Attributes Interface</a><br /> <a href=silcpacket.html><img src=box2.gif border=0 alt=>Packet Engine Interface</a><br /> <a href=silcpubkey.html><img src=box2.gif border=0 alt=>SILC Public Key Payload Interface</a><br /> <a href=silcskelib.html><img src=box.gif border=0 alt=>SILC Key Exchange Library</a><br /> <a href=silcske.html><img src=box2.gif border=0 alt=>SILC SKE Interface</a><br /> <a href=silcconnauth.html><img src=box2.gif border=0 alt=>SILC Connection Authentication Interface</a><br /> <a href=silcvcardlib.html><img src=box.gif border=0 alt=>SILC VCard Library</a><br /> <a href=silcvcard.html><img src=box2.gif border=0 alt=>SILC VCard Interface</a><br /> <a href=silcmathlib.html><img src=box.gif border=0 alt=>SILC Math Library</a><br /> <a href=silcmp.html><img src=box2.gif border=0 alt=>SILC MP Interface</a><br /> <a href=silcmath.html><img src=box2.gif border=0 alt=>SILC Math Interface</a><br /> <a href=silcclientlib.html><img src=box.gif border=0 alt=>SILC Client Library</a><br /> <a href=silcclient_using.html><img src=box2.gif border=0 alt=>Using SILC Client Library Tutorial</a><br /> <a href=command_reply_args.html><img src=box2.gif border=0 alt=>Arguments for <b>command_reply</b> Client Operation</a><br /> <a href=silcstatus_args.html><img src=box2.gif border=0 alt=>SilcStatus Error Arguments in <b>command_reply</b> Client Operation</a><br /> <a href=notifyargs.html><img src=box2.gif border=0 alt=>Arguments for <b>notify</b> Client Operation</a><br /> <a href=silcclient_unicode.html><img src=box2.gif border=0 alt=>Unicode and UTF-8 Strings in Client Library</a><br /> <a href=silcclient.html><img src=box2.gif border=0 alt=>Client Library Interface Reference</a><br /> <a href=silcclient_entry.html><img src=box2.gif border=0 alt=>Client Entry Interface Reference</a><br /> <a href=silcasn1lib.html><img src=box.gif border=0 alt=>SILC ASN.1 Library</a><br /> <a href=silcasn1.html><img src=box2.gif border=0 alt=>SILC ASN.1 Interface</a><br /> <a href=silcber.html><img src=box2.gif border=0 alt=>SILC BER interface</a><br /> <a href=silchttplib.html><img src=box.gif border=0 alt=>SILC HTTP Library</a><br /> <a href=silchttpserver.html><img src=box2.gif border=0 alt=>SILC HTTP Server Interface</a><br /> <a href=silchttpphp.html><img src=box2.gif border=0 alt=>SILC HTTP PHP Translator</a><br /> <a href=silcutillib.html><img src=box.gif border=0 alt=>SILC Utility Library</a><br /> <a href=silctypes.html><img src=box2.gif border=0 alt=>Basic Types and Definitions</a><br /> <a href=silcbuffer.html><img src=box2.gif border=0 alt=>Data Buffer Interface</a><br /> <a href=silcbuffmt.html><img src=box2.gif border=0 alt=>Data Buffer Format Interface</a><br /> <a href=silchashtable.html><img src=box2.gif border=0 alt=>Hash Table Interface</a><br /> <a href=silcmemory.html><img src=box2.gif border=0 alt=>Memory Allocation Interface</a><br /> <a href=silcstack.html><img src=box2.gif border=0 alt=>Data Stack (memory pool) Interface</a><br /> <a href=silcfsm.html><img src=box2.gif border=0 alt=>Finite State Machine Interface</a><br /> <a href=silcthread.html><img src=box2.gif border=0 alt=>Thread Interface</a><br /> <a href=silcmutex.html><img src=box2.gif border=0 alt=>Mutual Exclusion Lock Interface</a><br /> <a href=silccond.html><img src=box2.gif border=0 alt=>Condition Variable Interface</a><br /> <a href=silcatomic.html><img src=box2.gif border=0 alt=>Atomic Operations Interface</a><br /> <a href=silcnet.html><img src=box2.gif border=0 alt=>Network (TCP and UDP) Interface</a><br /> <a href=silcschedule.html><img src=box2.gif border=0 alt=>Scheduler Interface</a><br /> <a href=silcasync.html><img src=box2.gif border=0 alt=>Asynchronous Operation Interface</a><br /> <a href=silcstream.html><img src=box2.gif border=0 alt=>Abstract Stream Interface</a><br /> <a href=silcsocketstream.html><img src=box2.gif border=0 alt=>Socket Stream Interface</a><br /> <a href=silcfdstream.html><img src=box2.gif border=0 alt=>File Descriptor Stream Interface</a><br /> <a href=silcfileutil.html><img src=box2.gif border=0 alt=>File Utility Functions</a><br /> <a href=silcstrutil.html><img src=box2.gif border=0 alt=>String Utility Interface</a><br /> <a href=silcsnprintf.html><img src=box2.gif border=0 alt=>Snprintf Interface</a><br /> <a href=silcutf8.html><img src=box2.gif border=0 alt=>UTF-8 String Interface</a><br /> <a href=silcstringprep.html><img src=box2.gif border=0 alt=>Stringprep Interface</a><br /> <a href=silcutil.html><img src=box2.gif border=0 alt=>Utility Functions</a><br /> <a href=silclist.html><img src=box2.gif border=0 alt=>List Interface</a><br /> <a href=silcdlist.html><img src=box2.gif border=0 alt=>Dynamic List Interface</a><br /> <a href=silcmime.html><img src=box2.gif border=0 alt=>MIME Interface</a><br /> <a href=silctime.html><img src=box2.gif border=0 alt=>Time Utility Functions</a><br /> <a href=silclog.html><img src=box2.gif border=0 alt=>Logging Interface</a><br /> <a href=silcconfig.html><img src=box2.gif border=0 alt=>Config File Interface</a><br /> <a href=silcskrlib.html><img src=box.gif border=0 alt=>SILC Key Repository Library</a><br /> <a href=silcskr.html><img src=box2.gif border=0 alt=>SILC SKR Interface</a><br /> <a href=silcaputillib.html><img src=box.gif border=0 alt=>SILC Application Utility Library</a><br /> <a href=silcapputil.html><img src=box2.gif border=0 alt=>SILC Application Utilities</a><br /> <a href=silcidcache.html><img src=box2.gif border=0 alt=>SILC ID Cache Interface</a><br /> <a href=silcsftplib.html><img src=box.gif border=0 alt=>SILC SFTP Library</a><br /> <a href=silcsftp.html><img src=box2.gif border=0 alt=>SILC SFTP Interface</a><br /> <a href=silcsftp_fs.html><img src=box2.gif border=0 alt=>SFTP Filesystems Interface</a><br /> <br /> <b>Resource Links</b> <br /> <a href="http://silcnet.org"><img src="box.gif" border="0" alt="">SILC Project Website</a><br /> <a href="http://silcnet.org/support/documentation/"><img src="box.gif" border="0" alt="">SILC Protocol Documentation</a><br /> <a href="http://silcnet.org/support/documentation/wp/"><img src="box.gif" border="0" alt="">SILC White Paper</a><br /> <a href="http://silcnet.org/support/faq/"><img src="box.gif" border="0" alt="">SILC FAQs</a><br /> </small> <br /><br /><br /><br /> </td></tr> </table> </td> <td bgcolor="#cccccc" background="dot.gif"> <img src="space.gif" width="1" height="1" border="0" alt=""></td> <td width="720" bgcolor="#ffffff"> <img src="space.gif" width="1" height="1" border="0" alt=""> <table cellpadding="2" cellspacing="6" width="100%"> <tr><td valign="top"> <br /> <FONT SIZE="+2" COLOR="#000055"><B><A NAME="SilcPacketType">SilcPacketType</A></FONT></B><BR><BR> <FONT SIZE="+1"><B> <FONT COLOR="#000055">NAME </FONT></B></FONT> <PRE><FONT FACE="courier" size="3"> typedef <A HREF="silctypes-SilcUInt8.html">SilcUInt8</A> <B>SilcPacketType</B>; </FONT></PRE><FONT SIZE="+1"><B> <FONT COLOR="#000055">DESCRIPTION </FONT></B></FONT> <PRE><FONT FACE="Helvetiva,Arial,Sans-serif"> SILC packet type definition and all the packet types. </FONT></PRE><FONT SIZE="+1"><B> <FONT COLOR="#000055">SOURCE </FONT></B></FONT> <PRE><FONT FACE="courier" size="3"> typedef <A HREF="silctypes-SilcUInt8.html">SilcUInt8</A> <B>SilcPacketType</B>; /* SILC Packet types. */ #define SILC_PACKET_DISCONNECT 1 /* Disconnection */ #define SILC_PACKET_SUCCESS 2 /* Success */ #define SILC_PACKET_FAILURE 3 /* Failure */ #define SILC_PACKET_REJECT 4 /* Rejected */ #define SILC_PACKET_NOTIFY 5 /* Notify message */ #define SILC_PACKET_ERROR 6 /* Error message */ #define SILC_PACKET_CHANNEL_MESSAGE 7 /* Message for channel */ #define SILC_PACKET_CHANNEL_KEY 8 /* Key of the channel */ #define SILC_PACKET_PRIVATE_MESSAGE 9 /* Private message */ #define SILC_PACKET_PRIVATE_MESSAGE_KEY 10 /* Private message key*/ #define SILC_PACKET_COMMAND 11 /* Command */ #define SILC_PACKET_COMMAND_REPLY 12 /* Reply to a command */ #define SILC_PACKET_KEY_EXCHANGE 13 /* Start of KE */ #define SILC_PACKET_KEY_EXCHANGE_1 14 /* KE1 */ #define SILC_PACKET_KEY_EXCHANGE_2 15 /* KE2 */ #define SILC_PACKET_CONNECTION_AUTH_REQUEST 16 /* Request of auth meth */ #define SILC_PACKET_CONNECTION_AUTH 17 /* Connectinon auth */ #define SILC_PACKET_NEW_ID 18 /* Sending new ID */ #define SILC_PACKET_NEW_CLIENT 19 /* Client registering */ #define SILC_PACKET_NEW_SERVER 20 /* Server registering */ #define SILC_PACKET_NEW_CHANNEL 21 /* Channel registering */ #define SILC_PACKET_REKEY 22 /* Re-key start */ #define SILC_PACKET_REKEY_DONE 23 /* Re-key done */ #define SILC_PACKET_HEARTBEAT 24 /* Heartbeat */ #define SILC_PACKET_KEY_AGREEMENT 25 /* Key Agreement request */ #define SILC_PACKET_RESUME_ROUTER 26 /* Backup router resume */ #define SILC_PACKET_FTP 27 /* File Transfer */ #define SILC_PACKET_RESUME_CLIENT 28 /* Client resume */ #define SILC_PACKET_ACK 29 /* Acknowledgement */ #define SILC_PACKET_PRIVATE 200 /* Private range start */ #define SILC_PACKET_MAX 255 /* RESERVED */ #define SILC_PACKET_NONE 0 /* RESERVED */ #define SILC_PACKET_ANY 0</FONT></PRE> <br /><br /><br /><br /> </td></tr> </table> </td> <td bgcolor="#cccccc" background="dot.gif"> <img src="space.gif" width="1" height="1" border="0" alt=""></td> <td width="180" bgcolor="#f0f0f0"> <img src="space.gif" width="1" height="1" border="0" alt=""> <table width="100%" cellpadding="4" cellspacing="0"> <tr valign="top"><td> <br /> <font face="Helvetica,Arial,Sans-serif" size="1"> <A HREF="silcpacket.html"><IMG SRC="index_pic.gif" BORDER="0" ALT="">SILC Packet Engine Interface</A><BR> <A HREF="silcpacket-SilcPacketType.html"><IMG SRC="index_pic.gif" BORDER="0" ALT="">SilcPacketType</A><BR> <A HREF="silcpacket-SilcPacketFlags.html"><IMG SRC="index_pic.gif" BORDER="0" ALT="">SilcPacketFlags</A><BR> <A HREF="silcpacket-SilcPacketEngine.html"><IMG SRC="index_pic.gif" BORDER="0" ALT="">SilcPacketEngine</A><BR> <A HREF="silcpacket-SilcPacketStream.html"><IMG SRC="index_pic.gif" BORDER="0" ALT="">SilcPacketStream</A><BR> <A HREF="silcpacket-SilcPacket.html"><IMG SRC="index_pic.gif" BORDER="0" ALT="">SilcPacket</A><BR> <A HREF="silcpacket-SilcPacketError.html"><IMG SRC="index_pic.gif" BORDER="0" ALT="">SilcPacketError</A><BR> <A HREF="silcpacket-SilcPacketReceiveCb.html"><IMG SRC="index_pic.gif" BORDER="0" ALT="">SilcPacketReceiveCb</A><BR> <A HREF="silcpacket-SilcPacketEosCb.html"><IMG SRC="index_pic.gif" BORDER="0" ALT="">SilcPacketEosCb</A><BR> <A HREF="silcpacket-SilcPacketErrorCb.html"><IMG SRC="index_pic.gif" BORDER="0" ALT="">SilcPacketErrorCb</A><BR> <A HREF="silcpacket-SilcPacketCallbacks.html"><IMG SRC="index_pic.gif" BORDER="0" ALT="">SilcPacketCallbacks</A><BR> <A HREF="silcpacket-silc_packet_engine_start.html"><IMG SRC="index_pic.gif" BORDER="0" ALT="">silc_packet_engine_start</A><BR> <A HREF="silcpacket-silc_packet_engine_stop.html"><IMG SRC="index_pic.gif" BORDER="0" ALT="">silc_packet_engine_stop</A><BR> <A HREF="silcpacket-silc_packet_error_string.html"><IMG SRC="index_pic.gif" BORDER="0" ALT="">silc_packet_error_string</A><BR> <A HREF="silcpacket-silc_packet_engine_get_streams.html"><IMG SRC="index_pic.gif" BORDER="0" ALT="">silc_packet_engine_get_streams</A><BR> <A HREF="silcpacket-silc_packet_engine_free_streams_list.html"><IMG SRC="index_pic.gif" BORDER="0" ALT="">silc_packet_engine_free_streams_list</A><BR> <A HREF="silcpacket-silc_packet_stream_create.html"><IMG SRC="index_pic.gif" BORDER="0" ALT="">silc_packet_stream_create</A><BR> <A HREF="silcpacket-silc_packet_stream_add_remote.html"><IMG SRC="index_pic.gif" BORDER="0" ALT="">silc_packet_stream_add_remote</A><BR> <A HREF="silcpacket-silc_packet_stream_inject.html"><IMG SRC="index_pic.gif" BORDER="0" ALT="">silc_packet_stream_inject</A><BR> <A HREF="silcpacket-silc_packet_stream_destroy.html"><IMG SRC="index_pic.gif" BORDER="0" ALT="">silc_packet_stream_destroy</A><BR> <A HREF="silcpacket-silc_packet_stream_is_valid.html"><IMG SRC="index_pic.gif" BORDER="0" ALT="">silc_packet_stream_is_valid</A><BR> <A HREF="silcpacket-silc_packet_stream_set_router.html"><IMG SRC="index_pic.gif" BORDER="0" ALT="">silc_packet_stream_set_router</A><BR> <A HREF="silcpacket-silc_packet_stream_set_iv_included.html"><IMG SRC="index_pic.gif" BORDER="0" ALT="">silc_packet_stream_set_iv_included</A><BR> <A HREF="silcpacket-silc_packet_stream_set_stream.html"><IMG SRC="index_pic.gif" BORDER="0" ALT="">silc_packet_stream_set_stream</A><BR> <A HREF="silcpacket-silc_packet_stream_get_stream.html"><IMG SRC="index_pic.gif" BORDER="0" ALT="">silc_packet_stream_get_stream</A><BR> <A HREF="silcpacket-silc_packet_stream_link.html"><IMG SRC="index_pic.gif" BORDER="0" ALT="">silc_packet_stream_link</A><BR> <A HREF="silcpacket-silc_packet_stream_unlink.html"><IMG SRC="index_pic.gif" BORDER="0" ALT="">silc_packet_stream_unlink</A><BR> <A HREF="silcpacket-SilcPacketWrapCoder.html"><IMG SRC="index_pic.gif" BORDER="0" ALT="">SilcPacketWrapCoder</A><BR> <A HREF="silcpacket-silc_packet_stream_wrap.html"><IMG SRC="index_pic.gif" BORDER="0" ALT="">silc_packet_stream_wrap</A><BR> <A HREF="silcpacket-silc_packet_stream_is_udp.html"><IMG SRC="index_pic.gif" BORDER="0" ALT="">silc_packet_stream_is_udp</A><BR> <A HREF="silcpacket-silc_packet_get_sender.html"><IMG SRC="index_pic.gif" BORDER="0" ALT="">silc_packet_get_sender</A><BR> <A HREF="silcpacket-silc_packet_stream_ref.html"><IMG SRC="index_pic.gif" BORDER="0" ALT="">silc_packet_stream_ref</A><BR> <A HREF="silcpacket-silc_packet_stream_unref.html"><IMG SRC="index_pic.gif" BORDER="0" ALT="">silc_packet_stream_unref</A><BR> <A HREF="silcpacket-silc_packet_get_engine.html"><IMG SRC="index_pic.gif" BORDER="0" ALT="">silc_packet_get_engine</A><BR> <A HREF="silcpacket-silc_packet_set_context.html"><IMG SRC="index_pic.gif" BORDER="0" ALT="">silc_packet_set_context</A><BR> <A HREF="silcpacket-silc_packet_get_context.html"><IMG SRC="index_pic.gif" BORDER="0" ALT="">silc_packet_get_context</A><BR> <A HREF="silcpacket-silc_packet_set_keys.html"><IMG SRC="index_pic.gif" BORDER="0" ALT="">silc_packet_set_keys</A><BR> <A HREF="silcpacket-silc_packet_get_keys.html"><IMG SRC="index_pic.gif" BORDER="0" ALT="">silc_packet_get_keys</A><BR> <A HREF="silcpacket-silc_packet_set_ids.html"><IMG SRC="index_pic.gif" BORDER="0" ALT="">silc_packet_set_ids</A><BR> <A HREF="silcpacket-silc_packet_get_ids.html"><IMG SRC="index_pic.gif" BORDER="0" ALT="">silc_packet_get_ids</A><BR> <A HREF="silcpacket-silc_packet_set_sid.html"><IMG SRC="index_pic.gif" BORDER="0" ALT="">silc_packet_set_sid</A><BR> <A HREF="silcpacket-silc_packet_send.html"><IMG SRC="index_pic.gif" BORDER="0" ALT="">silc_packet_send</A><BR> <A HREF="silcpacket-silc_packet_send_ext.html"><IMG SRC="index_pic.gif" BORDER="0" ALT="">silc_packet_send_ext</A><BR> <A HREF="silcpacket-silc_packet_send_va.html"><IMG SRC="index_pic.gif" BORDER="0" ALT="">silc_packet_send_va</A><BR> <A HREF="silcpacket-silc_packet_send_va_ext.html"><IMG SRC="index_pic.gif" BORDER="0" ALT="">silc_packet_send_va_ext</A><BR> <A HREF="silcpacket-silc_packet_wait_init.html"><IMG SRC="index_pic.gif" BORDER="0" ALT="">silc_packet_wait_init</A><BR> <A HREF="silcpacket-silc_packet_wait_uninit.html"><IMG SRC="index_pic.gif" BORDER="0" ALT="">silc_packet_wait_uninit</A><BR> <A HREF="silcpacket-silc_packet_wait.html"><IMG SRC="index_pic.gif" BORDER="0" ALT="">silc_packet_wait</A><BR> <A HREF="silcpacket-silc_packet_free.html"><IMG SRC="index_pic.gif" BORDER="0" ALT="">silc_packet_free</A><BR> </font> <br /><br /><br /><br /> </td></tr> </table> </td> </tr> </table> <table border="0" cellspacing="0" cellpadding="0" width="100%"> <tr bgcolor="#444444"><td><img src="space.gif" width="1" height="1"border="0" alt="" ></td></tr> </table> <table border="0" cellspacing="0" cellpadding="6" width="100%"> <tr valign="top" bgcolor="#dddddd"> <td><small>Copyright © 2001 - 2007 SILC Project<br /> <a href="http://silcnet.org">SILC Project Website</a></small></td> <td align="right"><small> <a href="index.html">SILC Toolkit Reference Manual</a><br /> <a href="toolkit_index.html">Index</a></small></td> </small></td> </tr> </table> </body> </html>