Fix typos.

Directtion ->
Direction

lESIDENT_PROTO_PKT_TYPE_PARAMETERS ->
RESIDENT_PROTO_PKT_TYPE_PARAMETERS