1. A system for fragmenting a data packet, the system comprising: a packet buffer for a first modified data packet; a packet buffer for a second modified data packet; and a hardware-based packet editor comprising a control memory and a control module, the hardware-based packet editor being configured to: receive a packet editing script comprising a plurality of script entries indicating modifications to be applied to the data packet and a data block comprising data for one or more modified data packets; determine that a script entry of the plurality of script entries is a first script entry for the first modified data packet; in response to the determining that the script entry is the first script entry for the first modified data packet, reserve the packet buffer for the first modified data packet; copy a first portion of the data in the data block at a location and a size identified in the script entry and each further script entry for the first modified data packet in the packet editing script into the packet buffer for the first modified data packet; determine that one of further script entries of the plurality of script entries is a first script entry for the second modified data packet; in response to the determining that the one of further script entries is the first script entry for the second modified data packet, reserve the packet buffer for the second modified data packet; copy a second portion of the data in the data block at a location and a size identified in the one of further script entries script entry and each further script entry for the second modified data packet in the packet editing script into the packet buffer for the second modified data packet; and generate the first modified data packet based on the packet buffer for the first modified data packet and the second modified data packet based on the packet buffer for the second modified data packet.