An ARP Reply From Host
[ 0x11,0x22,0x33,0x44,0x55,0x66,0x5c,0x9a,0xd8,0xea,0x37,0x32,0x08,0x06,0x00,0x01,0x08,0x00,0x06,0x04,0x00,0x02,0x5c,0x9a,0xd8,0xea,0x37,0x32,0xc0,0xa8,0x00,0x01,0x11,0x22,0x33,0x44,0x55,0x66,0xc0,0xa8,0x00,0xfe ]
An ARP Request From Host
[ 0xff,0xff,0xff,0xff,0xff,0xff,0x5c,0x9a,0xd8,0xea,0x37,0x32,0x08,0x06,0x00,0x01,0x08,0x00,0x06,0x04,0x00,0x01,0x5c,0x9a,0xd8,0xea,0x37,0x32,0xc0,0xa8,0x00,0x01,0x00,0x00,0x00,0x00,0x00,0x00,0xc0,0xa8,0x00,0xfe ]
An ARP Request From OpenFlowSwitch
[ 0xff,0xff,0xff,0xff,0xff,0xff,0x11,0x22,0x33,0x44,0x55,0x66,0x08,0x06,0x00,0x01,0x08,0x00,0x06,0x04,0x00,0x01,0x11,0x22,0x33,0x44,0x55,0x66,0xc0,0xa8,0x00,0xfe,0x00,0x00,0x00,0x00,0x00,0x00,0xc0,0xa8,0x00,0x01,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00 ]
テストケースに追加したところ、すべてうまくパースできたようです。
https://github.com/shun159/pio/commit/e12f67c95f110af1093a071ce64109d3cf13eb7c