> you could drop plen and go > len = *(CARD16*)wire; > ... Will do and send an updated patch. And there are other occurrences of swapping that will break further down the code so this not complete yet.