Text this: Cross-layer detection and defence mechanism against DDoS and DRDoS attacks in software-defined networks using P4 switches.