Hi all,

reading a piece of code( *src/vnet/llc/node.c* ) I noticed that llc_input is 
almost the same as function snap_input( *src/vnet/snap/node.c* )...
but there is a different line and I would like to understand the reason, may be 
is the same having or not that line but I am not sure.
*src/vnet/llc/node.c :176*

case 3:

  /* A B B or A B C */

  to_next -= 2;

  n_left_to_next += 2;

  vlib_set_next_frame_buffer (vm, node, next0, bi0);

  vlib_set_next_frame_buffer (vm, node, next1, bi1);

src/vnet/snap/node.c:182
case 3:  /* A B B or A B C */  to_next -= 2;  to_next[-2] = bi0;  
n_left_to_next += 2;  vlib_set_next_frame_buffer (vm, node, next0, bi0);
BR,
Manuel
-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.

View/Reply Online (#12214): https://lists.fd.io/g/vpp-dev/message/12214
Mute This Topic: https://lists.fd.io/mt/29700012/21656
Mute #vpp: https://lists.fd.io/mk?hashtag=vpp&subid=1480452
Group Owner: vpp-dev+ow...@lists.fd.io
Unsubscribe: https://lists.fd.io/g/vpp-dev/unsub  [arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-

Reply via email to