Lines Matching +full:0 +full:xfe800000

130 	return 0;  in addrconf_sysctl_register()
180 .forwarding = 0,
186 .force_mld_version = 0,
194 .use_tempaddr = 0,
203 .accept_ra_from_local = 0,
205 .accept_ra_min_lft = 0,
211 .accept_ra_rt_info_min_plen = 0,
212 .accept_ra_rt_info_max_plen = 0,
215 .proxy_ndp = 0,
216 .accept_source_route = 0, /* we do not accept RH0 by default. */
217 .disable_ipv6 = 0,
218 .accept_dad = 0,
224 .use_oif_addrs_only = 0,
225 .ignore_routes_with_linkdown = 0,
226 .keep_addr_on_down = 0,
227 .seg6_enabled = 0,
229 .seg6_require_hmac = 0,
233 .disable_policy = 0,
234 .rpl_seg_enabled = 0,
235 .ioam6_enabled = 0,
239 .ra_honor_pio_life = 0,
240 .ra_honor_pio_pflag = 0,
244 .forwarding = 0,
250 .force_mld_version = 0,
258 .use_tempaddr = 0,
267 .accept_ra_from_local = 0,
269 .accept_ra_min_lft = 0,
275 .accept_ra_rt_info_min_plen = 0,
276 .accept_ra_rt_info_max_plen = 0,
279 .proxy_ndp = 0,
280 .accept_source_route = 0, /* we do not accept RH0 by default. */
281 .disable_ipv6 = 0,
288 .use_oif_addrs_only = 0,
289 .ignore_routes_with_linkdown = 0,
290 .keep_addr_on_down = 0,
291 .seg6_enabled = 0,
293 .seg6_require_hmac = 0,
297 .disable_policy = 0,
298 .rpl_seg_enabled = 0,
299 .ioam6_enabled = 0,
303 .ra_honor_pio_life = 0,
304 .ra_honor_pio_pflag = 0,
364 return 0; in snmp6_alloc_dev()
391 timer_setup(&ndev->rs_timer, addrconf_rs_timer, 0); in ipv6_add_dev()
398 ndev->ra_mtu = 0; in ipv6_add_dev()
409 if (snmp6_alloc_dev(ndev) < 0) { in ipv6_add_dev()
419 if (snmp6_register_dev(ndev) < 0) { in ipv6_add_dev()
434 ndev->cnf.rtr_solicits = 0; in ipv6_add_dev()
548 if (nla_put_s32(skb, NETCONFA_IFINDEX, ifindex) < 0) in inet6_netconf_fill_devconf()
556 READ_ONCE(devconf->forwarding)) < 0) in inet6_netconf_fill_devconf()
561 atomic_read(&devconf->mc_forwarding)) < 0) in inet6_netconf_fill_devconf()
566 READ_ONCE(devconf->proxy_ndp)) < 0) in inet6_netconf_fill_devconf()
571 READ_ONCE(devconf->ignore_routes_with_linkdown)) < 0) in inet6_netconf_fill_devconf()
576 return 0; in inet6_netconf_fill_devconf()
593 err = inet6_netconf_fill_devconf(skb, ifindex, devconf, 0, 0, in inet6_netconf_notify_devconf()
594 event, 0, type); in inet6_netconf_notify_devconf()
595 if (err < 0) { in inet6_netconf_notify_devconf()
601 rtnl_notify(skb, net, 0, RTNLGRP_IPV6_NETCONF, NULL, GFP_KERNEL); in inet6_netconf_notify_devconf()
637 for (i = 0; i <= NETCONFA_MAX; i++) { in inet6_netconf_valid_get_req()
650 return 0; in inet6_netconf_valid_get_req()
667 if (err < 0) in inet6_netconf_get_devconf()
700 nlh->nlmsg_seq, RTM_NEWNETCONF, 0, in inet6_netconf_get_devconf()
702 if (err < 0) { in inet6_netconf_get_devconf()
723 /* Must not return 0 (see nl_dump_check_consistent()). in inet6_base_seq()
724 * Chose a value far away from 0. in inet6_base_seq()
727 res = 0x80000000; in inet6_base_seq()
742 int err = 0; in inet6_netconf_dump_devconf()
771 if (err < 0) in inet6_netconf_dump_devconf()
774 if (ctx->all_default == 0) { in inet6_netconf_dump_devconf()
781 if (err < 0) in inet6_netconf_dump_devconf()
792 if (err < 0) in inet6_netconf_dump_devconf()
885 return 0; in addrconf_fixup_forwarding()
954 return 0; in addrconf_fixup_linkdown()
1042 int err = 0; in ipv6_add_addr_hash()
1070 int err = 0; in ipv6_add_addr()
1110 if (err < 0) in ipv6_add_addr()
1160 if (err < 0) { in ipv6_add_addr()
1182 if (unlikely(err < 0)) { in ipv6_add_addr()
1267 ifp->idev->dev, 0, RTF_DEFAULT, true); in cleanup_prefix_route()
1366 int ret = 0; in ipv6_create_tempaddr()
1372 if (READ_ONCE(idev->cnf.use_tempaddr) <= 0) { in ipv6_create_tempaddr()
1407 if (max_desync_factor > 0) { in ipv6_create_tempaddr()
1412 idev->desync_factor = 0; in ipv6_create_tempaddr()
1418 memset(&cfg, 0, sizeof(cfg)); in ipv6_create_tempaddr()
1502 IPV6_SADDR_RULE_INIT = 0,
1541 return 0; in ipv6_saddr_preferred()
1602 /* Rule 0: remember if hiscore is not ready yet */ in ipv6_get_saddr_eval()
1629 * Assume B = 0 and we get C > 29. in ipv6_get_saddr_eval()
1703 ret = 0; in ipv6_get_saddr_eval()
1750 for (i = 0; i < IPV6_SADDR_RULE_MAX; i++) { in __ipv6_dev_get_saddr()
1758 score->scopedist > 0) { in __ipv6_dev_get_saddr()
1817 int hiscore_idx = 0; in ipv6_dev_get_saddr()
1818 int ret = 0; in ipv6_dev_get_saddr()
1822 dst.ifindex = dst_dev ? dst_dev->ifindex : 0; in ipv6_dev_get_saddr()
1862 int master_idx = 0; in ipv6_dev_get_saddr()
1877 scores[hiscore_idx].scopedist >= 0) in ipv6_dev_get_saddr()
1918 err = 0; in __ipv6_get_lladdr()
1945 int cnt = 0; in ipv6_count_addresses()
2017 strict, banned_flags) ? 1 : 0; in ipv6_chk_addr_and_flags()
2053 onlink = 0; in ipv6_chk_prefix()
2136 ipv6_ifa_notify(0, ifp); in addrconf_dad_stop()
2150 err = 0; in addrconf_dad_end()
2227 addrconf_mod_dad_work(ifp, 0); in addrconf_dad_failure()
2287 eui[3] = 0xFF; in addrconf_ifid_6lowpan()
2288 eui[4] = 0xFE; in addrconf_ifid_6lowpan()
2293 eui[0] ^= 2; in addrconf_ifid_6lowpan()
2299 return 0; in addrconf_ifid_6lowpan()
2312 eui[0] ^= 2; in addrconf_ifid_ieee1394()
2313 return 0; in addrconf_ifid_ieee1394()
2321 memset(eui, 0, 7); in addrconf_ifid_arcnet()
2323 return 0; in addrconf_ifid_arcnet()
2331 eui[0] |= 2; in addrconf_ifid_infiniband()
2332 return 0; in addrconf_ifid_infiniband()
2337 if (addr == 0) in __ipv6_isatap_ifid()
2339 eui[0] = (ipv4_is_zeronet(addr) || ipv4_is_private_10(addr) || in __ipv6_isatap_ifid()
2344 ipv4_is_lbcast(addr)) ? 0x00 : 0x02; in __ipv6_isatap_ifid()
2345 eui[1] = 0; in __ipv6_isatap_ifid()
2346 eui[2] = 0x5E; in __ipv6_isatap_ifid()
2347 eui[3] = 0xFE; in __ipv6_isatap_ifid()
2349 return 0; in __ipv6_isatap_ifid()
2368 eui[3] = 0xFF; in addrconf_ifid_ip6tnl()
2369 eui[4] = 0xFE; in addrconf_ifid_ip6tnl()
2370 eui[0] ^= 2; in addrconf_ifid_ip6tnl()
2371 return 0; in addrconf_ifid_ip6tnl()
2412 err = 0; in ipv6_inherit_eui64()
2444 if (ntohl(addr->s6_addr32[2]) == 0x02005eff && in ipv6_gen_rnd_iid()
2445 (ntohl(addr->s6_addr32[3]) & 0Xff000000) == 0xfe000000) in ipv6_gen_rnd_iid()
2449 if (ntohl(addr->s6_addr32[2]) == 0xfdffffff && in ipv6_gen_rnd_iid()
2450 ntohl(addr->s6_addr32[3]) >= 0Xffffff80) in ipv6_gen_rnd_iid()
2506 fn = fib6_locate(&table->tb6_root, pfx, plen, NULL, 0, true); in addrconf_get_prefix_route()
2521 if ((rt->fib6_flags & noflags) != 0) in addrconf_get_prefix_route()
2548 ipv6_addr_set(&cfg.fc_dst, htonl(0xFF000000), 0, 0, 0); in addrconf_add_mroute()
2599 if (max_valid < 0) in manage_tempaddrs()
2600 max_valid = 0; in manage_tempaddrs()
2604 if (max_prefered < 0) in manage_tempaddrs()
2605 max_prefered = 0; in manage_tempaddrs()
2618 if (prefered_lft > 0) in manage_tempaddrs()
2623 ipv6_ifa_notify(0, ift); in manage_tempaddrs()
2628 * However, we get called with valid_lft == 0, prefered_lft == 0, create == false in manage_tempaddrs()
2635 if (create && READ_ONCE(idev->cnf.use_tempaddr) > 0) { in manage_tempaddrs()
2660 int create = 0, update_lft = 0; in addrconf_prefix_rcv_add_addr()
2711 stored_lft = 0; in addrconf_prefix_rcv_add_addr()
2740 ipv6_ifa_notify(0, ifp); in addrconf_prefix_rcv_add_addr()
2751 return 0; in addrconf_prefix_rcv_add_addr()
2762 u32 addr_flags = 0; in addrconf_prefix_rcv()
2799 if (valid_lft != 0 && valid_lft < in6_dev->cnf.accept_ra_min_lft) in addrconf_prefix_rcv()
2833 if (valid_lft == 0) { in addrconf_prefix_rcv()
2852 clock_t expires = 0; in addrconf_prefix_rcv()
2860 0, dev, expires, flags, in addrconf_prefix_rcv()
2883 !ipv6_generate_stable_address(&addr, 0, in addrconf_prefix_rcv()
3036 if (ret < 0) { in inet6_addr_add()
3050 expires = 0; in inet6_addr_add()
3051 flags = 0; in inet6_addr_add()
3057 if (timeout == 0) in inet6_addr_add()
3074 ipv6_ifa_notify(0, ifp); in inet6_addr_add()
3086 return 0; in inet6_addr_add()
3129 manage_tempaddrs(idev, ifp, 0, 0, false, in inet6_addr_del()
3137 return 0; in inet6_addr_del()
3184 err = inet6_addr_del(net, ireq.ifr6_ifindex, 0, &ireq.ifr6_addr, in addrconf_del_ifaddr()
3221 int scope, plen, offset = 0; in add_v4_addrs()
3222 u32 pflags = 0; in add_v4_addrs()
3226 memset(&addr, 0, sizeof(struct in6_addr)); in add_v4_addrs()
3240 addr.s6_addr32[0] = htonl(0xfe800000); in add_v4_addrs()
3247 addrconf_prefix_route(&addr, plen, 0, idev->dev, 0, pflags, in add_v4_addrs()
3271 addrconf_prefix_route(&addr, plen, 0, idev->dev, in add_v4_addrs()
3272 0, pflags, GFP_KERNEL); in add_v4_addrs()
3319 addrconf_prefix_route(&ifp->addr, ifp->prefix_len, 0, idev->dev, in addrconf_add_linklocal()
3320 0, 0, GFP_ATOMIC); in addrconf_add_linklocal()
3329 if ((address.s6_addr32[2] | address.s6_addr32[3]) == 0) in ipv6_reserved_interfaceid()
3332 if (address.s6_addr32[2] == htonl(0x02005eff) && in ipv6_reserved_interfaceid()
3333 ((address.s6_addr32[3] & htonl(0xfe000000)) == htonl(0xfe000000))) in ipv6_reserved_interfaceid()
3336 if (address.s6_addr32[2] == htonl(0xfdffffff) && in ipv6_reserved_interfaceid()
3337 ((address.s6_addr32[3] & htonl(0xffffff80)) == htonl(0xffffff80))) in ipv6_reserved_interfaceid()
3378 memset(&data, 0, sizeof(data)); in ipv6_generate_stable_address()
3379 memset(workspace, 0, sizeof(workspace)); in ipv6_generate_stable_address()
3381 data.prefix[0] = address->s6_addr32[0]; in ipv6_generate_stable_address()
3389 temp.s6_addr32[2] = (__force __be32)digest[0]; in ipv6_generate_stable_address()
3402 return 0; in ipv6_generate_stable_address()
3428 ipv6_addr_set(&addr, htonl(0xFE800000), 0, 0, 0); in addrconf_addr_gen()
3435 if (!ipv6_generate_stable_address(&addr, 0, idev)) in addrconf_addr_gen()
3439 addrconf_prefix_route(&addr, 64, 0, idev->dev, in addrconf_addr_gen()
3440 0, 0, GFP_KERNEL); in addrconf_addr_gen()
3447 if (ipv6_generate_eui64(addr.s6_addr + 8, idev->dev) == 0) in addrconf_addr_gen()
3448 addrconf_add_linklocal(idev, &addr, 0); in addrconf_addr_gen()
3450 addrconf_prefix_route(&addr, 64, 0, idev->dev, in addrconf_addr_gen()
3451 0, 0, GFP_KERNEL); in addrconf_addr_gen()
3604 ifp->rt_priority, idev->dev, 0, 0, in fixup_permanent_addr()
3611 return 0; in fixup_permanent_addr()
3627 fixup_permanent_addr(net, idev, ifp) < 0) { in addrconf_permanent_addr()
3649 int run_pending = 0; in addrconf_notify()
3889 keep_addr = (_keep_addr > 0); in addrconf_ifdown()
3893 for (i = 0; i < IN6_ADDR_HSIZE; i++) { in addrconf_ifdown()
4007 idev->ra_mtu = 0; in addrconf_ifdown()
4016 return 0; in addrconf_ifdown()
4039 if (idev->rs_probes++ < rtr_solicits || rtr_solicits < 0) { in addrconf_rs_timer()
4080 rand_num = 0; in addrconf_dad_kick()
4085 nonce = 0; in addrconf_dad_kick()
4090 while (nonce == 0); in addrconf_dad_kick()
4140 addrconf_dad_stop(ifp, 0); in addrconf_dad_begin()
4178 addrconf_mod_dad_work(ifp, 0); in addrconf_dad_start()
4212 addr.s6_addr32[0] = htonl(0xfe800000); in addrconf_dad_work()
4213 addr.s6_addr32[1] = 0; in addrconf_dad_work()
4255 if (ifp->dad_probes == 0) { in addrconf_dad_work()
4332 READ_ONCE(ifp->idev->cnf.rtr_solicits) != 0 && in addrconf_dad_completed()
4333 (dev->flags & IFF_LOOPBACK) == 0 && in addrconf_dad_completed()
4415 int p = 0; in if6_get_first()
4417 /* initial bucket if pos is 0 */ in if6_get_first()
4418 if (pos == 0) { in if6_get_first()
4419 state->bucket = 0; in if6_get_first()
4420 state->offset = 0; in if6_get_first()
4435 state->offset = 0; in if6_get_first()
4436 p = 0; in if6_get_first()
4452 state->offset = 0; in if6_get_next()
4495 return 0; in if6_seq_show()
4510 return 0; in if6_proc_net_init()
4540 int ret = 0; in ipv6_chk_home_addr()
4569 int i, ret = 0, found = 0; in ipv6_chk_rpl_srh_loop()
4576 for (i = 0; i < nsegs; i++) { in ipv6_chk_rpl_srh_loop()
4624 for (i = 0; i < IN6_ADDR_HSIZE; i++) { in addrconf_verify_rtnl()
4660 ifpub->regen_count = 0; in addrconf_verify_rtnl()
4685 int deprecate = 0; in addrconf_verify_rtnl()
4701 ipv6_ifa_notify(0, ifp); in addrconf_verify_rtnl()
4743 mod_delayed_work(addrconf_wq, &net->ipv6.addr_chk_work, 0); in addrconf_verify()
4788 if (err < 0) in inet6_rtm_deladdr()
4815 ifp->idev->dev, 0, RTF_DEFAULT, true); in modify_prefix_route()
4846 return 0; in modify_prefix_route()
4877 expires = 0; in inet6_addr_modify()
4878 flags = 0; in inet6_addr_modify()
4884 if (timeout == 0) in inet6_addr_modify()
4917 ipv6_ifa_notify(0, ifp); in inet6_addr_modify()
4957 cfg->valid_lft = 0; in inet6_addr_modify()
4958 cfg->preferred_lft = 0; in inet6_addr_modify()
4967 return 0; in inet6_addr_modify()
4986 if (err < 0) in inet6_rtm_newaddr()
4989 memset(&cfg, 0, sizeof(cfg)); in inet6_rtm_newaddr()
5149 if (args->netnsid >= 0 && in inet6_fill_ifaddr()
5164 preferred = 0; in inet6_fill_ifaddr()
5169 valid = 0; in inet6_fill_ifaddr()
5178 if (nla_put_in6_addr(skb, IFA_LOCAL, &ifa->addr) < 0 || in inet6_fill_ifaddr()
5179 nla_put_in6_addr(skb, IFA_ADDRESS, &ifa->peer_addr) < 0) in inet6_fill_ifaddr()
5182 if (nla_put_in6_addr(skb, IFA_ADDRESS, &ifa->addr) < 0) in inet6_fill_ifaddr()
5191 preferred, valid) < 0) in inet6_fill_ifaddr()
5194 if (nla_put_u32(skb, IFA_FLAGS, flags) < 0) in inet6_fill_ifaddr()
5202 return 0; in inet6_fill_ifaddr()
5225 if (args->netnsid >= 0 && in inet6_fill_ifmcaddr()
5232 if (nla_put_in6_addr(skb, IFA_MULTICAST, &ifmca->mca_addr) < 0 || in inet6_fill_ifmcaddr()
5234 INFINITY_LIFE_TIME, INFINITY_LIFE_TIME) < 0) { in inet6_fill_ifmcaddr()
5240 return 0; in inet6_fill_ifmcaddr()
5260 if (args->netnsid >= 0 && in inet6_fill_ifacaddr()
5267 if (nla_put_in6_addr(skb, IFA_ANYCAST, &ifaca->aca_addr) < 0 || in inet6_fill_ifacaddr()
5269 INFINITY_LIFE_TIME, INFINITY_LIFE_TIME) < 0) { in inet6_fill_ifacaddr()
5275 return 0; in inet6_fill_ifacaddr()
5285 int ip_idx = 0; in in6_dump_addrs()
5286 int err = 0; in in6_dump_addrs()
5298 if (err < 0) in in6_dump_addrs()
5316 if (err < 0) in in6_dump_addrs()
5328 if (err < 0) in in6_dump_addrs()
5335 *s_ip_idx = err ? ip_idx : 0; in in6_dump_addrs()
5368 if (err < 0) in inet6_valid_dump_ifaddr_req()
5371 for (i = 0; i <= IFA_MAX; ++i) { in inet6_valid_dump_ifaddr_req()
5392 return 0; in inet6_valid_dump_ifaddr_req()
5413 int err = 0; in inet6_dump_addr()
5419 if (err < 0) in inet6_dump_addr()
5422 err = 0; in inet6_dump_addr()
5445 if (err < 0) in inet6_dump_addr()
5450 if (fillargs.netnsid >= 0) in inet6_dump_addr()
5506 for (i = 0; i <= IFA_MAX; i++) { in inet6_rtm_valid_getaddr_req()
5521 return 0; in inet6_rtm_valid_getaddr_req()
5532 .flags = 0, in inet6_rtm_getaddr()
5544 if (err < 0) in inet6_rtm_getaddr()
5578 if (err < 0) { in inet6_rtm_getaddr()
5589 if (fillargs.netnsid >= 0) in inet6_rtm_getaddr()
5600 .portid = 0, in inet6_ifa_notify()
5601 .seq = 0, in inet6_ifa_notify()
5603 .flags = 0, in inet6_ifa_notify()
5613 if (err < 0) { in inet6_ifa_notify()
5619 rtnl_notify(skb, net, 0, RTNLGRP_IPV6_IFADDR, NULL, GFP_ATOMIC); in inet6_ifa_notify()
5630 memset(array, 0, bytes); in ipv6_store_devconf()
5728 + 0; in inet6_ifla6_size()
5747 BUG_ON(pad < 0); in __snmp6_fill_statsdev()
5750 put_unaligned(ICMP6_MIB_MAX, &stats[0]); in __snmp6_fill_statsdev()
5754 memset(&stats[ICMP6_MIB_MAX], 0, pad); in __snmp6_fill_statsdev()
5764 BUG_ON(pad < 0); in __snmp6_fill_stats64()
5766 memset(buff, 0, sizeof(buff)); in __snmp6_fill_stats64()
5767 buff[0] = IPSTATS_MIB_MAX; in __snmp6_fill_stats64()
5775 memset(&stats[IPSTATS_MIB_MAX], 0, pad); in __snmp6_fill_stats64()
5815 return 0; in inet6_fill_ifla6_attrs()
5842 return 0; in inet6_fill_ifla6_attrs()
5852 return 0; in inet6_get_link_af_size()
5865 if (inet6_fill_ifla6_attrs(skb, idev, ext_filter_mask) < 0) in inet6_fill_link_af()
5868 return 0; in inet6_fill_link_af()
5901 if (READ_ONCE(idev->cnf.rtr_solicits) == 0) { in inet6_set_iftoken()
5943 ifp->valid_lft = 0; in inet6_set_iftoken()
5944 ifp->prefered_lft = 0; in inet6_set_iftoken()
5952 return 0; in inet6_set_iftoken()
6008 if (check_addr_gen_mode(mode) < 0) in inet6_validate_link_af()
6010 if (dev && check_stable_privacy(idev, dev_net(dev), mode) < 0) in inet6_validate_link_af()
6014 return 0; in inet6_validate_link_af()
6027 if (nla_parse_nested_deprecated(tb, IFLA_INET6_MAX, nla, NULL, NULL) < 0) in inet6_set_link_af()
6043 return 0; in inet6_set_link_af()
6061 hdr->__ifi_pad = 0; in inet6_fill_ifinfo()
6066 hdr->ifi_change = 0; in inet6_fill_ifinfo()
6082 if (inet6_fill_ifla6_attrs(skb, idev, 0) < 0) in inet6_fill_ifinfo()
6087 return 0; in inet6_fill_ifinfo()
6116 return 0; in inet6_valid_dump_ifinfo()
6135 if (err < 0) in inet6_dump_ifinfo()
6139 err = 0; in inet6_dump_ifinfo()
6149 if (err < 0) in inet6_dump_ifinfo()
6167 err = inet6_fill_ifinfo(skb, idev, 0, 0, event, 0); in inet6_ifinfo_notify()
6168 if (err < 0) { in inet6_ifinfo_notify()
6174 rtnl_notify(skb, net, 0, RTNLGRP_IPV6_IFINFO, NULL, GFP_ATOMIC); in inet6_ifinfo_notify()
6201 pmsg->prefix_pad1 = 0; in inet6_fill_prefix()
6202 pmsg->prefix_pad2 = 0; in inet6_fill_prefix()
6206 pmsg->prefix_pad3 = 0; in inet6_fill_prefix()
6216 return 0; in inet6_fill_prefix()
6234 err = inet6_fill_prefix(skb, idev, pinfo, 0, 0, event, 0); in inet6_prefix_notify()
6235 if (err < 0) { in inet6_prefix_notify()
6241 rtnl_notify(skb, net, 0, RTNLGRP_IPV6_PREFIX, NULL, GFP_ATOMIC); in inet6_prefix_notify()
6278 0, 0, GFP_ATOMIC); in __ipv6_ifa_notify()
6288 ifp->idev->dev, 0, 0, in __ipv6_ifa_notify()
6305 if (likely(ifp->idev->dead == 0)) in ipv6_ifa_notify()
6388 return 0; in addrconf_disable_ipv6()
6404 return 0; in addrconf_disable_ipv6()
6477 int ret = 0; in addrconf_sysctl_addr_gen_mode()
6493 if (ret != 0) in addrconf_sysctl_addr_gen_mode()
6497 if (check_addr_gen_mode(new_val) < 0) { in addrconf_sysctl_addr_gen_mode()
6503 if (check_stable_privacy(idev, net, new_val) < 0) { in addrconf_sysctl_addr_gen_mode()
6679 return 0; in addrconf_disable_policy()
6701 return 0; in addrconf_disable_policy()
7210 for (i = 0; i < table_size; i++) { in __addrconf_sysctl_register()
7237 return 0; in __addrconf_sysctl_register()
7258 inet6_netconf_notify_devconf(net, RTM_DELNETCONF, 0, ifindex, NULL); in __addrconf_sysctl_unregister()
7326 case 0: in addrconf_init_net()
7345 if (err < 0) in addrconf_init_net()
7349 if (err < 0) in addrconf_init_net()
7352 return 0; in addrconf_init_net()
7389 for (i = 0; i < IN6_ADDR_HSIZE; i++) in addrconf_exit_net()
7419 if (err < 0) { in addrconf_init()
7426 if (err < 0) in addrconf_init()
7454 if (err < 0) in addrconf_init()
7458 inet6_rtm_newaddr, NULL, 0); in addrconf_init()
7459 if (err < 0) in addrconf_init()
7462 inet6_rtm_deladdr, NULL, 0); in addrconf_init()
7463 if (err < 0) in addrconf_init()
7469 if (err < 0) in addrconf_init()
7474 if (err < 0) in addrconf_init()
7479 if (err < 0) in addrconf_init()
7486 if (err < 0) in addrconf_init()
7489 if (err < 0) in addrconf_init()
7492 return 0; in addrconf_init()