#!/bin/sh
port=${1:-hihp0}
while true
do
	hsip_dump -i sys_struct -a 0x62fa50 -l 0x1f0 -f hsip_dump.${port}.log ${port}
	hsip_dump -i p_struct -a 0x62fc40 -l 0x1b0 -f hsip_dump.${port}.log ${port}
	hsip_dump -i read_buf -a 0x62f9e0 -l 0x70 -f hsip_dump.${port}.log ${port}
	hsip_dump -i write_buf -a 0x62fdf0 -l 0x70 -f hsip_dump.${port}.log ${port}
	sleep 600
done

