Commit Graph

51 Commits

Author SHA1 Message Date
fa4fa839a6 Implement Get FireWire Data packet, and support for Linux. 2019-10-19 00:09:03 +01:00
f161e88ecd Fix pointer comparison. 2019-10-18 23:41:41 +01:00
ce9d540ec1 Implement get USB data packet. 2019-10-18 23:41:20 +01:00
3b646d5d76 Implement get USB data in Linux. 2019-10-18 01:12:19 +01:00
62e90e0519 Implement Get SDHCI Registers packet. 2019-10-18 00:25:45 +01:00
0be95c5c70 Implement reading SDHCI registers from sysfs in Linux. 2019-10-17 23:19:06 +01:00
532b58ce2e Add function to convert a hex string to binary. 2019-10-17 22:11:57 +01:00
18f7dda4f8 Fix boolean operation in SCSI sense. 2019-10-17 22:01:47 +01:00
1783b07377 Implement processing SCSI packets. 2019-10-16 22:56:42 +01:00
d170083f77 Implement SCSI commands in Linux. 2019-10-16 21:53:06 +01:00
71954fd9fa Implement get device type packet. 2019-10-16 20:18:08 +01:00
a4a367b275 Store device path. 2019-10-16 19:15:38 +01:00
8740316184 Remove spurious message. 2019-10-16 19:07:48 +01:00
2581ba1d55 Handle not implemented packets. 2019-10-16 19:06:40 +01:00
d5b97b10e7 Add packets to get USB, FireWire and PCMCIA data. 2019-10-14 01:26:27 +01:00
366b69a9c2 Add packet to retrieve SD/MMC boot registers. 2019-10-14 01:11:26 +01:00
af08501a32 Add packet for get device type. 2019-10-14 01:02:31 +01:00
a0201665a3 Add packets for SCSI, ATA and SDHCI commands. 2019-10-14 00:42:26 +01:00
81f83b257c Implement open device for Linux. 2019-10-13 22:57:06 +01:00
189a4557ec Rework cmake. 2019-10-13 22:44:16 +01:00
1eeb22ebc9 Handle open device packet. 2019-10-13 22:41:12 +01:00
aa13e92d58 Add more NOP packet reasons. 2019-10-13 22:29:43 +01:00
3fb5b9e942 Add open device packet. 2019-10-13 21:59:28 +01:00
01610ec6a2 Add errno to NOP packet. 2019-10-13 21:19:11 +01:00
53c1deedf3 Add NOP packet. 2019-10-13 20:52:27 +01:00
dfe72a990e Send device info list response. 2019-10-13 15:11:45 +01:00
71ba668c44 Free device info list. 2019-10-13 14:11:54 +01:00
9d1b0d7670 Implement ListDevices for Linux. 2019-10-13 04:47:00 +01:00
321cd275ee Separate list devices for Linux. 2019-10-13 00:05:13 +01:00
782c2b1e20 Do not close uninitialized socket. 2019-10-12 23:53:40 +01:00
d032af0d58 Add function to list devices. 2019-10-12 23:53:29 +01:00
dcc02a1f1b TODO: Packet for NOP. 2019-10-12 23:52:48 +01:00
fcfadfc765 Add padding to device info structure. 2019-10-12 23:46:01 +01:00
00a340b7bf Set correct field sizes in DeviceInfo. 2019-10-12 23:23:15 +01:00
3f61767f2d Skip packet if not managed. 2019-10-12 23:22:51 +01:00
b3904828a4 Fix wording. 2019-10-12 23:11:52 +01:00
49fab26559 Wait connections in an infinite loop. 2019-10-12 23:04:28 +01:00
96ed06b1c8 Add packets for list devices. 2019-10-12 22:34:32 +01:00
c21e16711b Change packet id to uint64_t. 2019-10-12 22:09:27 +01:00
a5727168ef Read client hello packet. 2019-10-12 19:12:03 +01:00
47e6125f92 Added hello packet. 2019-10-12 18:41:14 +01:00
d086a2778a Rearrange main code. 2019-10-12 17:28:29 +01:00
5b18817fbf Print system version. 2019-10-12 17:28:09 +01:00
d09d954e21 Print incoming client address. 2019-10-12 17:22:59 +01:00
8e523d3712 Accept connections. 2019-10-12 17:10:49 +01:00
331339dd47 Disable IPv6. 2019-10-12 17:03:00 +01:00
442f6a20c0 Bind socket. 2019-10-12 17:02:02 +01:00
cb96013411 Free ifaddrs. 2019-10-12 16:53:45 +01:00
f57ce21417 Open socket. 2019-10-12 16:52:37 +01:00
4708dbe7dd Enumerate list of IP addresses. 2019-10-12 13:31:54 +01:00