/dports/ftp/ftplib/ftplib-4.0-1/src/ |
H A D | ftplib.h | 71 typedef struct NetBuf netbuf; typedef 83 GLOBALREF char *FtpLastResponse(netbuf *nControl); 87 GLOBALREF int FtpClearCallback(netbuf *nControl); 90 netbuf **nData); 91 GLOBALREF int FtpRead(void *buf, int max, netbuf *nData); 93 GLOBALREF int FtpClose(netbuf *nData); 94 GLOBALREF int FtpSite(const char *cmd, netbuf *nControl); 98 GLOBALREF int FtpCDUp(netbuf *nControl); 109 netbuf *nControl); 111 netbuf *nControl); [all …]
|
/dports/games/maelstrom/Maelstrom-3.0.6/ |
H A D | netscore.cpp | 25 char netbuf[1024], *crc; in RegisterHighScore() local 39 strcpy(netbuf, "SHOWKEY\n"); in RegisterHighScore() 40 SDLNet_TCP_Send(remote, netbuf, strlen(netbuf)); in RegisterHighScore() 62 snprintf(netbuf, sizeof(netbuf), SCOREFMT, crc, high.name, high.score, high.wave); in RegisterHighScore() 63 SDLNet_TCP_Send(remote, netbuf, strlen(netbuf)); in RegisterHighScore() 66 netbuf[n] = '\0'; in RegisterHighScore() 91 ptr = netbuf; in GetLine() 101 ptr = netbuf; in GetLine() 122 char netbuf[1024], *ptr; in NetLoadScores() local 136 SDLNet_TCP_Send(remote, netbuf, strlen(netbuf)); in NetLoadScores() [all …]
|
/dports/net/olsrd/olsrd-0.9.8/src/ |
H A D | net_olsr.c | 128 if (ifp->netbuf.bufsize != ifp->int_mtu && ifp->netbuf.buff != NULL) { in net_add_buffer() 141 ifp->netbuf.pending = 0; in net_add_buffer() 159 if (ifp->netbuf.pending) in net_remove_buffer() 162 free(ifp->netbuf.buff); in net_remove_buffer() 163 ifp->netbuf.buff = NULL; in net_remove_buffer() 222 if ((ifp->netbuf.pending + size) > ifp->netbuf.maxsize) in net_outbuffer_push() 225 memcpy(&ifp->netbuf.buff[ifp->netbuf.pending + OLSR_HEADERSIZE], data, size); in net_outbuffer_push() 245 if ((ifp->netbuf.pending + size) > (ifp->netbuf.maxsize + ifp->netbuf.reserved)) in net_outbuffer_push_reserved() 248 memcpy(&ifp->netbuf.buff[ifp->netbuf.pending + OLSR_HEADERSIZE], data, size); in net_outbuffer_push_reserved() 267 int remaining = ifp->netbuf.maxsize - ifp->netbuf.pending; in net_outbuffer_bytes_left() [all …]
|
/dports/devel/upp/upp/uppsrc/plugin/ftp/lib/ |
H A D | ftplib.h | 58 typedef struct NetBuf netbuf; typedef 62 GLOBALREF char *FtpLastResponse(netbuf *nControl); 68 netbuf **nData); 69 GLOBALREF int FtpRead(void *buf, int max, netbuf *nData); 70 GLOBALREF int FtpWrite(void *buf, int len, netbuf *nData); 71 GLOBALREF int FtpClose(netbuf *nData); 72 GLOBALREF int FtpSite(const char *cmd, netbuf *nControl); 74 GLOBALREF int FtpMkdir(const char *path, netbuf *nControl); 76 GLOBALREF int FtpCDUp(netbuf *nControl); 83 GLOBALREF void FtpQuit(netbuf *nControl); [all …]
|
/dports/ftp/weex/weex-2.8.3/src/ |
H A D | ftplib.h | 66 typedef struct NetBuf netbuf; typedef 71 extern netbuf *DefaultNetbuf; 94 GLOBALREF char *FtpLastResponse(netbuf *nControl); 100 netbuf **nData); 101 GLOBALREF int FtpRead(void *buf, int max, netbuf *nData); 103 GLOBALREF int FtpClose(netbuf *nData); 104 GLOBALREF int FtpClose2(netbuf *nData); 109 GLOBALREF int FtpCDUp(netbuf *nControl); 117 netbuf *nControl); 119 netbuf *nControl); [all …]
|
/dports/misc/sword/sword-1.8.1/include/ |
H A D | ftplib.h | 71 typedef struct NetBuf netbuf; typedef 77 netbuf *DefaultNetbuf; 99 GLOBALREF char *FtpLastResponse(netbuf *nControl); 104 netbuf **nData); 105 GLOBALREF int FtpRead(void *buf, int max, netbuf *nData); 107 GLOBALREF int FtpClose(netbuf *nData); 108 GLOBALREF int FtpSite(const char *cmd, netbuf *nControl); 112 GLOBALREF int FtpCDUp(netbuf *nControl); 120 netbuf *nControl); 122 netbuf *nControl); [all …]
|
/dports/graphics/stamp/stamp-2.0.8/lib/ |
H A D | ftplib.h | 55 typedef struct NetBuf netbuf; typedef 58 extern netbuf *DefaultNetbuf; 79 GLOBALREF char *FtpLastResponse(netbuf *nControl); 83 netbuf **nData); 84 GLOBALREF int FtpRead(void *buf, int max, netbuf *nData); 85 GLOBALREF int FtpWrite(void *buf, int len, netbuf *nData); 86 GLOBALREF int FtpClose(netbuf *nData); 87 GLOBALREF int FtpSite(const char *cmd, netbuf *nControl); 94 netbuf *nControl); 96 netbuf *nControl); [all …]
|
H A D | ftplib.c | 80 netbuf *DefaultNetbuf; 317 netbuf *ctrl; in FtpConnect() 378 ctrl = calloc(1,sizeof(netbuf)); in FtpConnect() 452 static int FtpOpenPort(netbuf *nControl, netbuf **nData, int mode, int dir) in FtpOpenPort() 464 netbuf *ctrl; in FtpOpenPort() 520 ctrl = calloc(1,sizeof(netbuf)); in FtpOpenPort() 546 netbuf **nData) in FtpAccess() 703 netbuf *nData; in FtpXfer() 748 netbuf *nControl) in FtpNlst() 769 char mode, netbuf *nControl) in FtpGet() [all …]
|
/dports/games/iortcw/iortcw-1.51c/SP/code/server/ |
H A D | sv_net_chan.c | 150 netchan_buffer_t *netbuf, *next; in SV_Netchan_FreeQueue() local 152 for(netbuf = client->netchan_start_queue; netbuf; netbuf = next) in SV_Netchan_FreeQueue() 154 next = netbuf->next; in SV_Netchan_FreeQueue() 155 Z_Free(netbuf); in SV_Netchan_FreeQueue() 169 netchan_buffer_t *netbuf; in SV_Netchan_TransmitNextInQueue() local 177 SV_Netchan_Encode(client, &netbuf->msg, netbuf->clientCommandString); in SV_Netchan_TransmitNextInQueue() 182 Netchan_Transmit(&client->netchan, netbuf->msg.cursize, netbuf->msg.data); in SV_Netchan_TransmitNextInQueue() 194 Z_Free(netbuf); in SV_Netchan_TransmitNextInQueue() 238 netchan_buffer_t *netbuf; in SV_Netchan_Transmit() local 242 MSG_Copy(&netbuf->msg, netbuf->msgBuffer, sizeof( netbuf->msgBuffer ), msg); in SV_Netchan_Transmit() [all …]
|
/dports/games/iortcw/iortcw-1.51c/MP/code/server/ |
H A D | sv_net_chan.c | 148 netchan_buffer_t *netbuf, *next; in SV_Netchan_FreeQueue() local 150 for(netbuf = client->netchan_start_queue; netbuf; netbuf = next) in SV_Netchan_FreeQueue() 152 next = netbuf->next; in SV_Netchan_FreeQueue() 153 Z_Free(netbuf); in SV_Netchan_FreeQueue() 167 netchan_buffer_t *netbuf; in SV_Netchan_TransmitNextInQueue() local 174 SV_Netchan_Encode(client, &netbuf->msg, netbuf->clientCommandString); in SV_Netchan_TransmitNextInQueue() 177 Netchan_Transmit(&client->netchan, netbuf->msg.cursize, netbuf->msg.data); in SV_Netchan_TransmitNextInQueue() 189 Z_Free(netbuf); in SV_Netchan_TransmitNextInQueue() 234 netchan_buffer_t *netbuf; in SV_Netchan_Transmit() local 238 MSG_Copy( &netbuf->msg, netbuf->msgBuffer, sizeof( netbuf->msgBuffer ), msg ); in SV_Netchan_Transmit() [all …]
|
/dports/comms/uhd/uhd-90ce6062b6b5df2eddeee723777be85108e4e7c7/firmware/octoclock/include/lwip/ |
H A D | netbuf.h | 42 struct netbuf { struct 49 struct netbuf * netbuf_new (void); argument 50 void netbuf_delete (struct netbuf *buf); 52 void netbuf_free (struct netbuf *buf); 53 err_t netbuf_ref (struct netbuf *buf, 55 void netbuf_chain (struct netbuf *head, 56 struct netbuf *tail); 58 u16_t netbuf_len (struct netbuf *buf); 59 err_t netbuf_data (struct netbuf *buf, 61 s8_t netbuf_next (struct netbuf *buf); [all …]
|
/dports/comms/uhd/uhd-90ce6062b6b5df2eddeee723777be85108e4e7c7/firmware/usrp2/lwip/lwip-1.3.1/src/include/lwip/ |
H A D | netbuf.h | 42 struct netbuf { struct 49 struct netbuf * netbuf_new (void); argument 50 void netbuf_delete (struct netbuf *buf); 52 void netbuf_free (struct netbuf *buf); 53 err_t netbuf_ref (struct netbuf *buf, 55 void netbuf_chain (struct netbuf *head, 56 struct netbuf *tail); 58 u16_t netbuf_len (struct netbuf *buf); 59 err_t netbuf_data (struct netbuf *buf, 61 s8_t netbuf_next (struct netbuf *buf); [all …]
|
/dports/comms/uhd/uhd-90ce6062b6b5df2eddeee723777be85108e4e7c7/firmware/usrp3/lwip/lwip-1.3.1/src/include/lwip/ |
H A D | netbuf.h | 42 struct netbuf { struct 49 struct netbuf * netbuf_new (void); argument 50 void netbuf_delete (struct netbuf *buf); 52 void netbuf_free (struct netbuf *buf); 53 err_t netbuf_ref (struct netbuf *buf, 55 void netbuf_chain (struct netbuf *head, 56 struct netbuf *tail); 58 u16_t netbuf_len (struct netbuf *buf); 59 err_t netbuf_data (struct netbuf *buf, 61 s8_t netbuf_next (struct netbuf *buf); [all …]
|
/dports/devel/arduino-core/Arduino-b439a77/hardware/arduino/avr/firmwares/wifishield/wifiHD/src/SOFTWARE_FRAMEWORK/SERVICES/LWIP/lwip-1.3.2/src/include/lwip/ |
H A D | netbuf.h | 45 struct netbuf { struct 56 struct netbuf * netbuf_new (void); argument 57 void netbuf_delete (struct netbuf *buf); 59 void netbuf_free (struct netbuf *buf); 60 err_t netbuf_ref (struct netbuf *buf, 62 void netbuf_chain (struct netbuf *head, 63 struct netbuf *tail); 65 u16_t netbuf_len (struct netbuf *buf); 66 err_t netbuf_data (struct netbuf *buf, 68 s8_t netbuf_next (struct netbuf *buf); [all …]
|
/dports/devel/arduino-core/Arduino-b439a77/libraries/WiFi/extras/wifiHD/src/SOFTWARE_FRAMEWORK/SERVICES/LWIP/lwip-1.3.2/src/include/lwip/ |
H A D | netbuf.h | 45 struct netbuf { struct 56 struct netbuf * netbuf_new (void); argument 57 void netbuf_delete (struct netbuf *buf); 59 void netbuf_free (struct netbuf *buf); 60 err_t netbuf_ref (struct netbuf *buf, 62 void netbuf_chain (struct netbuf *head, 63 struct netbuf *tail); 65 u16_t netbuf_len (struct netbuf *buf); 66 err_t netbuf_data (struct netbuf *buf, 68 s8_t netbuf_next (struct netbuf *buf); [all …]
|
/dports/sysutils/syslinux/syslinux-6.03/core/lwip/src/include/lwip/ |
H A D | netbuf.h | 48 struct netbuf { struct 64 struct netbuf * netbuf_new (void); argument 65 void netbuf_delete (struct netbuf *buf); 66 void * netbuf_alloc (struct netbuf *buf, u16_t size); 67 void netbuf_free (struct netbuf *buf); 68 err_t netbuf_ref (struct netbuf *buf, 70 void netbuf_chain (struct netbuf *head, 71 struct netbuf *tail); 73 err_t netbuf_data (struct netbuf *buf, 75 s8_t netbuf_next (struct netbuf *buf); [all …]
|
/dports/games/ioquake3-server/ioquake3-1.36/code/server/ |
H A D | sv_net_chan.c | 144 netchan_buffer_t *netbuf; in SV_Netchan_TransmitNextFragment() local 146 netbuf = client->netchan_start_queue; in SV_Netchan_TransmitNextFragment() 147 SV_Netchan_Encode( client, &netbuf->msg ); in SV_Netchan_TransmitNextFragment() 148 Netchan_Transmit( &client->netchan, netbuf->msg.cursize, netbuf->msg.data ); in SV_Netchan_TransmitNextFragment() 150 client->netchan_start_queue = netbuf->next; in SV_Netchan_TransmitNextFragment() 157 Z_Free(netbuf); in SV_Netchan_TransmitNextFragment() 177 netchan_buffer_t *netbuf; in SV_Netchan_Transmit() local 179 netbuf = (netchan_buffer_t *)Z_Malloc(sizeof(netchan_buffer_t)); in SV_Netchan_Transmit() 181 MSG_Copy(&netbuf->msg, netbuf->msgBuffer, sizeof( netbuf->msgBuffer ), msg); in SV_Netchan_Transmit() 182 netbuf->next = NULL; in SV_Netchan_Transmit() [all …]
|
/dports/games/ioquake3/ioquake3-1.36/code/server/ |
H A D | sv_net_chan.c | 144 netchan_buffer_t *netbuf; in SV_Netchan_TransmitNextFragment() local 146 netbuf = client->netchan_start_queue; in SV_Netchan_TransmitNextFragment() 147 SV_Netchan_Encode( client, &netbuf->msg ); in SV_Netchan_TransmitNextFragment() 148 Netchan_Transmit( &client->netchan, netbuf->msg.cursize, netbuf->msg.data ); in SV_Netchan_TransmitNextFragment() 150 client->netchan_start_queue = netbuf->next; in SV_Netchan_TransmitNextFragment() 157 Z_Free(netbuf); in SV_Netchan_TransmitNextFragment() 177 netchan_buffer_t *netbuf; in SV_Netchan_Transmit() local 179 netbuf = (netchan_buffer_t *)Z_Malloc(sizeof(netchan_buffer_t)); in SV_Netchan_Transmit() 181 MSG_Copy(&netbuf->msg, netbuf->msgBuffer, sizeof( netbuf->msgBuffer ), msg); in SV_Netchan_Transmit() 182 netbuf->next = NULL; in SV_Netchan_Transmit() [all …]
|
/dports/games/tremulous/tremulous/tremulous-1.1.0-src/src/server/ |
H A D | sv_net_chan.c | 145 netchan_buffer_t *netbuf; in SV_Netchan_TransmitNextFragment() local 147 netbuf = client->netchan_start_queue; in SV_Netchan_TransmitNextFragment() 148 SV_Netchan_Encode( client, &netbuf->msg ); in SV_Netchan_TransmitNextFragment() 149 Netchan_Transmit( &client->netchan, netbuf->msg.cursize, netbuf->msg.data ); in SV_Netchan_TransmitNextFragment() 151 client->netchan_start_queue = netbuf->next; in SV_Netchan_TransmitNextFragment() 158 Z_Free(netbuf); in SV_Netchan_TransmitNextFragment() 178 netchan_buffer_t *netbuf; in SV_Netchan_Transmit() local 180 netbuf = (netchan_buffer_t *)Z_Malloc(sizeof(netchan_buffer_t)); in SV_Netchan_Transmit() 182 MSG_Copy(&netbuf->msg, netbuf->msgBuffer, sizeof( netbuf->msgBuffer ), msg); in SV_Netchan_Transmit() 183 netbuf->next = NULL; in SV_Netchan_Transmit() [all …]
|
/dports/games/worldofpadman/worldofpadman-1.2.20080621/code/server/ |
H A D | sv_net_chan.c | 144 netchan_buffer_t *netbuf; in SV_Netchan_TransmitNextFragment() local 146 netbuf = client->netchan_start_queue; in SV_Netchan_TransmitNextFragment() 147 SV_Netchan_Encode( client, &netbuf->msg ); in SV_Netchan_TransmitNextFragment() 148 Netchan_Transmit( &client->netchan, netbuf->msg.cursize, netbuf->msg.data ); in SV_Netchan_TransmitNextFragment() 150 client->netchan_start_queue = netbuf->next; in SV_Netchan_TransmitNextFragment() 157 Z_Free(netbuf); in SV_Netchan_TransmitNextFragment() 177 netchan_buffer_t *netbuf; in SV_Netchan_Transmit() local 179 netbuf = (netchan_buffer_t *)Z_Malloc(sizeof(netchan_buffer_t)); in SV_Netchan_Transmit() 181 MSG_Copy(&netbuf->msg, netbuf->msgBuffer, sizeof( netbuf->msgBuffer ), msg); in SV_Netchan_Transmit() 182 netbuf->next = NULL; in SV_Netchan_Transmit() [all …]
|
/dports/games/openarena/openarena-engine-source-0.8.8/code/server/ |
H A D | sv_net_chan.c | 146 netchan_buffer_t *netbuf; in SV_Netchan_TransmitNextFragment() local 148 netbuf = client->netchan_start_queue; in SV_Netchan_TransmitNextFragment() 149 SV_Netchan_Encode( client, &netbuf->msg ); in SV_Netchan_TransmitNextFragment() 150 Netchan_Transmit( &client->netchan, netbuf->msg.cursize, netbuf->msg.data ); in SV_Netchan_TransmitNextFragment() 152 client->netchan_start_queue = netbuf->next; in SV_Netchan_TransmitNextFragment() 159 Z_Free(netbuf); in SV_Netchan_TransmitNextFragment() 179 netchan_buffer_t *netbuf; in SV_Netchan_Transmit() local 181 netbuf = (netchan_buffer_t *)Z_Malloc(sizeof(netchan_buffer_t)); in SV_Netchan_Transmit() 183 MSG_Copy(&netbuf->msg, netbuf->msgBuffer, sizeof( netbuf->msgBuffer ), msg); in SV_Netchan_Transmit() 184 netbuf->next = NULL; in SV_Netchan_Transmit() [all …]
|
/dports/games/openarena-server/openarena-engine-source-0.8.8/code/server/ |
H A D | sv_net_chan.c | 146 netchan_buffer_t *netbuf; in SV_Netchan_TransmitNextFragment() local 148 netbuf = client->netchan_start_queue; in SV_Netchan_TransmitNextFragment() 149 SV_Netchan_Encode( client, &netbuf->msg ); in SV_Netchan_TransmitNextFragment() 150 Netchan_Transmit( &client->netchan, netbuf->msg.cursize, netbuf->msg.data ); in SV_Netchan_TransmitNextFragment() 152 client->netchan_start_queue = netbuf->next; in SV_Netchan_TransmitNextFragment() 159 Z_Free(netbuf); in SV_Netchan_TransmitNextFragment() 179 netchan_buffer_t *netbuf; in SV_Netchan_Transmit() local 181 netbuf = (netchan_buffer_t *)Z_Malloc(sizeof(netchan_buffer_t)); in SV_Netchan_Transmit() 183 MSG_Copy(&netbuf->msg, netbuf->msgBuffer, sizeof( netbuf->msgBuffer ), msg); in SV_Netchan_Transmit() 184 netbuf->next = NULL; in SV_Netchan_Transmit() [all …]
|
/dports/games/evq3/evq3/code/server/ |
H A D | sv_net_chan.c | 144 netchan_buffer_t *netbuf; in SV_Netchan_TransmitNextFragment() local 146 netbuf = client->netchan_start_queue; in SV_Netchan_TransmitNextFragment() 147 SV_Netchan_Encode( client, &netbuf->msg ); in SV_Netchan_TransmitNextFragment() 148 Netchan_Transmit( &client->netchan, netbuf->msg.cursize, netbuf->msg.data ); in SV_Netchan_TransmitNextFragment() 150 client->netchan_start_queue = netbuf->next; in SV_Netchan_TransmitNextFragment() 157 Z_Free(netbuf); in SV_Netchan_TransmitNextFragment() 177 netchan_buffer_t *netbuf; in SV_Netchan_Transmit() local 179 netbuf = (netchan_buffer_t *)Z_Malloc(sizeof(netchan_buffer_t)); in SV_Netchan_Transmit() 181 MSG_Copy(&netbuf->msg, netbuf->msgBuffer, sizeof( netbuf->msgBuffer ), msg); in SV_Netchan_Transmit() 182 netbuf->next = NULL; in SV_Netchan_Transmit() [all …]
|
/dports/sysutils/syslinux/syslinux-6.03/core/lwip/src/api/ |
H A D | netbuf.c | 56 netbuf *netbuf_new(void) in netbuf_new() 58 struct netbuf *buf; in netbuf_new() 60 buf = (struct netbuf *)memp_malloc(MEMP_NETBUF); in netbuf_new() 87 netbuf_delete(struct netbuf *buf) in netbuf_delete() 107 netbuf_alloc(struct netbuf *buf, u16_t size) in netbuf_alloc() 131 netbuf_free(struct netbuf *buf) in netbuf_free() 150 netbuf_ref(struct netbuf *buf, const void *dataptr, u16_t size) in netbuf_ref() 174 netbuf_chain(struct netbuf *head, struct netbuf *tail) in netbuf_chain() 193 netbuf_data(struct netbuf *buf, void **dataptr, u16_t *len) in netbuf_data() 218 netbuf_next(struct netbuf *buf) in netbuf_next() [all …]
|
/dports/games/odamex/odamex-src-0.7.0/server/src/ |
H A D | sv_main.cpp | 678 MSG_WriteLong (&cl->netbuf, x); in SV_Sound() 679 MSG_WriteLong (&cl->netbuf, y); in SV_Sound() 711 MSG_WriteShort (&cl->netbuf, 0); in SV_Sound() 714 MSG_WriteLong (&cl->netbuf, x); in SV_Sound() 715 MSG_WriteLong (&cl->netbuf, y); in SV_Sound() 820 MSG_WriteLong(&cl->netbuf, x); in SV_Sound() 821 MSG_WriteLong(&cl->netbuf, y); in SV_Sound() 1422 buf_t *netbuf = &(player.client.netbuf); in SV_SendMovingSectorUpdate() local 1457 MSG_WriteByte(netbuf, movers); in SV_SendMovingSectorUpdate() 1940 SZ_Clear(&cl->netbuf); in SV_ConnectClient() [all …]
|