From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Date: Wed, 16 Aug 2017 16:47:05 +0200 From: Linus =?utf-8?Q?L=C3=BCssing?= Message-ID: <20170816144705.GA11501@otheros> References: MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline In-Reply-To: Subject: Re: [B.A.T.M.A.N.] Manually Updating Translation table List-Id: The list for a Better Approach To Mobile Ad-hoc Networking List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: The list for a Better Approach To Mobile Ad-hoc Networking Hi, Currently, no there isn't. The only thing you could do to manually add an entry from inside a node is by crafting a dummy packet with the desired ethernet source address and transmit it on bat0. That way batman-adv would add that MAC address. Deleting only happens after a timeout though, no way to force it manually. In case you are thinking about implementing such a feature: The Linux bridge has a feature like that to update the FDB (forwarding database, for unicast addresses) or MDB (multicast database). It uses netlink for that and you can use /usr/sbin/bridge to easily add and remove entries from userspace. That'd probably be the approach to mimic in batman-adv for such a feature. Regards, Linus PS: Out of curiousity, could you share what you'd need such a feature for? On Wed, Aug 16, 2017 at 03:57:29PM +0200, Kartikeswar K wrote: > Dear BATMAN Community members, > > I am new to BATMAN Mesh network and looking forward for answer to my > query related to updating Local Translation Table in a BATMAN Node. > > I would like to make a mesh network where I would like to update the > client entry in Local Translation manually. Is it possible to add the > entry manually in translation table? > If so, I would like to know how can I update this table in BATMAN from > user space? > > Thanks in advance and would appreciate your responses. > > Thanks & Regards, > Kartikeswar Koppula > kartikeswar@gmail.com