#include "squid.h"
#include "rfcnb/rfcnb-io.h"
#include "rfcnb/rfcnb-priv.h"
#include "rfcnb/rfcnb-util.h"
#include "rfcnb/std-includes.h"
#include <sys/uio.h>
Go to the source code of this file.
Functions | |
static int | RFCNB_Discard_Rest (struct RFCNB_Con *con, int len) |
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) |
Variables | |
int | RFCNB_Timeout = 0 |
Function Documentation
◆ RFCNB_Discard_Rest()
Definition at line 54 of file rfcnb-io.c.
References RFCNB_Con::fd, RFCNB_errno, RFCNB_saved_errno, RFCNBE_Bad, RFCNBE_BadRead, and RFCNBE_ConGone.
Referenced by RFCNB_Get_Pkt().
◆ 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().
Variable Documentation
◆ RFCNB_Timeout
int RFCNB_Timeout = 0 |
Definition at line 47 of file rfcnb-io.c.
Referenced by RFCNB_Get_Pkt(), and RFCNB_Put_Pkt().