12.07.2015 Views

z/VM: TCP/IP Programmer's Reference - z/VM - IBM

z/VM: TCP/IP Programmer's Reference - z/VM - IBM

z/VM: TCP/IP Programmer's Reference - z/VM - IBM

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

Accessing a Service . . . . . . . . . . 305Kerberos Database. . . . . . . . . . . . 306Administration Server . . . . . . . . . . 306Kerberos C Language Applications Library . . . 307Kerberos Routines <strong>Reference</strong> . . . . . . . . 308Client Commands . . . . . . . . . . . 308Applications. . . . . . . . . . . . . . 309Kerberos Routines . . . . . . . . . . . . 309krb_get_cred() . . . . . . . . . . . . 309krb_kntoln() . . . . . . . . . . . . . 309krb_mk_err() . . . . . . . . . . . . 310krb_mk_priv() . . . . . . . . . . . . 310krb_mk_req() . . . . . . . . . . . . 311krb_mk_safe() . . . . . . . . . . . . 311krb_rd_err() . . . . . . . . . . . . . 312krb_rd_priv() . . . . . . . . . . . . 313krb_rd_req() . . . . . . . . . . . . . 314krb_rd_safe() . . . . . . . . . . . . 315krb_recvauth() . . . . . . . . . . . . 315krb_sendauth() . . . . . . . . . . . . 316Sample Kerberos Programs . . . . . . . . . 318Kerberos Client. . . . . . . . . . . . . 318Kerberos Server . . . . . . . . . . . . 320Chapter 9. SNMP Agent DistributedProgram Interface . . . . . . . . . 325SNMP Agents and Subagents . . . . . . . . 325Processing DPI Requests. . . . . . . . . . 326Processing a GET Request . . . . . . . . 327Processing a SET Request . . . . . . . . 327Processing a GET_NEXT Request. . . . . . 327Processing a REGISTER Request . . . . . . 328Processing a TRAP Request. . . . . . . . 328Compiling and Linking . . . . . . . . . . 328SNMP DPI <strong>Reference</strong> . . . . . . . . . . . 329DPI Library Routines . . . . . . . . . . . 329DPIdebug() . . . . . . . . . . . . . 329fDPIparse() . . . . . . . . . . . . . 330mkDPIlist() . . . . . . . . . . . . . 330mkDPIregister() . . . . . . . . . . . 331mkDPIresponse() . . . . . . . . . . . 331mkDPIset() . . . . . . . . . . . . . 332mkDPItrap(). . . . . . . . . . . . . 333mkDPItrape() . . . . . . . . . . . . 334Example of an Extended Trap . . . . . . . 334pDPIpacket() . . . . . . . . . . . . 335query_DPI_port() . . . . . . . . . . . 336Sample SNMP DPI Client Program . . . . . . 337The DPISAMPLE Program (Sample DPI Subagent) 337DPISAMPLE TABLE . . . . . . . . . . 339Client Sample Program . . . . . . . . . . 339Compiling and Linking the DPISAMPLE.CSource Code. . . . . . . . . . . . . 358Chapter 10. SMTP Virtual MachineInterfaces . . . . . . . . . . . . . 359SMTP Transactions . . . . . . . . . . . 359SMTP Commands . . . . . . . . . . . . 360HELO . . . . . . . . . . . . . . . 360EHLO . . . . . . . . . . . . . . . 361MAIL FROM . . . . . . . . . . . . 361RCPT TO . . . . . . . . . . . . . 362DATA . . . . . . . . . . . . . . . 363RSET . . . . . . . . . . . . . . . 364QUIT . . . . . . . . . . . . . . . 364NOOP. . . . . . . . . . . . . . . 364HELP . . . . . . . . . . . . . . . 364QUEU . . . . . . . . . . . . . . . 365VRFY . . . . . . . . . . . . . . . 367EXPN . . . . . . . . . . . . . . . 368VERB . . . . . . . . . . . . . . . 368TICK . . . . . . . . . . . . . . . 369SMTP Command Example . . . . . . . . . 369SMTP Command Responses . . . . . . . . 369Path Address Modifications . . . . . . . . 370Batch SMTP Command Files . . . . . . . . 371Batch SMTP Examples . . . . . . . . . . 371Sending Mail to a <strong>TCP</strong> Network Recipient. . . 371Querying SMTP Delivery Queues . . . . . 372SMTP Exit Routines . . . . . . . . . . . 373Client Verification Exit . . . . . . . . . . 373Built-in Client Verification Function . . . . . 373Client Verification Exit Parameter Lists . . . . 374Using the Mail Forwarding Exit . . . . . . . 378Mail Forwarding Exit Parameter Lists . . . . 379Using the SMTP Command Exit . . . . . . . 384SMTP Command Exit Parameter Lists . . . . 385Chapter 11. Telnet Exits . . . . . . . 391Telnet Session Connection Exit . . . . . . . 391Telnet Exit Parameter List . . . . . . . . 392Sample Exit . . . . . . . . . . . . . 392Telnet Printer Management Exit . . . . . . . 393Telnet Printer Management Exit Parameter List 393Sample Exit . . . . . . . . . . . . . 393Chapter 12. FTP Server Exit . . . . . 395The FTP Server Exit . . . . . . . . . . . 395Sample Exit . . . . . . . . . . . . . 395Audit Processing . . . . . . . . . . . . 395Audit Processing Parameter List . . . . . . 396Audit Processing Parameter Descriptions . . . 396Return Codes from Audit Processing . . . . 398General Command Processing . . . . . . . . 398General Command Processing Parameter List 398General Command Processing ParameterDescriptions . . . . . . . . . . . . . 399Return Codes from General CommandProcessing . . . . . . . . . . . . . 400Change Directory Processing . . . . . . . . 401Change Directory Processing Parameter List . . 401Appendix A. Pascal Return Codes . . 405Explanatory Notes. . . . . . . . . . . . 407Appendix B. C API System ReturnCodes . . . . . . . . . . . . . . 409Contentsvii

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!