Home
last modified time | relevance | path

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

/openbmc/linux/net/l2tp/
H A Dl2tp_ip.c254 int chk_addr_ret; in l2tp_ip_bind() local
270 chk_addr_ret = inet_addr_type(net, addr->l2tp_addr.s_addr); in l2tp_ip_bind()
272 if (addr->l2tp_addr.s_addr && chk_addr_ret != RTN_LOCAL && in l2tp_ip_bind()
273 chk_addr_ret != RTN_MULTICAST && chk_addr_ret != RTN_BROADCAST) in l2tp_ip_bind()
280 if (chk_addr_ret == RTN_MULTICAST || chk_addr_ret == RTN_BROADCAST) in l2tp_ip_bind()
/openbmc/linux/net/ipv4/
H A Draw.c699 int chk_addr_ret; in raw_bind() local
709 chk_addr_ret = inet_addr_type_table(net, addr->sin_addr.s_addr, tb_id); in raw_bind()
713 chk_addr_ret)) in raw_bind()
717 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.c479 int chk_addr_ret; in __inet_bind() local
494 chk_addr_ret = inet_addr_type_table(net, addr->sin_addr.s_addr, tb_id); in __inet_bind()
505 chk_addr_ret)) in __inet_bind()
531 if (chk_addr_ret == RTN_MULTICAST || chk_addr_ret == RTN_BROADCAST) in __inet_bind()
/openbmc/linux/net/ipv6/
H A Daf_inet6.c318 int chk_addr_ret; in __inet6_bind() local
339 chk_addr_ret = inet_addr_type_dev_table(net, dev, v4addr); in __inet6_bind()
343 chk_addr_ret)) { in __inet6_bind()