#include "rfcnb/rfcnb.h"
Go to the source code of this file.
Functions | |
int | RFCNB_Put_Pkt (struct RFCNB_Con *con, struct RFCNB_Pkt *pkt, int len) |
int | RFCNB_Get_Pkt (struct RFCNB_Con *con, struct RFCNB_Pkt *pkt, int len) |
Function Documentation
◆ RFCNB_Get_Pkt()
Definition at line 189 of file rfcnb-io.c.
References BOOL, RFCNB_Pkt::data, FALSE, RFCNB_Con::fd, RFCNB_Pkt::len, RFCNB_Pkt::next, NULL, RFCNB_Discard_Rest(), RFCNB_errno, RFCNB_Pkt_Hdr_Len, RFCNB_Pkt_Len, RFCNB_Pkt_Type, RFCNB_Print_Pkt(), RFCNB_saved_errno, RFCNB_SESSION_KEEP_ALIVE, RFCNB_Timeout, RFCNBE_Bad, RFCNBE_BadParam, RFCNBE_BadRead, RFCNBE_ConGone, RFCNBE_Timeout, and TRUE.
Referenced by RFCNB_Recv(), and RFCNB_Session_Req().
◆ RFCNB_Put_Pkt()
Definition at line 101 of file rfcnb-io.c.
References RFCNB_Pkt::data, RFCNB_Con::errn, RFCNB_Con::fd, iovec::iov_base, iovec::iov_len, RFCNB_Pkt::len, RFCNB_Pkt::next, NULL, RFCNB_errno, RFCNB_Print_Pkt(), RFCNB_saved_errno, RFCNB_Timeout, RFCNBE_Bad, RFCNBE_BadWrite, and RFCNBE_Timeout.
Referenced by RFCNB_Send(), and RFCNB_Session_Req().