Research Article

QPRD: QoS-Aware Peering Routing Protocol for Delay-Sensitive Data in Hospital Body Area Network

Algorithm 2

Path selector algorithm for delay-sensitive packets.
INPUT:  Routing table, ’s routing table records , Dst
(1)for each data packet do
(2)  if data packet is delay-sensitive packet (DSP)
(3)if () then
(4)   send to
(5) else
(6)  Drop the packet immediately
(7)end if
(8) else if data packet is Ordinary Packet (OP)
(9)  send to
 (10)   else
(11)     drop the packet immediately
(12)end if
(13) end for