calc xdc traffic including metadata