[PATCH net-next v2 6/7] selftests: forwarding: Move DSCP capture to lib.sh