added compiler attribute packed
added compiler attribute packed
added ip header struct