Searched refs:vnm (Results 1 - 25 of 280) sorted by relevance

1234567891011>>

/vpp/src/vnet/
H A Dinterface_funcs.h44 vnet_get_hw_interface (vnet_main_t * vnm, u32 hw_if_index) argument
46 return pool_elt_at_index (vnm->interface_main.hw_interfaces, hw_if_index);
50 vnet_get_hw_interface_or_null (vnet_main_t * vnm, u32 hw_if_index) argument
52 if (!pool_is_free_index (vnm->interface_main.hw_interfaces, hw_if_index))
53 return pool_elt_at_index (vnm->interface_main.hw_interfaces, hw_if_index);
58 vnet_get_sw_interface (vnet_main_t * vnm, u32 sw_if_index) argument
60 return pool_elt_at_index (vnm->interface_main.sw_interfaces, sw_if_index);
64 vnet_get_sw_interface_or_null (vnet_main_t * vnm, u32 sw_if_index) argument
66 if (!pool_is_free_index (vnm->interface_main.sw_interfaces, sw_if_index))
67 return pool_elt_at_index (vnm
72 vnet_get_hw_sw_interface(vnet_main_t * vnm, u32 hw_if_index) argument
81 vnet_get_sup_sw_interface(vnet_main_t * vnm, u32 sw_if_index) argument
92 vnet_get_sup_hw_interface(vnet_main_t * vnm, u32 sw_if_index) argument
101 vnet_get_sup_hw_interface_api_visible_or_null(vnet_main_t * vnm, u32 sw_if_index) argument
117 vnet_get_hw_interface_class(vnet_main_t * vnm, u32 hw_class_index) argument
124 vnet_get_device_class(vnet_main_t * vnm, u32 dev_class_index) argument
131 vnet_get_sw_interface_tag(vnet_main_t * vnm, u32 sw_if_index) argument
141 vnet_set_sw_interface_tag(vnet_main_t * vnm, u8 * tag, u32 sw_if_index) argument
156 vnet_clear_sw_interface_tag(vnet_main_t * vnm, u32 sw_if_index) argument
245 vnet_sw_interface_get_flags(vnet_main_t * vnm, u32 sw_if_index) argument
252 vnet_sw_interface_is_valid(vnet_main_t * vnm, u32 sw_if_index) argument
258 vnet_hw_interface_is_valid(vnet_main_t * vnm, u32 hw_if_index) argument
265 vnet_sw_interface_is_admin_up(vnet_main_t * vnm, u32 sw_if_index) argument
278 vnet_sw_interface_is_api_visible(vnet_main_t * vnm, u32 sw_if_index) argument
285 vnet_sw_interface_is_api_valid(vnet_main_t * vnm, u32 sw_if_index) argument
292 vnet_sw_interface_get_hw_address(vnet_main_t * vnm, u32 sw_if_index) argument
299 vnet_hw_interface_get_flags(vnet_main_t * vnm, u32 hw_if_index) argument
306 vnet_hw_interface_get_mtu(vnet_main_t * vnm, u32 hw_if_index) argument
313 vnet_sw_interface_get_mtu(vnet_main_t * vnm, u32 sw_if_index, vnet_mtu_t af) argument
324 vnet_hw_interface_is_link_up(vnet_main_t * vnm, u32 hw_if_index) argument
331 vnet_sw_interface_is_link_up(vnet_main_t * vnm, u32 sw_if_index) argument
339 vnet_sw_interface_is_up(vnet_main_t * vnm, u32 sw_if_index) argument
346 vnet_get_frame_to_sw_interface(vnet_main_t * vnm, u32 sw_if_index) argument
353 vnet_put_frame_to_sw_interface(vnet_main_t * vnm, u32 sw_if_index, vlib_frame_t * f) argument
361 vnet_hw_interface_set_link_speed(vnet_main_t * vnm, u32 hw_if_index, u32 link_speed) argument
[all...]
H A Dmisc.c75 vnet_main_t *vnm = vnet_get_main (); local
79 vnm->vlib_main = vm;
82 (vnm, vnet_local_interface_device_class.index, /* instance */ 0,
84 hw = vnet_get_hw_interface (vnm, hw_if_index);
86 vnm->local_interface_hw_if_index = hw_if_index;
87 vnm->local_interface_sw_if_index = hw->sw_if_index;
H A Dinterface.c53 static clib_error_t *vnet_hw_interface_set_flags_helper (vnet_main_t * vnm,
60 static clib_error_t *vnet_sw_interface_set_flags_helper (vnet_main_t * vnm,
67 static clib_error_t *vnet_hw_interface_set_class_helper (vnet_main_t * vnm,
126 vnet_main_t *vnm = va_arg (*va, vnet_main_t *); local
130 vnet_interface_main_t *im = &vnm->interface_main;
136 vnet_hw_interface_class_t * hw_class = vnet_get_hw_interface_class (vnm, hif->hw_class_index);
188 vnet_main_t *vnm = va_arg (*va, vnet_main_t *); local
193 vnet_interface_main_t *im = &vnm->interface_main;
206 (vnm, hif->hw_if_index, p[0], /* redistribute */ 0);
220 vnet_sw_interface_set_flags_helper (vnm, s
235 call_elf_section_interface_callbacks(vnet_main_t * vnm, u32 if_index, u32 flags, _vnet_interface_function_list_elt_t ** elts) argument
261 call_hw_interface_add_del_callbacks(vnet_main_t * vnm, u32 hw_if_index, u32 is_create) argument
289 call_sw_interface_add_del_callbacks(vnet_main_t * vnm, u32 sw_if_index, u32 is_create) argument
297 vnet_hw_interface_set_flags_helper(vnet_main_t * vnm, u32 hw_if_index, vnet_hw_interface_flags_t flags, vnet_interface_helper_flags_t helper_flags) argument
346 vnet_sw_interface_set_flags_helper(vnet_main_t * vnm, u32 sw_if_index, vnet_sw_interface_flags_t flags, vnet_interface_helper_flags_t helper_flags) argument
498 vnet_hw_interface_set_flags(vnet_main_t * vnm, u32 hw_if_index, vnet_hw_interface_flags_t flags) argument
507 vnet_sw_interface_set_flags(vnet_main_t * vnm, u32 sw_if_index, vnet_sw_interface_flags_t flags) argument
516 vnet_sw_interface_admin_up(vnet_main_t * vnm, u32 sw_if_index) argument
528 vnet_sw_interface_admin_down(vnet_main_t * vnm, u32 sw_if_index) argument
540 vnet_create_sw_interface_no_callbacks(vnet_main_t * vnm, vnet_sw_interface_t * template) argument
584 vnet_create_sw_interface(vnet_main_t * vnm, vnet_sw_interface_t * template, u32 * sw_if_index) argument
632 vnet_delete_sw_interface(vnet_main_t * vnm, u32 sw_if_index) argument
663 call_sw_interface_mtu_change_callbacks(vnet_main_t * vnm, u32 sw_if_index) argument
670 vnet_sw_interface_set_mtu(vnet_main_t * vnm, u32 sw_if_index, u32 mtu) argument
682 vnet_sw_interface_set_protocol_mtu(vnet_main_t * vnm, u32 sw_if_index, u32 mtu[]) argument
703 vnet_sw_interface_ip_directed_broadcast(vnet_main_t * vnm, u32 sw_if_index, u8 enable) argument
722 sw_interface_walk_callback(vnet_main_t * vnm, u32 sw_if_index, void *ctx) argument
730 vnet_hw_interface_set_mtu(vnet_main_t * vnm, u32 hw_if_index, u32 mtu) argument
768 vnet_register_interface(vnet_main_t * vnm, u32 dev_class_index, u32 dev_instance, u32 hw_class_index, u32 hw_instance) argument
980 vnet_delete_hw_interface(vnet_main_t * vnm, u32 hw_if_index) argument
1049 vnet_hw_interface_walk_sw(vnet_main_t * vnm, u32 hw_if_index, vnet_hw_sw_interface_walk_t fn, void *ctx) argument
1072 vnet_hw_interface_walk(vnet_main_t * vnm, vnet_hw_interface_walk_t fn, void *ctx) argument
1090 vnet_sw_interface_walk(vnet_main_t * vnm, vnet_sw_interface_walk_t fn, void *ctx) argument
1108 vnet_hw_interface_init_for_class(vnet_main_t * vnm, u32 hw_if_index, u32 hw_class_index, u32 hw_instance) argument
1121 vnet_hw_interface_set_class_helper(vnet_main_t * vnm, u32 hw_if_index, u32 hw_class_index, u32 redistribute) argument
1178 vnet_hw_interface_set_class(vnet_main_t * vnm, u32 hw_if_index, u32 hw_class_index) argument
1186 vnet_hw_interface_rx_redirect_to_node_helper(vnet_main_t * vnm, u32 hw_if_index, u32 node_index, u32 redistribute) argument
1205 vnet_hw_interface_rx_redirect_to_node(vnet_main_t * vnm, u32 hw_if_index, u32 node_index) argument
1214 vnet_sw_interface_compare(vnet_main_t * vnm, uword sw_if_index0, uword sw_if_index1) argument
1228 vnet_hw_interface_compare(vnet_main_t * vnm, uword hw_if_index0, uword hw_if_index1) argument
1240 vnet_sw_interface_is_p2p(vnet_main_t * vnm, u32 sw_if_index) argument
1255 vnet_sw_interface_is_nbma(vnet_main_t * vnm, u32 sw_if_index) argument
1267 vnet_main_t *vnm = vnet_get_main (); local
1394 vnet_main_t *vnm = vnet_get_main (); local
1420 vnet_rename_interface(vnet_main_t * vnm, u32 hw_if_index, char *new_name) argument
1456 vnet_hw_interface_add_del_mac_address(vnet_main_t * vnm, u32 hw_if_index, const u8 * mac_address, u8 is_add) argument
1498 vnet_hw_interface_change_mac_address_helper(vnet_main_t * vnm, u32 hw_if_index, const u8 * mac_address) argument
1544 vnet_hw_interface_change_mac_address(vnet_main_t * vnm, u32 hw_if_index, const u8 * mac_address) argument
1556 vnet_main_t *vnm = vnet_get_main (); local
1635 default_build_rewrite(vnet_main_t * vnm, u32 sw_if_index, vnet_link_t link_type, const void *dst_address) argument
1643 default_update_adjacency(vnet_main_t * vnm, u32 sw_if_index, u32 ai) argument
[all...]
H A Dinterface_cli.c72 vnet_main_t *vnm = vnet_get_main (); local
73 vnet_interface_main_t *im = &vnm->interface_main;
83 (input, "%U", unformat_vnet_hw_interface, vnm, &hw_if_index))
127 vlib_cli_output (vm, "%U\n", format_vnet_hw_interface, vnm, 0, verbose);
130 hi = vnet_get_hw_interface (vnm, hw_if_indices[i]);
132 vlib_cli_output (vm, "%U\n", format_vnet_hw_interface, vnm,
139 vlib_cli_output (vm, "%U\n", format_vnet_hw_interface, vnm,
145 shi = vnet_get_hw_interface(vnm, hw_idx);
147 format_vnet_hw_interface, vnm, shi, verbose);
159 hi = vnet_get_hw_interface (vnm, hw_if_indice
273 vnet_main_t *vnm = vnet_get_main (); local
527 vnet_main_t *vnm = vnet_get_main (); local
690 vnet_main_t *vnm = vnet_get_main (); local
908 vnet_main_t *vnm = vnet_get_main (); local
962 vnet_main_t *vnm = vnet_get_main (); local
1005 vnet_main_t *vnm = vnet_get_main (); local
1057 vnet_main_t *vnm = vnet_get_main (); local
1096 vnet_main_t *vnm = vnet_get_main (); local
1131 vnet_main_t *vnm = vnet_get_main (); local
1196 vnet_main_t *vnm = vnet_get_main (); local
1274 vnet_main_t *vnm = vnet_get_main (); local
1348 vnet_main_t *vnm = vnet_get_main (); local
1397 vnet_main_t *vnm = vnet_get_main (); local
1423 vnet_main_t *vnm = vnet_get_main (); local
1447 vnet_main_t *vnm = vnet_get_main (); local
1484 set_hw_interface_rx_mode(vnet_main_t * vnm, u32 hw_if_index, u32 queue_id, vnet_hw_interface_rx_mode mode) argument
1539 set_hw_interface_change_rx_mode(vnet_main_t * vnm, u32 hw_if_index, u8 queue_id_valid, u32 queue_id, vnet_hw_interface_rx_mode mode) argument
1571 vnet_main_t *vnm = vnet_get_main (); local
1662 vnet_main_t *vnm = vnet_get_main (); local
1739 vnet_main_t *vnm = vnet_get_main (); local
1777 vnet_main_t *vnm = vnet_get_main (); local
2039 vnet_main_t *vnm = vnet_get_main (); local
[all...]
H A Dinterface.h65 (struct vnet_main_t * vnm, u32 if_index, u32 flags);
69 (struct vnet_main_t * vnm, u32 if_index,
83 (struct vnet_main_t * vnm, u32 if_index, u32 queue_id,
88 (struct vnet_main_t * vnm, struct vnet_hw_interface_t * hi,
100 typedef int (vnet_flow_dev_ops_function_t) (struct vnet_main_t * vnm,
115 clib_error_t *(*fp) (struct vnet_main_t * vnm, u32 if_index, u32 flags);
126 vnet_main_t * vnm = vnet_get_main(); \
128 init_function.next_interface_function = vnm->tag##_functions[p]; \
129 vnm->tag##_functions[p] = &init_function; \
137 vnet_main_t * vnm
[all...]
/vpp/src/vnet/ip/
H A Dip6_ll_types.c24 vnet_main_t *vnm = vnet_get_main (); local
29 vnm, vnet_get_sw_interface (vnm, ilp->ilp_sw_if_index));
/vpp/src/plugins/unittest/
H A Dinterface_test.c23 vnet_main_t *vnm; local
28 vnm = vnet_get_main ();
33 (input, "%U", unformat_vnet_sw_interface, vnm, &sw_if_index))
47 sw = vnet_get_sw_interface (vnm, sw_if_index);
49 vnet_hw_interface_set_flags (vnm, sw->hw_if_index, flags);
/vpp/src/vnet/flow/
H A Dflow.c24 vnet_flow_get_range (vnet_main_t * vnm, char *owner, u32 count, u32 * start) argument
43 vnet_flow_add (vnet_main_t * vnm, vnet_flow_t * flow, u32 * flow_index) argument
67 vnet_flow_del (vnet_main_t * vnm, u32 flow_index) argument
80 vnet_flow_disable (vnm, flow_index, hw_if_index);
91 vnet_flow_enable (vnet_main_t * vnm, u32 flow_index, u32 hw_if_index) argument
102 if (!vnet_hw_interface_is_valid (vnm, hw_if_index))
109 hi = vnet_get_hw_interface (vnm, hw_if_index);
110 dev_class = vnet_get_device_class (vnm, hi->dev_class_index);
117 vnet_hw_interface_t *hw = vnet_get_hw_interface (vnm, hw_if_index);
119 vlib_node_add_next (vnm
135 vnet_flow_disable(vnet_main_t * vnm, u32 flow_index, u32 hw_if_index) argument
[all...]
/vpp/src/vnet/adj/
H A Drewrite.c49 vnet_main_t *vnm = vnet_get_main (); local
56 si = vnet_get_sw_interface_or_null (vnm, rw->sw_if_index);
58 s = format (s, "%U:", format_vnet_sw_interface_name, vnm, si);
73 vnet_tx_node_index_for_sw_interface (vnet_main_t * vnm, u32 sw_if_index) argument
75 vnet_hw_interface_t *hw = vnet_get_sup_hw_interface (vnm, sw_if_index);
80 vnet_rewrite_init (vnet_main_t * vnm, argument
86 rw->next_index = vlib_node_add_next (vnm->vlib_main, this_node, next_node);
88 vnet_sw_interface_get_mtu (vnm, sw_if_index, vnet_link_to_mtu (linkt));
92 vnet_rewrite_update_mtu (vnet_main_t * vnm, vnet_link_t linkt, argument
96 vnet_sw_interface_get_mtu (vnm, r
101 vnet_rewrite_for_sw_interface(vnet_main_t * vnm, vnet_link_t link_type, u32 sw_if_index, u32 node_index, void *dst_address, vnet_rewrite_header_t * rw, u32 max_rewrite_bytes) argument
164 vnet_build_rewrite_for_sw_interface(vnet_main_t * vnm, u32 sw_if_index, vnet_link_t link_type, const void *dst_address) argument
179 vnet_update_adjacency_for_sw_interface(vnet_main_t * vnm, u32 sw_if_index, u32 ai) argument
[all...]
/vpp/src/plugins/nat/nat66/
H A Dnat66_cli.c29 vnet_main_t *vnm = vnet_get_main (); local
44 vnm, &sw_if_index))
47 vnm, &sw_if_index))
70 format_vnet_sw_interface_name, vnm,
71 vnet_get_sw_interface (vnm, sw_if_index));
76 format_vnet_sw_interface_name, vnm,
77 vnet_get_sw_interface (vnm, sw_if_index));
84 format_vnet_sw_interface_name, vnm,
85 vnet_get_sw_interface (vnm, sw_if_index));
105 format_vnet_sw_interface_name, vnm,
141 vnet_main_t *vnm = vnet_get_main (); local
[all...]
/vpp/src/vnet/devices/
H A Ddevices.h79 vnet_hw_interface_set_input_node (vnet_main_t * vnm, u32 hw_if_index, argument
82 vnet_hw_interface_t *hw = vnet_get_hw_interface (vnm, hw_if_index);
86 void vnet_hw_interface_assign_rx_thread (vnet_main_t * vnm, u32 hw_if_index,
88 int vnet_hw_interface_unassign_rx_thread (vnet_main_t * vnm, u32 hw_if_index,
90 int vnet_hw_interface_set_rx_mode (vnet_main_t * vnm, u32 hw_if_index,
93 int vnet_hw_interface_get_rx_mode (vnet_main_t * vnm, u32 hw_if_index,
127 vnet_get_device_input_thread_index (vnet_main_t * vnm, u32 hw_if_index, argument
130 vnet_hw_interface_t *hw = vnet_get_hw_interface (vnm, hw_if_index);
136 vnet_device_input_set_interrupt_pending (vnet_main_t * vnm, u32 hw_if_index, argument
145 hw = vnet_get_hw_interface (vnm, hw_if_inde
[all...]
/vpp/src/vnet/l2/
H A Dl2_bvi.c44 bvi_admin_up_down (vnet_main_t * vnm, u32 hw_if_index, u32 flags) argument
48 vnet_hw_interface_set_flags (vnm, hw_if_index, hw_flags);
139 vnet_main_t *vnm = vnet_get_main (); local
181 error = ethernet_register_interface (vnm,
193 hw_if = vnet_get_hw_interface (vnm, hw_if_index);
200 vnet_sw_interface_t *si = vnet_get_hw_sw_interface (vnm, hw_if_index);
212 vnet_main_t *vnm = vnet_get_main (); local
214 if (pool_is_free_index (vnm->interface_main.sw_interfaces, sw_if_index))
217 vnet_hw_interface_t *hw = vnet_get_sup_hw_interface (vnm, sw_if_index);
224 ethernet_delete_interface (vnm, h
297 vnet_main_t *vnm; local
[all...]
H A Dl2_xcrw.c293 vnet_main_t *vnm = vnet_get_main (); local
306 (vnm, xcrw_device_class.index, instance++, address, &hw_if_index,
309 hi = vnet_get_hw_interface (vnm, hw_if_index);
311 vnet_sw_interface_set_flags (vnm, sw_if_index,
321 vnet_configure_l2_xcrw (vlib_main_t * vm, vnet_main_t * vnm, argument
339 vnet_sw_interface_set_flags (vnm, t->tunnel_sw_if_index,
361 set_int_l2_mode (vm, vnm, MODE_L2_XC, t->l2_sw_if_index, 0,
379 set_int_l2_mode (vm, vnm, MODE_L3, t->l2_sw_if_index, 0,
382 vnet_sw_interface_set_flags (vnm, t->tunnel_sw_if_index, 0 /* down */ );
403 vnet_main_t *vnm local
514 vnet_main_t *vnm = va_arg (*args, vnet_main_t *); local
559 vnet_main_t *vnm = vnet_get_main (); local
[all...]
/vpp/src/vnet/ethernet/
H A Dinterface.c83 ethernet_build_rewrite (vnet_main_t * vnm, argument
87 vnet_sw_interface_t *sub_sw = vnet_get_sw_interface (vnm, sw_if_index);
88 vnet_sw_interface_t *sup_sw = vnet_get_sup_sw_interface (vnm, sw_if_index);
89 vnet_hw_interface_t *hw = vnet_get_sup_hw_interface (vnm, sw_if_index);
198 ethernet_update_adjacency (vnet_main_t * vnm, u32 sw_if_index, u32 ai) argument
200 vnet_sw_interface_t *si = vnet_get_sw_interface (vnm, sw_if_index);
205 default_update_adjacency (vnm, sw_if_index, ai);
219 ip_neighbor_update (vnm, ai);
225 (vnm,
239 (vnm,
312 vnet_main_t *vnm = va_arg (*args, vnet_main_t *); local
331 ethernet_register_interface(vnet_main_t * vnm, u32 dev_class_index, u32 dev_instance, const u8 * address, u32 * hw_if_index_return, ethernet_flag_change_function_t flag_change) argument
378 ethernet_delete_interface(vnet_main_t * vnm, u32 hw_if_index) argument
426 ethernet_set_flags(vnet_main_t * vnm, u32 hw_if_index, u32 flags) argument
482 vnet_main_t *vnm = vnet_get_main (); local
714 simulated_ethernet_admin_up_down(vnet_main_t * vnm, u32 hw_if_index, u32 flags) argument
819 vnet_main_t *vnm = vnet_get_main (); local
1026 vnet_main_t *vnm = vnet_get_main (); local
1048 vnet_main_t *vnm = vnet_get_main (); local
1088 vnet_main_t *vnm = vnet_get_main (); local
1121 vnet_main_t *vnm = vnet_get_main (); local
1149 vnet_main_t *vnm = vnet_get_main (); local
[all...]
H A Dp2p_ethernet.c54 vnet_main_t *vnm = vnet_get_main (); local
56 vnet_interface_main_t *im = &vnm->interface_main;
70 hi = vnet_get_hw_interface (vnm, parent_if_index);
96 if (vnet_create_sw_interface (vnm, &template, &p2pe_sw_if_index))
124 vnet_interface_main_t *im = &vnm->interface_main;
150 ethernet_set_flags (vnm, parent_if_index,
156 set_int_l2_mode (vm, vnm, MODE_L3, p2pe_subif_id, 0,
180 ethernet_set_flags (vnm, parent_if_index, 0);
199 vnet_main_t *vnm = vnet_get_main (); local
210 (input, "%U", unformat_vnet_hw_interface, vnm,
[all...]
/vpp/src/vnet/lisp-gpe/
H A Dlisp_gpe_adjacency.h109 extern void lisp_gpe_update_adjacency (vnet_main_t * vnm,
111 extern u8 *lisp_gpe_build_rewrite (vnet_main_t * vnm,
/vpp/src/vnet/srp/
H A Dinterface.c45 srp_build_rewrite (vnet_main_t * vnm, argument
50 vnet_hw_interface_t * hw = vnet_get_sup_hw_interface (vnm, sw_if_index);
116 vnet_main_t * vnm = vnet_get_main(); local
135 hws[s] = vnet_get_hw_interface (vnm, hw_if_indices_by_side[s]);
179 srp_is_valid_class_for_interface (vnet_main_t * vnm, u32 hw_if_index, u32 hw_class_index) argument
187 if (vnet_sw_interface_is_admin_up (vnm, si->rings[SRP_RING_OUTER].sw_if_index))
189 if (vnet_sw_interface_is_admin_up (vnm, si->rings[SRP_RING_INNER].sw_if_index))
196 srp_interface_hw_class_change (vnet_main_t * vnm, u32 hw_if_index, argument
218 hi = vnet_get_hw_interface (vnm, ir->hw_if_index);
219 dc = vnet_get_device_class (vnm, h
325 vnet_main_t * vnm = vnet_get_main(); local
[all...]
/vpp/src/vnet/dpo/
H A Dinterface_tx_dpo.c51 vnet_main_t * vnm = vnet_get_main(); local
55 vnm,
56 vnet_get_sw_interface(vnm, index)));
/vpp/src/vnet/util/
H A Dtrajectory.c29 vlib_node_main_t *vnm = &vm->node_main; local
47 if (node_index >= vec_len (vnm->nodes))
53 fformat (stderr, "%v (%d)\n", vnm->nodes[node_index]->name, node_index);
/vpp/src/vnet/arp/
H A Darp_packet.h32 arp_mk_reply (vnet_main_t * vnm, argument
47 rewrite0 = ethernet_build_rewrite (vnm, sw_if_index0,
56 hw_if0 = vnet_get_sup_hw_interface (vnm, sw_if_index0);
/vpp/src/vnet/ip-neighbor/
H A Dip4_neighbor.h25 vnet_main_t * vnm,
31 vnet_main_t * vnm,
53 hw_if0 = vnet_get_sup_hw_interface (vnm, adj0->rewrite_header.sw_if_index);
30 ip4_neighbor_probe(vlib_main_t * vm, vnet_main_t * vnm, const ip_adjacency_t * adj0, const ip4_address_t * src, const ip4_address_t * dst) argument
/vpp/src/vnet/bonding/
H A Dcli.c138 vnet_main_t *vnm = vnet_get_main (); local
139 vnet_hw_interface_t *hw = vnet_get_sup_hw_interface (vnm, sif->sw_if_index);
179 vnet_main_t *vnm = vnet_get_main (); local
192 hi = vnet_get_hw_interface (vnm, bif->hw_if_index);
215 vnet_main_t *vnm = vnet_get_main (); local
235 sw = vnet_get_sw_interface (vnm, sif->sw_if_index);
236 hi = vnet_get_hw_interface (vnm, sw->hw_if_index);
265 vnet_main_t *vnm = vnet_get_main (); local
274 s_hwif = vnet_get_sup_hw_interface (vnm, sif_sw_if_index);
277 vnet_hw_interface_add_del_mac_address (vnm, s_hwi
285 vnet_main_t *vnm = vnet_get_main (); local
338 vnet_main_t *vnm = vnet_get_main (); local
379 vnet_main_t *vnm = vnet_get_main (); local
555 vnet_main_t *vnm = vnet_get_main (); local
601 vnet_main_t *vnm = vnet_get_main (); local
777 vnet_main_t *vnm = vnet_get_main (); local
848 vnet_main_t *vnm = vnet_get_main (); local
996 vnet_main_t *vnm; local
1045 vnet_main_t *vnm = vnet_get_main (); local
[all...]
/vpp/src/plugins/l2e/
H A Dl2e.c68 l2_emulation_interface_add_del (vnet_main_t * vnm, argument
86 vnet_main_t *vnm = vnet_get_main (); local
93 vnm, &sw_if_index))
137 vnet_main_t *vnm = vnet_get_main (); local
147 format_vnet_sw_if_index_name, vnm, sw_if_index);
/vpp/src/plugins/builtinurl/
H A Dbuiltins.c80 vnet_main_t *vnm = vnet_get_main (); local
81 vnet_interface_main_t *im = &vnm->interface_main;
115 si = vnet_get_sw_interface (vnm, sw_if_indices[i]);
122 format_vnet_sw_if_index_name, vnm, sw_if_indices[i], q);
124 stats = format_vnet_sw_interface_cntrs (stats, &vnm->interface_main, si,
151 vnet_main_t *vnm = vnet_get_main (); local
152 vnet_interface_main_t *im = &vnm->interface_main;
/vpp/src/vnet/devices/virtio/
H A Dvhost_user_api.c60 vnet_main_t *vnm = vnet_get_main (); local
88 rv = vhost_user_create_if (vnm, vm, (char *) mp->sock_filename,
102 vnet_set_sw_interface_tag (vnm, tag, sw_if_index);
123 vnet_main_t *vnm = vnet_get_main (); local
135 rv = vhost_user_modify_if (vnm, vm, (char *) mp->sock_filename,
151 vnet_main_t *vnm = vnet_get_main (); local
154 rv = vhost_user_delete_if (vnm, vm, sw_if_index);
163 vnet_clear_sw_interface_tag (vnm, sw_if_index);
201 vnet_main_t *vnm = vnet_get_main (); local
216 rv = vhost_user_dump_ifs (vnm, v
[all...]

Completed in 24 milliseconds

1234567891011>>