Searched refs:pi (Results 1 - 25 of 65) sorted by relevance

123

/vpp/src/vnet/
H A Dpipeline.h52 #define AUX_DATA_PTR(pi)
56 #define AUX_DATA_PTR(pi) ,aux_data +(pi)
89 int pi; local
98 for (pi = 0; pi < NSTAGES - 1; pi++)
100 if (pi == n_left_from)
102 stage0 (vm, node, bufs[pi] AUX_DATA_PTR (pi));
131 int pi; local
178 int pi; local
230 int pi; local
287 int pi; local
[all...]
/vpp/src/vnet/ip/
H A Dip_init.c53 ip_protocol_info_t *pi; local
58 vec_add2 (im->protocol_infos, pi, 1); \
59 pi->protocol = n; \
60 pi->name = (u8 *) #s; \
70 pi = im->protocol_infos + i;
72 hash_set_mem (im->protocol_info_by_name, pi->name, i);
73 hash_set (im->protocol_info_by_protocol, pi->protocol, i);
78 tcp_udp_port_info_t *pi; local
96 pi = im->port_infos + i;
97 pi
[all...]
H A Dformat.c48 ip_protocol_info_t *pi = ip_get_protocol_info (im, protocol); local
50 if (pi)
51 return format (s, "%s", pi->name);
61 ip_protocol_info_t *pi; local
68 pi = vec_elt_at_index (im->protocol_infos, i);
69 *result = pi->protocol;
78 tcp_udp_port_info_t *pi; local
80 pi = ip_get_tcp_udp_port_info (im, port);
81 if (pi)
82 s = format (s, "%s", pi
94 tcp_udp_port_info_t *pi; local
[all...]
H A Dip6_pg.c182 ip_protocol_info_t *pi; local
184 pi = 0;
188 pi = ip_get_protocol_info (im, protocol);
191 if (pi && pi->unformat_pg_edit
192 && unformat_user (input, pi->unformat_pg_edit, s))
/vpp/src/vpp/api/
H A Dplugin.c36 load_one_vat_plugin (plugin_main_t * pm, plugin_info_t * pi) argument
42 handle = dlopen ((char *) pi->filename, RTLD_LAZY);
55 pi->handle = handle;
57 register_handle = dlsym (pi->handle, "vat_plugin_register");
60 PLUGIN_LOG_ERR ("%s: symbol vat_plugin_register not found", pi->name);
75 pi->handle = 0;
79 PLUGIN_LOG_NOTICE ("Loaded plugin: %s", pi->name);
118 plugin_info_t *pi; local
163 vec_add2 (pm->plugin_info, pi, 1);
164 pi
[all...]
/vpp/src/vnet/osi/
H A Dosi.c51 osi_protocol_info_t *pi = osi_get_protocol_info (pm, p); local
53 if (pi)
54 s = format (s, "%s", pi->name);
80 osi_protocol_info_t *pi = osi_get_protocol_info (pm, p); local
81 vlib_node_t *node = vlib_get_node (pm->vlib_main, pi->node_index);
120 osi_protocol_info_t *pi = vec_elt_at_index (pm->protocol_infos, i); local
121 *result = pi->protocol;
155 osi_protocol_info_t *pi; local
158 vec_add2 (pm->protocol_infos, pi, 1);
159 i = pi
[all...]
H A Dpg.c73 osi_protocol_info_t *pi = 0; local
79 pi = osi_get_protocol_info (pm, t);
80 if (pi && pi->node_index != ~0)
81 pg_node = pg_get_node (pi->node_index);
/vpp/src/vat/
H A Dplugin.c27 load_one_plugin (plugin_main_t * pm, plugin_info_t * pi) argument
33 handle = dlopen ((char *) pi->name, RTLD_LAZY);
46 pi->handle = handle;
48 register_handle = dlsym (pi->handle, "vat_plugin_register");
51 clib_warning ("%s: symbol vat_plugin_register not found", pi->name);
68 clib_warning ("Loaded plugin: %s", pi->name);
107 plugin_info_t *pi; local
150 vec_add2 (pm->plugin_info, pi, 1);
151 pi->name = plugin_name;
152 pi
[all...]
/vpp/src/vlib/unix/
H A Dplugin.c42 plugin_info_t *pi; local
47 pi = vec_elt_at_index (pm->plugin_info, p[0]);
48 return dlsym (pi->handle, symbol_name);
85 load_one_plugin (plugin_main_t * pm, plugin_info_t * pi, int from_early_init) argument
97 if (elf_read_file (&em, (char *) pi->filename))
104 PLUGIN_LOG_ERR ("Not a plugin: %s\n", (char *) pi->name);
114 (char *) pi->name);
121 p = hash_get_mem (pm->config_index_by_name, pi->name);
127 PLUGIN_LOG_NOTICE ("Plugin disabled: %s", pi->name);
132 PLUGIN_LOG_NOTICE ("Plugin disabled (default): %s", pi
330 plugin_info_t *pi; local
538 plugin_info_t *pi; local
[all...]
/vpp/src/vnet/gre/
H A Dpg.c56 gre_protocol_info_t *pi = 0; local
62 pi = gre_get_protocol_info (pm, clib_net_to_host_u16 (t));
63 if (pi && pi->node_index != ~0)
64 pg_node = pg_get_node (pi->node_index);
/vpp/src/vnet/hdlc/
H A Dpg.c81 hdlc_protocol_info_t *pi = 0; local
87 pi = hdlc_get_protocol_info (pm, clib_net_to_host_u16 (t));
88 if (pi && pi->node_index != ~0)
89 pg_node = pg_get_node (pi->node_index);
H A Dhdlc.c51 hdlc_protocol_info_t *pi = hdlc_get_protocol_info (pm, p); local
53 if (pi)
54 s = format (s, "%s", pi->name);
85 hdlc_protocol_info_t *pi = hdlc_get_protocol_info (pm, p); local
86 vlib_node_t *node = vlib_get_node (pm->vlib_main, pi->node_index);
126 hdlc_protocol_info_t *pi = vec_elt_at_index (pm->protocol_infos, i); local
127 *result = pi->protocol;
213 hdlc_protocol_info_t *pi; local
216 vec_add2 (pm->protocol_infos, pi, 1);
217 i = pi
[all...]
/vpp/src/vnet/llc/
H A Dpg.c80 llc_protocol_info_t *pi = 0; local
86 pi = llc_get_protocol_info (pm, t);
87 if (pi && pi->node_index != ~0)
88 pg_node = pg_get_node (pi->node_index);
H A Dllc.c51 llc_protocol_info_t *pi = llc_get_protocol_info (pm, p); local
53 if (pi)
54 s = format (s, "%s", pi->name);
85 llc_protocol_info_t *pi = llc_get_protocol_info (pm, p); local
86 vlib_node_t *node = vlib_get_node (pm->vlib_main, pi->node_index);
125 llc_protocol_info_t *pi = vec_elt_at_index (pm->protocol_infos, i); local
126 *result = pi->protocol;
196 llc_protocol_info_t *pi; local
199 vec_add2 (pm->protocol_infos, pi, 1);
200 i = pi
[all...]
/vpp/src/vnet/ppp/
H A Dpg.c81 ppp_protocol_info_t *pi = 0; local
87 pi = ppp_get_protocol_info (pm, clib_net_to_host_u16 (t));
88 if (pi && pi->node_index != ~0)
89 pg_node = pg_get_node (pi->node_index);
H A Dppp.c51 ppp_protocol_info_t *pi = ppp_get_protocol_info (pm, p); local
53 if (pi)
54 s = format (s, "%s", pi->name);
85 ppp_protocol_info_t *pi = ppp_get_protocol_info (pm, p); local
86 vlib_node_t *node = vlib_get_node (pm->vlib_main, pi->node_index);
126 ppp_protocol_info_t *pi = vec_elt_at_index (pm->protocol_infos, i); local
127 *result = pi->protocol;
213 ppp_protocol_info_t *pi; local
216 vec_add2 (pm->protocol_infos, pi, 1);
217 i = pi
[all...]
/vpp/src/vnet/udp/
H A Dudp_format.c71 tcp_udp_port_info_t *pi; local
73 pi = ip_get_tcp_udp_port_info (im, udp->dst_port);
75 if (pi && pi->format_header)
77 format_white_space, indent - 2, pi->format_header,
H A Dudp.c28 udp_dst_port_info_t *pi; local
31 pi = udp_get_dst_port_info (um, lcl_port, is_ip4);
32 if (!pi)
35 pi = udp_get_dst_port_info (um, lcl_port, is_ip4);
36 pi->n_connections = 1;
40 pi->n_connections += 1;
41 /* Do not return. The fact that the pi is valid does not mean
45 pi->node_index = is_ip4 ? udp4_input_node.index : udp6_input_node.index;
46 pi->next_index = um->local_to_input_edge[is_ip4];
56 n[0] = pi
63 udp_dst_port_info_t *pi; local
83 udp_dst_port_info_t *pi; local
152 udp_dst_port_info_t *pi; local
473 ip_protocol_info_t *pi; local
[all...]
/vpp/src/vnet/snap/
H A Dpg.c76 snap_protocol_info_t *pi = 0; local
89 pi = snap_get_protocol_info (pm, &h);
90 if (pi && pi->node_index != ~0)
91 pg_node = pg_get_node (pi->node_index);
/vpp/src/vnet/tcp/
H A Dtcp_format.c117 tcp_udp_port_info_t *pi; local
119 pi = ip_get_tcp_udp_port_info (im, tcp->dst);
121 if (pi && pi->format_header)
123 pi->format_header,
/vpp/src/vnet/pg/
H A Dstream.c53 pg_interface_t *pi = pool_elt_at_index (pg->interfaces, s->pg_if_index); local
76 vnet_hw_interface_set_flags (vnm, pi->hw_if_index,
79 vnet_sw_interface_set_flags (vnm, pi->sw_if_index,
121 pg_interface_t *pi; local
123 pi = pool_elt_at_index (pg->interfaces, if_index);
124 s = format (s, "pg%d", pi->id);
187 pg_interface_t *pi; local
204 pool_get (pg->interfaces, pi);
205 i = pi - pg->interfaces;
213 pi
461 pg_interface_t *pi = pool_elt_at_index (pg->interfaces, s->pg_if_index); local
[all...]
/vpp/src/plugins/l3xc/
H A Dl3xc_api.c69 u8 pi; local
81 for (pi = 0; pi < mp->l3xc.n_paths; pi++)
83 path = &paths[pi];
84 rv = fib_api_path_decode (&mp->l3xc.paths[pi], path);
/vpp/src/vppinfra/
H A Dhash.c394 get_indirect (void *v, hash_pair_indirect_t * pi, uword key) argument
399 p0 = p1 = pi->pairs;
401 p1 = hash_forward (h, p0, indirect_pair_get_len (pi));
420 hash_pair_indirect_t *pi = &p->indirect; local
432 pi->pairs = q;
434 indirect_pair_set (pi, log2_bytes, 2);
446 set_indirect (void *v, hash_pair_indirect_t * pi, uword key, argument
453 q = get_indirect (v, pi, key);
461 vec_add2 (pi->pairs, new_pair, 1);
466 len = indirect_pair_get_len (pi);
493 hash_pair_indirect_t *pi = &p->indirect; local
583 hash_pair_indirect_t *pi = &p->indirect; local
690 hash_pair_indirect_t *pi = (void *) p; local
1135 hash_pair_indirect_t *pi = &pu->indirect; local
[all...]
/vpp/build-root/vagrant/
H A Dvcl_test.sh15 $SUDOCMD perl -pi -e 's/noinst_PROGRAMS/bin_PROGRAMS/g' $VPP_DIR/src/vcl.am
/vpp/extras/vagrant/
H A Dvcl_test.sh15 $SUDOCMD perl -pi -e 's/noinst_PROGRAMS/bin_PROGRAMS/g' $VPP_DIR/src/vcl.am

Completed in 14 milliseconds

123