Home
last modified time | relevance | path

Searched refs:chk_addr_ret (Results 1 – 5 of 5) sorted by relevance

/linux/net/l2tp/
H A Dl2tp_ip.c277 int chk_addr_ret; in l2tp_ip_bind() local
293 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()
/linux/net/ipv4/
H A Draw.c707 int chk_addr_ret; in raw_bind() local
717 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()
H A Dping.c315 int chk_addr_ret; in ping_check_bind_addr() local
332 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()
H A Daf_inet.c480 int chk_addr_ret; in __inet_bind() local
495 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()
/linux/net/ipv6/
H A Daf_inet6.c320 int chk_addr_ret; in __inet6_bind() local
341 chk_addr_ret = inet_addr_type_dev_table(net, dev, v4addr); in __inet6_bind()
345 chk_addr_ret)) { in __inet6_bind()