Home
last modified time | relevance | path

Searched refs:packet (Results 1 – 4 of 4) sorted by relevance

/development/samples/ToyVpn/server/linux/
DToyVpnServer.cpp108 char packet[1024]; in get_tunnel() local
112 int n = recvfrom(tunnel, packet, sizeof(packet), 0, in get_tunnel()
117 packet[n] = 0; in get_tunnel()
118 } while (packet[0] != 0 || strcmp(secret, &packet[1])); in get_tunnel()
207 char packet[32767]; in main() local
220 int length = read(interface, packet, sizeof(packet)); in main()
223 send(tunnel, packet, length, MSG_NOSIGNAL); in main()
235 length = recv(tunnel, packet, sizeof(packet), 0); in main()
241 if (packet[0] != 0) { in main()
243 write(interface, packet, length); in main()
[all …]
/development/samples/ToyVpn/src/com/example/android/toyvpn/
DToyVpnConnection.java193 ByteBuffer packet = ByteBuffer.allocate(MAX_PACKET_SIZE); in run() local
207 int length = in.read(packet.array()); in run()
210 packet.limit(length); in run()
211 tunnel.write(packet); in run()
212 packet.clear(); in run()
220 length = tunnel.read(packet); in run()
223 if (packet.get(0) != 0) { in run()
225 out.write(packet.array(), 0, length); in run()
227 packet.clear(); in run()
243 packet.put((byte) 0).limit(1); in run()
[all …]
/development/tools/winscope/
Dyarn.lock1770 dns-packet@^1.3.1:
1772 …resolved "https://registry.yarnpkg.com/dns-packet/-/dns-packet-1.3.1.tgz#12aa426981075be500b910eed…
3319 dns-packet "^1.3.1"
/development/tools/repo_diff/service/repodiff/persistence/filesystem/testdata/
Dcommit.csv5791 …m/system/core,fake_hrLg6uvZRAmxPEvIe67S0A@fakeemail.com,adb: disable USB packet overflow checking …
6960 …latform/system/core,fake_krB6aDA1SVGCN7Iw_sCKfA@fakeemail.com,Indicate that a packet was truncated.
7489 …tform/system/core,fake_hrLg6uvZRAmxPEvIe67S0A@fakeemail.com,adb: restore packet data length checks.
7713 …est/connectivity,fake_PEeZmXvRSM-InKOddEqz_Q@fakeemail.com,Add tests for multicast packet injection
8556 …test/connectivity,fake_PEeZmXvRSM-InKOddEqz_Q@fakeemail.com,Expanding the list of packet generators
8939 …ools/test/connectivity,fake_PEeZmXvRSM-InKOddEqz_Q@fakeemail.com,Add controller of packet generator
19367 …nal/iproute2,fake_Y_av5FG8Tcqqwi757V0R1Q@fakeemail.com,tc/cls_flower: Classify packet in ip tunnels
23912 …,platform/external/libmtp,fake_3rXZrmxrRLi2weSzWajXQA@fakeemail.com,Thread-safe buffered packet fix
23997 …,platform/external/libmtp,fake_WkxGKKrxQpSqNKbxJ1GpQw@fakeemail.com,split header/packet sizes fixes
25598 …8c,platform/external/libmtp,fake_WkxGKKrxQpSqNKbxJ1GpQw@fakeemail.com,Split headers/packet size fix
[all …]