Analyzing AS PATH in packets