packetHandleHost.h File Reference

パケット操作 More...

#include "structTables.h"
#include "nodeAccess.h"

Include dependency graph for packetHandleHost.h:

This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Defines

#define ConnectionDevice   int
#define WRITE_PACKET_INIT
#define READ_PACKET_INIT

Functions

int waitPacketResponse (ConnectionDevice *con, runCtrl_t *tbl, char *send_packet, int send_size, int unique_id)
void set_runRetryTimes (int times)
void set_runRecvTimeout (int timeout)


Detailed Description

パケット操作

Author:
Satofumi KAMIMURA
$Id$

Definition in file packetHandleHost.h.


Define Documentation

#define WRITE_PACKET_INIT

Value:

packetInfo_t pa; \
  ++unique_id; \
  initPacketInfo(&pa, (unsigned char *)send_packet, \
                 (unsigned char *)tbl, PACKET_WRITE_REQUEST, \
                 getStructId(node, (unsigned char *)tbl), unique_id);

Definition at line 22 of file packetHandleHost.h.

#define READ_PACKET_INIT

Value:

char send_packet[SEND_PACKET_SIZE]; \
  int send_size = 0; \
  packetInfo_t pa; \
  ++unique_id; \
  initPacketInfo(&pa, (unsigned char *)send_packet, \
                 (unsigned char *)tbl, PACKET_READ_REQUEST, \
                 getStructId(node, (unsigned char *)tbl), unique_id);

Definition at line 29 of file packetHandleHost.h.


Generated on Mon Apr 13 22:52:06 2009 by  doxygen 1.5.7.1