Martini: Bridging the Gap between Network Measurement and Control Using Switching ASICs