PDCP state variables

can any one provide any example how to use the state variables of pdcp of 5G like with packets and is there any pictorial explanation if possible
TX_NEXT
RX_NEXT
RX_DELIV
RX_REORD