Refactor code so that other protocols can be added with minimal duplicate code.
This commit is contained in:
parent
21893ff091
commit
1972b32b60
12 changed files with 428 additions and 248 deletions
2
siahs.h
2
siahs.h
|
@ -15,7 +15,7 @@
|
|||
You should have received a copy of the GNU General Public License
|
||||
along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
*/
|
||||
struct packet {
|
||||
struct siahs_packet {
|
||||
uint32_t len;
|
||||
char unknown1; /* 0x01 */
|
||||
char unknown2; /* 0x01 */
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue