Ignore:
Timestamp:
Feb 20, 2016, 10:43:32 PM (8 years ago)
Author:
coas-nagasima
Message:

インクルードのパス指定をContikiに合わせ変更。
整数型の型名をContikiに合わせ変更。

File:
1 edited

Legend:

Unmodified
Added
Removed
  • uKadecot/trunk/uip/net/ip/psock.h

    r157 r158  
    8282#define __PSOCK_H__
    8383
    84 #include "uipopt.h"
    85 #include "pt.h"
     84#include "net/ip/uipopt.h"
     85#include "sys/pt.h"
    8686
    8787 /*
     
    9494 */
    9595struct psock_buf {
    96   u8_t *ptr;
     96  uint8_t *ptr;
    9797  unsigned short left;
    9898};
     
    108108                            functions, and one that runs inside the
    109109                            psock functions. */
    110   const u8_t *sendptr;   /* Pointer to the next data to be sent. */
    111   u8_t *readptr;         /* Pointer to the next data to be read. */
     110  const uint8_t *sendptr;   /* Pointer to the next data to be sent. */
     111  uint8_t *readptr;         /* Pointer to the next data to be read. */
    112112
    113113  char *bufptr;          /* Pointer to the buffer used for buffering
    114114                            incoming data. */
    115115
    116   u16_t sendlen;         /* The number of bytes left to be sent. */
    117   u16_t readlen;         /* The number of bytes left to be read. */
     116  uint16_t sendlen;         /* The number of bytes left to be sent. */
     117  uint16_t readlen;         /* The number of bytes left to be read. */
    118118
    119119  struct psock_buf buf;  /* The structure holding the state of the
     
    281281#define PSOCK_DATALEN(psock) psock_datalen(psock)
    282282
    283 u16_t psock_datalen(struct psock *psock);
     283uint16_t psock_datalen(struct psock *psock);
    284284
    285285/**
Note: See TracChangeset for help on using the changeset viewer.