Refactor code so that other protocols can be added with minimal duplicate code.

This commit is contained in:
Wilco Baan Hofman 2012-08-01 03:29:01 +02:00
parent 21893ff091
commit 1972b32b60
12 changed files with 428 additions and 248 deletions

View file

@ -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 */