/* returns non zero if we are currently processing or setup to process a header.  */
int iscsi_tcp_recv_segment_is_hdr(struct iscsi_tcp_conn *tcp_conn)
/* returns non zero if we are currently processing or setup to process a header.  */
int iscsi_tcp_recv_segment_is_hdr(struct iscsi_tcp_conn *tcp_conn)
{
	return tcp_conn->in.segment.done == iscsi_tcp_hdr_recv_done;
}