Tactical ad hoc networks (TANET) accomplish the corresponding tasks via a hopeful device-to-device connection mechanism for data transmission and resource management without a centralized foundation. Software-defined networking (SDN) provides an evolution from the previous networks by decoupling the network control from data forwarding and providing a novel paradigm for network handling. Nevertheless, a SDN-based strategy in TANET leads to various novel problems since the primary construction cannot be employed in mobile ad hoc networks anymore. In this paper, a new SDN-based structure is constructed for TANET. Then, both delay and energy consumption (EC) are utilized to model the controller deployment and data-plane assignment problems, by which quality-of-service (QoS) guarantees are realized. Afterwards, mixed-integer programming (MIP) is adopted to solve the mentioned model. Finally, according to the experimental outcomes, it can be observed that the presented approach ensures the data-plane delay and optimizes the EC.