Searched refs:chk_addr_ret (Results 1 – 5 of 5) sorted by relevance
266 int chk_addr_ret; in l2tp_ip_bind() local282 chk_addr_ret = inet_addr_type(net, addr->l2tp_addr.s_addr); in l2tp_ip_bind()284 if (addr->l2tp_addr.s_addr && chk_addr_ret != RTN_LOCAL && in l2tp_ip_bind()285 chk_addr_ret != RTN_MULTICAST && chk_addr_ret != RTN_BROADCAST) in l2tp_ip_bind()290 if (chk_addr_ret == RTN_MULTICAST || chk_addr_ret == RTN_BROADCAST) in l2tp_ip_bind()
724 int chk_addr_ret; in raw_bind() local734 chk_addr_ret = inet_addr_type_table(sock_net(sk), addr->sin_addr.s_addr, in raw_bind()738 if (addr->sin_addr.s_addr && chk_addr_ret != RTN_LOCAL && in raw_bind()739 chk_addr_ret != RTN_MULTICAST && chk_addr_ret != RTN_BROADCAST) in raw_bind()742 if (chk_addr_ret == RTN_MULTICAST || chk_addr_ret == RTN_BROADCAST) in raw_bind()
308 int chk_addr_ret; in ping_check_bind_addr() local322 chk_addr_ret = inet_addr_type_table(net, addr->sin_addr.s_addr, tb_id); in ping_check_bind_addr()325 chk_addr_ret = RTN_LOCAL; in ping_check_bind_addr()328 chk_addr_ret != RTN_LOCAL) || in ping_check_bind_addr()329 chk_addr_ret == RTN_MULTICAST || in ping_check_bind_addr()330 chk_addr_ret == RTN_BROADCAST) in ping_check_bind_addr()
464 int chk_addr_ret; in __inet_bind() local479 chk_addr_ret = inet_addr_type_table(net, addr->sin_addr.s_addr, tb_id); in __inet_bind()491 chk_addr_ret != RTN_LOCAL && in __inet_bind()492 chk_addr_ret != RTN_MULTICAST && in __inet_bind()493 chk_addr_ret != RTN_BROADCAST) in __inet_bind()522 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()346 chk_addr_ret != RTN_LOCAL && in __inet6_bind()347 chk_addr_ret != RTN_MULTICAST && in __inet6_bind()348 chk_addr_ret != RTN_BROADCAST) { in __inet6_bind()