Network packet analysis framework