Skip to content

Commit

Permalink
Update plugins_ioam.md
Browse files Browse the repository at this point in the history
  • Loading branch information
starrysec authored Jul 3, 2020
1 parent c17c8ae commit 1f4a9ff
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions Source-Code-Analysis/plugins_ioam.md
Original file line number Diff line number Diff line change
Expand Up @@ -107,19 +107,19 @@ ipfix_collector_node_fn (vlib_main_t * vm,
b0 = vlib_get_buffer (vm, bi0);
b1 = vlib_get_buffer (vm, bi1);
/* ipfix消息头 */
/* ipfix消息头 */
ipfix0 = vlib_buffer_get_current (b0);
ipfix1 = vlib_buffer_get_current (b1);
/* ipfix set */
/* ipfix set */
set0 = (ipfix_set_header_t *) (ipfix0 + 1);
set1 = (ipfix_set_header_t *) (ipfix1 + 1);
/* set id */
/* set id */
set_id0 = (u16) (clib_net_to_host_u32 (set0->set_id_length) >> 16);
set_id1 = (u16) (clib_net_to_host_u32 (set1->set_id_length) >> 16);
/ ipfix client */
/* 从set id和client节点对应关系中获取ipfix client */
client0 = ipfix_collector_get_client (set_id0);
client1 = ipfix_collector_get_client (set_id1);
Expand Down

0 comments on commit 1f4a9ff

Please sign in to comment.