Home
last modified time | relevance | path

Searched refs:MAX_PACKET_SIZE (Results 1 – 25 of 501) sorted by relevance

12345678910>>...21

/dports/devel/msp430-debug-stack/msp430-debug-stack-3.15.0.1/ThirdParty/BSL430_DLL/BSL430_DLL/Packet_Handlers/
H A DMSPBSL_PacketHandler5xxUSB.cpp47 #define MAX_PACKET_SIZE 64 macro
81 uint8_t txBuf[MAX_PACKET_SIZE]; in TX_Packet()
82 for( uint16_t i = 0; i < MAX_PACKET_SIZE; i++ ) in TX_Packet()
90 else if ( numBytes > (MAX_PACKET_SIZE-HANDLER_OVERHEAD ) ) in TX_Packet()
100 return thePhysicalInterface->TX_Bytes( txBuf, MAX_PACKET_SIZE ); in TX_Packet()
157 uint8_t rxBuf[MAX_PACKET_SIZE]; in RX_Packet()
159 retValue = thePhysicalInterface->RX_Bytes(rxBuf, MAX_PACKET_SIZE); in RX_Packet()
200 return (MAX_PACKET_SIZE - HANDLER_OVERHEAD); in getMaxDataSize()
H A DMSPBSL_PacketHandler5xxUART.cpp47 #define MAX_PACKET_SIZE 260 macro
88 uint8_t txBuf[MAX_PACKET_SIZE]; in TX_Packet()
91 if ( txNumBytes > MAX_PACKET_SIZE ) in TX_Packet()
214 return (MAX_PACKET_SIZE - HANDLER_OVERHEAD); in getMaxDataSize()
/dports/java/berkeley-db/je-6.2.31/test/com/sleepycat/je/rep/utilint/net/
H A DSSLChannelTest.java252 final int MAX_PACKET_SIZE = 10; in testSmallPackets() local
274 final int MAX_PACKET_SIZE = 200; in testBasicThroughput() local
317 final int MAX_PACKET_SIZE = 5000; in testMediumPackets() local
336 final int MAX_PACKET_SIZE = 50000; in testLargePackets() local
355 final int MAX_PACKET_SIZE = 500000; in testHugePackets() local
395 final int MAX_PACKET_SIZE = 10; in testPeerPatternAuthentication() local
452 final int MAX_PACKET_SIZE = 10; in testPeerMirrorAuthentication() local
476 final int MAX_PACKET_SIZE = 10; in testStdHostVerification() local
500 final int MAX_PACKET_SIZE = 10; in testProtosAndCiphers() local
556 final int MAX_PACKET_SIZE = 10; in testKeyStorePasswordSource() local
[all …]
/dports/devel/hadoop2/jetty-6.1.14/extras/ajp/src/test/java/org/mortbay/jetty/ajp/
H A DTestAjpParser.java36 ByteArrayBuffer buffer= new ByteArrayBuffer(Ajp13Packet.MAX_PACKET_SIZE); in testPacket1()
39 EndPoint endp = new ByteArrayEndPoint(src,Ajp13Packet.MAX_PACKET_SIZE); in testPacket1()
54 ByteArrayBuffer buffer=new ByteArrayBuffer(Ajp13Packet.MAX_PACKET_SIZE); in testPacket2()
57 EndPoint endp=new ByteArrayEndPoint(src,Ajp13Packet.MAX_PACKET_SIZE); in testPacket2()
69 ByteArrayBuffer buffer=new ByteArrayBuffer(Ajp13Packet.MAX_PACKET_SIZE); in testPacket3()
72 EndPoint endp=new ByteArrayEndPoint(src,Ajp13Packet.MAX_PACKET_SIZE); in testPacket3()
86 ByteArrayBuffer buffer= new ByteArrayBuffer(Ajp13Packet.MAX_PACKET_SIZE); in testSSLPacketWithIntegerKeySize()
89 EndPoint endp = new ByteArrayEndPoint(src,Ajp13Packet.MAX_PACKET_SIZE); in testSSLPacketWithIntegerKeySize()
108 EndPoint endp = new ByteArrayEndPoint(src,Ajp13Packet.MAX_PACKET_SIZE); in testSSLPacketWithStringKeySize()
157 ByteArrayBuffer buffer=new ByteArrayBuffer(Ajp13Packet.MAX_PACKET_SIZE); in testPacketWithBody()
[all …]
/dports/devel/hadoop/jetty-6.1.14/extras/ajp/src/test/java/org/mortbay/jetty/ajp/
H A DTestAjpParser.java36 ByteArrayBuffer buffer= new ByteArrayBuffer(Ajp13Packet.MAX_PACKET_SIZE); in testPacket1()
39 EndPoint endp = new ByteArrayEndPoint(src,Ajp13Packet.MAX_PACKET_SIZE); in testPacket1()
54 ByteArrayBuffer buffer=new ByteArrayBuffer(Ajp13Packet.MAX_PACKET_SIZE); in testPacket2()
57 EndPoint endp=new ByteArrayEndPoint(src,Ajp13Packet.MAX_PACKET_SIZE); in testPacket2()
69 ByteArrayBuffer buffer=new ByteArrayBuffer(Ajp13Packet.MAX_PACKET_SIZE); in testPacket3()
72 EndPoint endp=new ByteArrayEndPoint(src,Ajp13Packet.MAX_PACKET_SIZE); in testPacket3()
86 ByteArrayBuffer buffer= new ByteArrayBuffer(Ajp13Packet.MAX_PACKET_SIZE); in testSSLPacketWithIntegerKeySize()
89 EndPoint endp = new ByteArrayEndPoint(src,Ajp13Packet.MAX_PACKET_SIZE); in testSSLPacketWithIntegerKeySize()
108 EndPoint endp = new ByteArrayEndPoint(src,Ajp13Packet.MAX_PACKET_SIZE); in testSSLPacketWithStringKeySize()
157 ByteArrayBuffer buffer=new ByteArrayBuffer(Ajp13Packet.MAX_PACKET_SIZE); in testPacketWithBody()
[all …]
/dports/devel/poco/poco-1.10.1-all/Net/src/
H A DICMPPacketImpl.cpp36 const UInt16 ICMPPacketImpl::MAX_PACKET_SIZE = 65535; member in Poco::Net::ICMPPacketImpl
43 _pPacket(new UInt8[MAX_PACKET_SIZE]), in ICMPPacketImpl()
46 if (_dataSize > MAX_PACKET_SIZE) in ICMPPacketImpl()
47 …row InvalidArgumentException("Packet size must be <= " + NumberFormatter::format(MAX_PACKET_SIZE)); in ICMPPacketImpl()
/dports/games/pvpgn/pvpgn-1.8.5/src/common/
H A Dpacket.c950 if (size>MAX_PACKET_SIZE) in packet_get_size()
966 if (size>MAX_PACKET_SIZE) in packet_set_size()
1041 return MAX_PACKET_SIZE; in packet_get_header_size()
1068 return MAX_PACKET_SIZE; in packet_get_header_size()
1117 if (size>=MAX_PACKET_SIZE) in packet_append_string()
1123 addlen = MAX_PACKET_SIZE-size; in packet_append_string()
1154 if (size>=MAX_PACKET_SIZE) in packet_append_ntstring()
1160 addlen = MAX_PACKET_SIZE-size; in packet_append_ntstring()
1188 if (size>=MAX_PACKET_SIZE) in packet_append_lstr()
1223 if (size>=MAX_PACKET_SIZE) in packet_append_data()
[all …]
/dports/games/tremulous/tremulous/tremulous-1.1.0-src/src/master/
H A Dmessages.c39 #define MAX_PACKET_SIZE 1400 macro
208 char packet [MAX_PACKET_SIZE]; in HandleGetServers()
409 char packet[ MAX_PACKET_SIZE ]; in HandleGetMotd()
410 char challenge[ MAX_PACKET_SIZE ]; in HandleGetMotd()
426 strncpy( challenge, value, MAX_PACKET_SIZE ); in HandleGetMotd()
450 strncpy( &packet[ packetind ], CHALLENGE_KEY, MAX_PACKET_SIZE - packetind ); in HandleGetMotd()
453 strncpy( &packet[ packetind ], challenge, MAX_PACKET_SIZE - packetind ); in HandleGetMotd()
457 strncpy( &packet[ packetind ], MOTD_KEY, MAX_PACKET_SIZE - packetind ); in HandleGetMotd()
460 strncpy( &packet[ packetind ], motd, MAX_PACKET_SIZE - packetind ); in HandleGetMotd()
/dports/net-im/tdlib/td-a53cb30e99f937cfd64e0266fa558785a184a553/tdutils/td/utils/
H A DBufferedUdp.h50 if (buffer_.size() < MAX_PACKET_SIZE) { in init_inbound_message()
53 CHECK(buffer_.size() >= MAX_PACKET_SIZE); in init_inbound_message()
54 message.data = buffer_.as_slice().substr(0, MAX_PACKET_SIZE); in init_inbound_message()
61 CHECK(size <= MAX_PACKET_SIZE); in extract_udp_message()
67 static constexpr size_t MAX_PACKET_SIZE = 2048;
68 static constexpr size_t RESERVED_SIZE = MAX_PACKET_SIZE * 8;
/dports/devel/smc/smc_4_3_0/examples/Ant/EX6/src/
H A DAsyncDatagramSocket.java90 packet_size > MAX_PACKET_SIZE) in AsyncDatagramSocket()
137 packet_size > MAX_PACKET_SIZE) in setPacketSize()
173 _packet_size > MAX_PACKET_SIZE) in run()
249 private static final int MAX_PACKET_SIZE = 65535; field in AsyncDatagramSocket
/dports/devel/smc/smc_4_3_0/examples/Java/EX6/
H A DAsyncDatagramSocket.java90 packet_size > MAX_PACKET_SIZE) in AsyncDatagramSocket()
137 packet_size > MAX_PACKET_SIZE) in setPacketSize()
173 _packet_size > MAX_PACKET_SIZE) in run()
249 private static final int MAX_PACKET_SIZE = 65535; field in AsyncDatagramSocket
/dports/games/scummvm/scummvm-2.5.1/engines/scumm/he/moonbase/
H A Dnet_main.cpp35 _packbuffer = (byte *)malloc(MAX_PACKET_SIZE + DATA_HEADER_SIZE); in Net()
36 _tmpbuffer = (byte *)malloc(MAX_PACKET_SIZE); in Net()
89 char *buf = (char *)malloc(MAX_PACKET_SIZE); in addUser()
149 char *buf = (char *)malloc(MAX_PACKET_SIZE); in createSession()
150 snprintf(buf, MAX_PACKET_SIZE, "{\"name\":\"%s\"}", name); in createSession()
211 char *buf = (char *)malloc(MAX_PACKET_SIZE); in endSession()
212 snprintf(buf, MAX_PACKET_SIZE, "{\"sessionid\":%d, \"userid\":%d}", _sessionid, _myUserId); in endSession()
243 char *buf = (char *)malloc(MAX_PACKET_SIZE); in disableSessionJoining()
244 snprintf(buf, MAX_PACKET_SIZE, "{\"sessionid\":%d}", _sessionid); in disableSessionJoining()
296 char *buf = (char *)malloc(MAX_PACKET_SIZE); in destroyPlayer()
[all …]
/dports/net/libpcapnav/libpcapnav-0.8/src/
H A Dpcapnav_macros.h75 #define MAX_PACKET_SIZE(pn) (pn->trace.pkthdr_size + pn->trace.filehdr.snaplen) macro
86 #define MAX_BYTES_FOR_DEFINITE_HEADER(pn) (3 * MAX_PACKET_SIZE(pn))
97 #define STRAIGHT_SCAN_THRESHOLD(pn) (100 * MAX_PACKET_SIZE(pn))
/dports/games/diaspora/Diaspora_R1_Linux/Diaspora/fs2_open/code/network/
H A Dmulti_sexp.cpp35 ubyte type[MAX_PACKET_SIZE];
40 ubyte data[MAX_PACKET_SIZE];
68 memset(data, 0, MAX_PACKET_SIZE); in initalise_sexp_packet()
69 memset(type, -1, MAX_PACKET_SIZE); in initalise_sexp_packet()
165 if (packet_size + data_size + HEADER_LENGTH < MAX_PACKET_SIZE) { in multi_sexp_ensure_space_remains()
200 for (i = j ; i < MAX_PACKET_SIZE ; i++) { in multi_sexp_ensure_space_remains()
468 for (i=0; i < MAX_PACKET_SIZE; i++) { in sexp_packet_received()
H A Dmultimsgs.cpp843 ubyte data[MAX_PACKET_SIZE]; in send_hud_msg_to_all()
890 ubyte data[MAX_PACKET_SIZE]; in send_join_packet()
1684 ubyte data[MAX_PACKET_SIZE]; in send_leave_game_packet()
2014 ubyte data[MAX_PACKET_SIZE]; in send_netgame_update_packet()
2241 ubyte data[MAX_PACKET_SIZE]; in broadcast_game_query()
2271 ubyte data[MAX_PACKET_SIZE]; in send_server_query()
2653 ubyte data[MAX_PACKET_SIZE]; in send_ship_create_packet()
2712 ubyte data[MAX_PACKET_SIZE]; in send_wing_create_packet()
2778 ubyte data[MAX_PACKET_SIZE]; in send_ship_depart_packet()
2833 ubyte data[MAX_PACKET_SIZE]; in send_cargo_revealed_packet()
[all …]
/dports/emulators/aranym/aranym-1.1.0/src/natfeat/
H A Dethernet.cpp254 Host2Atari_memcpy(buffer, handler->packet, MIN(len, MAX_PACKET_SIZE)); in readPacket()
255 if (len > MAX_PACKET_SIZE) { in readPacket()
256 panicbug("ETHERNETDriver::readPacket() - length %d > %d", len, MAX_PACKET_SIZE); in readPacket()
272 uint8 packetToWrite[MAX_PACKET_SIZE+2]; in sendPacket()
276 len = MIN(len, MAX_PACKET_SIZE); in sendPacket()
427 handler->packet_length = handler->recv(handler->packet, MAX_PACKET_SIZE); in receiveFunc()
/dports/games/fs2open/fs2open.github.com-release_21_4_1/code/network/
H A Dmulti_campaign.cpp392 ubyte data[MAX_PACKET_SIZE], val; in multi_campaign_send_done()
409 ubyte data[MAX_PACKET_SIZE],val; in multi_campaign_send_debrief_info()
441 …Assertion(packet_size + goal_size + event_size < MAX_PACKET_SIZE, "Campaign debrief info packet is… in multi_campaign_send_debrief_info()
463 ubyte data[MAX_PACKET_SIZE],val; in multi_campaign_send_pool_status()
506 Assertion((static_cast<size_t>(packet_size) + p_size + (sizeof(ushort) * 2)) < MAX_PACKET_SIZE, in multi_campaign_send_pool_status()
538 ubyte data[MAX_PACKET_SIZE], val; in multi_campaign_send_start()
577 if ( (packet_size + MC_INGAME_DATA_SLOP) > MAX_PACKET_SIZE ) { in multi_campaign_send_start()
615 ubyte data[MAX_PACKET_SIZE], packet_type, *ptr, val, num_goals; in multi_campaign_send_ingame_start()
654 if ( (packet_size + MC_INGAME_DATA_SLOP) > MAX_PACKET_SIZE ) { in multi_campaign_send_ingame_start()
744 if ( (packet_size + MC_INGAME_DATA_SLOP) > MAX_PACKET_SIZE ) { in multi_campaign_send_ingame_start()
[all …]
H A Dmultimsgs.cpp854 ubyte data[MAX_PACKET_SIZE]; in send_hud_msg_to_all()
901 ubyte data[MAX_PACKET_SIZE]; in send_join_packet()
1690 ubyte data[MAX_PACKET_SIZE]; in send_leave_game_packet()
2033 ubyte data[MAX_PACKET_SIZE]; in send_netgame_update_packet()
2204 ubyte data[MAX_PACKET_SIZE]; in send_netgame_descript_packet()
2325 ubyte data[MAX_PACKET_SIZE]; in send_server_query()
2772 ubyte data[MAX_PACKET_SIZE]; in send_ship_create_packet()
2834 ubyte data[MAX_PACKET_SIZE]; in send_wing_create_packet()
2900 ubyte data[MAX_PACKET_SIZE]; in send_ship_depart_packet()
2955 ubyte data[MAX_PACKET_SIZE]; in send_cargo_revealed_packet()
[all …]
/dports/games/warmux/warmux-11.04/lib/warmux/net/
H A DextSDL_net.cpp87 static const int MAX_PACKET_SIZE = 4096; variable
144 if (tosend > MAX_PACKET_SIZE) in SDLNet_TCP_Send_noBlocking()
145 tosend = MAX_PACKET_SIZE; in SDLNet_TCP_Send_noBlocking()
/dports/multimedia/v4l_compat/linux-5.13-rc2/drivers/media/firewire/
H A Dfiredtv-fw.c71 #define MAX_PACKET_SIZE 1024 /* 776, rounded up to 2^n */ macro
72 #define PACKETS_PER_PAGE (PAGE_SIZE / MAX_PACKET_SIZE)
89 p.payload_length = MAX_PACKET_SIZE; in queue_iso()
95 index * MAX_PACKET_SIZE); in queue_iso()
109 if (unlikely(length > MAX_PACKET_SIZE)) { in handle_iso()
111 length = MAX_PACKET_SIZE; in handle_iso()
115 + (i % PACKETS_PER_PAGE) * MAX_PACKET_SIZE; in handle_iso()
/dports/multimedia/v4l-utils/linux-5.13-rc2/drivers/media/firewire/
H A Dfiredtv-fw.c71 #define MAX_PACKET_SIZE 1024 /* 776, rounded up to 2^n */ macro
72 #define PACKETS_PER_PAGE (PAGE_SIZE / MAX_PACKET_SIZE)
89 p.payload_length = MAX_PACKET_SIZE; in queue_iso()
95 index * MAX_PACKET_SIZE); in queue_iso()
109 if (unlikely(length > MAX_PACKET_SIZE)) { in handle_iso()
111 length = MAX_PACKET_SIZE; in handle_iso()
115 + (i % PACKETS_PER_PAGE) * MAX_PACKET_SIZE; in handle_iso()
/dports/multimedia/libv4l/linux-5.13-rc2/drivers/media/firewire/
H A Dfiredtv-fw.c71 #define MAX_PACKET_SIZE 1024 /* 776, rounded up to 2^n */ macro
72 #define PACKETS_PER_PAGE (PAGE_SIZE / MAX_PACKET_SIZE)
89 p.payload_length = MAX_PACKET_SIZE; in queue_iso()
95 index * MAX_PACKET_SIZE); in queue_iso()
109 if (unlikely(length > MAX_PACKET_SIZE)) { in handle_iso()
111 length = MAX_PACKET_SIZE; in handle_iso()
115 + (i % PACKETS_PER_PAGE) * MAX_PACKET_SIZE; in handle_iso()
/dports/www/chromium-legacy/chromium-88.0.4324.182/third_party/opus/src/doc/
H A Dtrivial_example.c46 #define MAX_PACKET_SIZE (3*1276) macro
56 unsigned char cbits[MAX_PACKET_SIZE]; in main()
126 nbBytes = opus_encode(encoder, in, FRAME_SIZE, cbits, MAX_PACKET_SIZE); in main()
/dports/www/qt5-webengine/qtwebengine-everywhere-src-5.15.2/src/3rdparty/chromium/third_party/opus/src/doc/
H A Dtrivial_example.c46 #define MAX_PACKET_SIZE (3*1276) macro
56 unsigned char cbits[MAX_PACKET_SIZE]; in main()
126 nbBytes = opus_encode(encoder, in, FRAME_SIZE, cbits, MAX_PACKET_SIZE); in main()
/dports/audio/jamulus/jamulus-r3_8_1/libs/opus/doc/
H A Dtrivial_example.c46 #define MAX_PACKET_SIZE (3*1276) macro
56 unsigned char cbits[MAX_PACKET_SIZE]; in main()
126 nbBytes = opus_encode(encoder, in, FRAME_SIZE, cbits, MAX_PACKET_SIZE); in main()

12345678910>>...21