[sr-dev] git:master: core: use const in some ip_addr functions