On 5/10/16 1:17 PM, I.S. Cho wrote: > > Dear. sir. > > Hello. > I am researching on the LISP tunneling of OVS. > As far as I know, the code 'lisp.c' is one of the core part for > implementation of lisp tunneling on OVS. > So, I am studying and analyzing it. However, I cannot find the main > part which calls the functions in 'lisp.c' such as 'rpl_lisp_xmit' or > 'lisp_dev_xmit'. I think, to add certain applications or actions about > lisp tunneling, it is required to know where these kinds of functions > is called (where are these codes mainly operated). > However(unfortunately), I cannot find parts which call (use) these > functions. > > > So, my questions are.. > > 1. I want to know which code _mainly_ calls the functions implemented > in 'lisp.c' such as 'rpl_lisp_xmit'. > 2. To implement certain functions on lisp tunneling, is it correct > modifying the code answered above?
No. The code calling lisp_dev_xmit for example is actually calling ndo_start_xmit() function from struct net_device_ops, which is a pointer to a tunnel specific implementation. So if you want to modify LISP tunneling specifically, you should modify lisp_dev_xmit itself, or other code in lisp.c accordingly. HTH, -Lori > > > > I look forward to your reply. > Best regards. > > > > > _______________________________________________ > discuss mailing list > discuss@openvswitch.org > http://openvswitch.org/mailman/listinfo/discuss _______________________________________________ discuss mailing list discuss@openvswitch.org http://openvswitch.org/mailman/listinfo/discuss