Searched refs:chk_addr_ret (Results 1 – 5 of 5) sorted by relevance
277 int chk_addr_ret; in l2tp_ip_bind() local293 chk_addr_ret = inet_addr_type(net, addr->l2tp_addr.s_addr); in l2tp_ip_bind()295 if (addr->l2tp_addr.s_addr && chk_addr_ret != RTN_LOCAL && in l2tp_ip_bind()296 chk_addr_ret != RTN_MULTICAST && chk_addr_ret != RTN_BROADCAST) in l2tp_ip_bind()303 if (chk_addr_ret == RTN_MULTICAST || chk_addr_ret == RTN_BROADCAST) in l2tp_ip_bind()
707 int chk_addr_ret; in raw_bind() local717 chk_addr_ret = inet_addr_type_table(net, addr->sin_addr.s_addr, tb_id); in raw_bind()721 chk_addr_ret)) in raw_bind()725 if (chk_addr_ret == RTN_MULTICAST || chk_addr_ret == RTN_BROADCAST) in raw_bind()
315 int chk_addr_ret; in ping_check_bind_addr() local332 chk_addr_ret = inet_addr_type_table(net, addr->sin_addr.s_addr, tb_id); in ping_check_bind_addr()334 if (chk_addr_ret == RTN_MULTICAST || in ping_check_bind_addr()335 chk_addr_ret == RTN_BROADCAST || in ping_check_bind_addr()336 (chk_addr_ret != RTN_LOCAL && in ping_check_bind_addr()
480 int chk_addr_ret; in __inet_bind() local495 chk_addr_ret = inet_addr_type_table(net, addr->sin_addr.s_addr, tb_id); in __inet_bind()506 chk_addr_ret)) in __inet_bind()532 if (chk_addr_ret == RTN_MULTICAST || chk_addr_ret == RTN_BROADCAST) in __inet_bind()
320 int chk_addr_ret; in __inet6_bind() local341 chk_addr_ret = inet_addr_type_dev_table(net, dev, v4addr); in __inet6_bind()345 chk_addr_ret)) { in __inet6_bind()