Lines Matching refs:lcl
1740 static int default_scope(inet_prefix *lcl) in default_scope() argument
1742 if (lcl->family == AF_INET) { in default_scope()
1743 if (lcl->bytelen >= 1 && *(__u8*)&lcl->data == 127) in default_scope()
1771 inet_prefix lcl; in ipaddr_modify() local
1877 get_prefix(&lcl, *argv, req.ifa.ifa_family); in ipaddr_modify()
1879 req.ifa.ifa_family = lcl.family; in ipaddr_modify()
1880 addattr_l(&req.n, sizeof(req), IFA_LOCAL, &lcl.data, lcl.bytelen); in ipaddr_modify()
1881 local_len = lcl.bytelen; in ipaddr_modify()
1900 if (cmd == RTM_DELADDR && lcl.family == AF_INET && !(lcl.flags & PREFIXLEN_SPECIFIED)) { in ipaddr_modify()
1907 peer = lcl; in ipaddr_modify()
1908 addattr_l(&req.n, sizeof(req), IFA_ADDRESS, &lcl.data, lcl.bytelen); in ipaddr_modify()
1912 req.ifa.ifa_prefixlen = lcl.bitlen; in ipaddr_modify()
1934 req.ifa.ifa_scope = default_scope(&lcl); in ipaddr_modify()
1958 if ((ifa_flags & IFA_F_MCAUTOJOIN) && !ipaddr_is_multicast(&lcl)) { in ipaddr_modify()