Searched refs:st (Results 1 - 25 of 35) sorted by relevance

12

/vpp/src/vnet/session/
H A Dsession_lookup.c161 session_table_t *st; local
172 st = session_table_alloc ();
173 table_index = session_table_index (st);
177 st->active_fib_proto = fib_proto;
178 session_table_init (st, fib_proto);
179 return st;
231 session_table_t *st; local
235 st = session_table_get_or_alloc_for_connection (tc);
236 if (!st)
242 return clib_bihash_add_del_16_8 (&st
258 session_table_t *st; local
285 session_table_t *st; local
310 session_table_t *st; local
343 session_table_t *st; local
426 session_lookup_rules_table_session4(session_table_t * st, u8 proto, ip4_address_t * lcl, u16 lcl_port, ip4_address_t * rmt, u16 rmt_port) argument
442 session_lookup_rules_table_session6(session_table_t * st, u8 proto, ip6_address_t * lcl, u16 lcl_port, ip6_address_t * rmt, u16 rmt_port) argument
470 session_table_t *st; local
541 session_table_t *st; local
644 session_lookup_listener4_i(session_table_t * st, ip4_address_t * lcl, u16 lcl_port, u8 proto, u8 use_wildcard) argument
688 session_table_t *st; local
696 session_lookup_listener6_i(session_table_t * st, ip6_address_t * lcl, u16 lcl_port, u8 proto, u8 ip_wildcard) argument
731 session_table_t *st; local
744 session_table_t *st; local
763 session_table_t *st; local
781 session_table_t *st; local
807 session_table_t *st; local
831 session_table_t *st; local
902 session_table_t *st; local
984 session_table_t *st; local
1055 session_table_t *st; local
1126 session_table_t *st; local
1201 session_table_t *st; local
1263 session_table_t *st; local
1313 session_table_t *st; local
1355 session_table_t *st; local
1576 session_table_t *st; local
1588 session_table_t *st; local
1604 session_table_t *st; local
1707 session_table_t *st = session_table_alloc (); local
[all...]
H A Dapplication_namespace.c68 session_table_t *st; local
95 st = session_table_alloc ();
96 session_table_init (st, FIB_PROTOCOL_MAX);
97 st->is_local = 1;
98 st->appns_index = app_namespace_index (app_ns);
99 app_ns->local_table_index = session_table_index (st);
262 session_table_t *st; local
293 st = session_table_get (app_ns->local_table_index);
294 if (!st)
299 session_lookup_show_table_entries (vm, st,
[all...]
H A Dsession_types.h233 session_type_transport_proto (session_type_t st) argument
235 return (st >> 1);
239 session_type_is_ip4 (session_type_t st) argument
241 return (st & 1);
H A Dsession_api.c994 session_table_t *st; local
1002 session_table_foreach (st, ({
1005 send_session_rules_table_details (&st->session_rules[tp],
1006 st->active_fib_proto, tp,
1007 st->is_local, st->appns_index, reg,
H A Dapplication.c138 session_type_t st; local
144 st = session_type_from_proto_and_ip (sep->transport_proto, sep->is_ip4);
188 ls = listen_session_alloc (0, st);
461 application_verify_cfg (ssvm_segment_type_t st) argument
464 if (st == SSVM_SEGMENT_MEMFD)
471 else if (st == SSVM_SEGMENT_SHM)
/vpp/src/plugins/nat/
H A Dnat64_db.c36 clib_bihash_init_48_8 (&db->st.in2out, "st-in2out", st_buckets,
39 clib_bihash_init_48_8 (&db->st.out2in, "st-out2in", st_buckets,
45 db->st.limit = 10 * st_buckets;
46 db->st.st_entries_num = 0;
136 nat64_db_st_entry_t *st, *ste; local
145 st = db->st._##n##_st; \
152 st
328 nat64_db_st_entry_t *st, *ste; local
341 st = db->st._unk_proto_st; local
475 nat64_db_st_entry_t *st; local
562 nat64_db_st_entry_t *st; local
607 nat64_db_st_entry_t *st; local
630 nat64_db_st_entry_t *st; local
654 nat64_db_st_entry_t *st, *ste; local
672 st = db->st._unk_proto_st; local
689 nat64_db_st_entry_t *st, *ste; local
708 st = db->st._unk_proto_st; local
[all...]
H A Dnat64_db.h139 nat64_db_st_t st; member in struct:nat64_db_s
/vpp/src/tools/vppapigen/
H A Dvppapigen_c.py761 st = StringIO()
762 generate_include_types(s, modulename, st)
764 st.seek (0)
765 shutil.copyfileobj (st, fd)
766 st.close()
769 st = StringIO()
770 generate_include_enum(s, modulename, st)
772 st.seek (0)
773 shutil.copyfileobj (st, fd)
774 st
[all...]
/vpp/src/vcl/
H A Dvcl_private.c23 char *st; local
28 st = "STATE_APP_START";
32 st = "STATE_APP_CONN_VPP";
36 st = "STATE_APP_ENABLED";
40 st = "STATE_APP_ATTACHED";
44 st = "UNKNOWN_APP_STATE";
48 return st;
H A Dvppcom.c59 char *st; local
64 st = "STATE_CLOSED";
68 st = "STATE_CONNECT";
72 st = "STATE_LISTEN";
76 st = "STATE_ACCEPT";
80 st = "STATE_VPP_CLOSING";
84 st = "STATE_DISCONNECT";
88 st = "STATE_DETACHED";
92 st = "STATE_UPDATED";
96 st
3932 char const *st; local
[all...]
/vpp/src/vnet/crypto/
H A Dformat.c80 vnet_crypto_op_status_t st = va_arg (*args, vnet_crypto_op_status_t); local
87 if (st >= VNET_CRYPTO_OP_N_STATUS)
90 return format (s, "%s", strings[st]);
/vpp/src/vppinfra/
H A Dsocket.c477 struct stat st = { 0 }; local
478 if (stat (((struct sockaddr_un *) &addr)->sun_path, &st) < 0)
484 st.st_mode |= S_IWGRP;
485 if (chmod (((struct sockaddr_un *) &addr)->sun_path, st.st_mode) <
490 s->fd, s->config, st.st_mode);
H A Delog.c1076 elog_time_stamp_t *st = va_arg (*va, elog_time_stamp_t *); local
1077 serialize (m, serialize_64, st->os_nsec);
1078 serialize (m, serialize_64, st->cpu);
1084 elog_time_stamp_t *st = va_arg (*va, elog_time_stamp_t *); local
1085 unserialize (m, unserialize_64, &st->os_nsec);
1086 unserialize (m, unserialize_64, &st->cpu);
H A Delf.c1468 u8 *st = 0;
1476 s->header.name = vec_len (st);
1477 vec_add (st, name, strlen ((char *) name) + 1);
1485 s->contents = st;
1971 u8 *st, *c; local
1993 st = sts->contents;
2002 s->header.name = vec_len (st);
2003 vec_add (st, section_name, strlen (section_name));
2004 vec_add1 (st, 0);
2005 sts->contents = st;
[all...]
/vpp/src/vppinfra/linux/
H A Dmem.c93 struct stat st = { 0 }; local
94 if (fstat (fd, &st) == -1)
96 return st.st_blksize;
/vpp/src/vpp-api/client/
H A Dstat_client.c125 struct stat st = { 0 }; local
127 if (fstat (mfd, &st) == -1)
134 mmap (NULL, st.st_size, PROT_READ, MAP_SHARED, mfd, 0)) == MAP_FAILED)
142 sm->memory_size = st.st_size;
/vpp/src/vnet/
H A Dinterface.c127 vnet_sw_hw_interface_state_t *sts = 0, *st; local
146 vec_add2 (sts, st, 1);
147 st->sw_hw_if_index = sif->sw_if_index;
148 st->flags = sif->flags;
162 vec_add2 (sts, st, 1);
163 st->sw_hw_if_index = hif->hw_if_index;
164 st->flags = vnet_hw_interface_flags_to_sw(hif->flags);
189 vnet_sw_hw_interface_state_t *sts = 0, *st; local
219 vec_foreach (st, sts)
220 vnet_sw_interface_set_flags_helper (vnm, st
[all...]
/vpp/src/plugins/hs_apps/sapi/
H A Dvpp_echo.c860 echo_stats_t _st, *st = &_st; local
866 clib_memcpy_fast (st, &em->stats, sizeof (*st));
867 if (st->rx_total - lst->rx_total)
869 (st->rx_total - lst->rx_total) / delta);
870 if (st->tx_total - lst->tx_total)
872 (st->tx_total - lst->tx_total) / delta);
873 if (st->connected_count.q - lst->connected_count.q)
875 st->connected_count.q - lst->connected_count.q);
876 if (st
[all...]
/vpp/extras/vom/vom/
H A Dinterface.cpp481 interface::enable_stats_i(interface::stat_listener* el, const stats_type_t& st) argument
484 if (stats_type_t::DETAILED == st) {
495 interface::enable_stats(interface::stat_listener* el, const stats_type_t& st) argument
497 singular()->enable_stats_i(el, st);
H A Dinterface.hpp512 const stats_type_t& st = stats_type_t::NORMAL);
635 void enable_stats_i(stat_listener* el, const stats_type_t& st);
/vpp/src/plugins/ila/
H A Dila.c90 #define _(i,n,st) \
92 return format(s, st);
106 #define _(i,n,st) \
108 txt = st; \
123 #define _(i,n,st) \
125 return format(s, st);
/vpp/src/plugins/acl/
H A Dpublic_inlines.h28 #define LOAD_SYMBOL_FROM_PLUGIN_TO(p, s, st) \
30 st = vlib_get_plugin_symbol(p, #s); \
31 if (!st) \
/vpp/src/vnet/devices/virtio/
H A Dvhost_user_inline.h232 #define _(n,i,st) \
234 s = format (s, "%U %s %s\n", format_white_space, indent, #n, st);
/vpp/extras/deprecated/netmap/
H A Ddevice.c225 struct vnet_sw_interface_t *st, int is_add)
223 netmap_subif_add_del_function(vnet_main_t * vnm, u32 hw_if_index, struct vnet_sw_interface_t *st, int is_add) argument
/vpp/src/plugins/dpdk/device/
H A Ddevice.c524 struct vnet_sw_interface_t *st, int is_add)
529 vnet_sw_interface_t *t = (vnet_sw_interface_t *) st;
522 dpdk_subif_add_del_function(vnet_main_t * vnm, u32 hw_if_index, struct vnet_sw_interface_t *st, int is_add) argument

Completed in 31 milliseconds

12