Home
last modified time | relevance | path

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

/net/l2tp/
Dl2tp_ip.c266 int chk_addr_ret; in l2tp_ip_bind() local
282 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()
/net/ipv4/
Draw.c724 int chk_addr_ret; in raw_bind() local
734 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()
Dping.c308 int chk_addr_ret; in ping_check_bind_addr() local
322 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()
Daf_inet.c464 int chk_addr_ret; in __inet_bind() local
479 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()
/net/ipv6/
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()
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()