Changeset 158 for uKadecot/trunk/uip/net/ip/psock.h
- Timestamp:
- Feb 20, 2016, 10:43:32 PM (7 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uKadecot/trunk/uip/net/ip/psock.h
r157 r158 82 82 #define __PSOCK_H__ 83 83 84 #include " uipopt.h"85 #include " pt.h"84 #include "net/ip/uipopt.h" 85 #include "sys/pt.h" 86 86 87 87 /* … … 94 94 */ 95 95 struct psock_buf { 96 u 8_t *ptr;96 uint8_t *ptr; 97 97 unsigned short left; 98 98 }; … … 108 108 functions, and one that runs inside the 109 109 psock functions. */ 110 const u 8_t *sendptr; /* Pointer to the next data to be sent. */111 u 8_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. */ 112 112 113 113 char *bufptr; /* Pointer to the buffer used for buffering 114 114 incoming data. */ 115 115 116 u 16_t sendlen; /* The number of bytes left to be sent. */117 u 16_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. */ 118 118 119 119 struct psock_buf buf; /* The structure holding the state of the … … 281 281 #define PSOCK_DATALEN(psock) psock_datalen(psock) 282 282 283 u 16_t psock_datalen(struct psock *psock);283 uint16_t psock_datalen(struct psock *psock); 284 284 285 285 /**
Note:
See TracChangeset
for help on using the changeset viewer.