Searched refs:name (Results 1 - 25 of 762) sorted by relevance

1234567891011>>

/vpp/src/tools/g2/
H A Dprops.h17 extern char *getprop (char *name);
18 extern char *getprop_default (char *name, char *def);
19 extern void addprop (char *name, char *value);
H A Dprops.c30 char *name; member in struct:prop_
41 char *getprop (char *name) argument
48 for (cp = (unsigned char *) name; *cp; cp++)
53 while (bp && strcmp (bp->name, name)) {
67 char *getprop_default (char *name, char *def) argument
70 rv = getprop (name);
81 void addprop (char *name, char *value) argument
92 bp->name = sxerox (name);
[all...]
/vpp/gmod/gmod/
H A Dvpp.conf3 name = "vpp_module"
12 name = "Vector_Rate"
17 name = "VPP_State"
22 name = "Input_Rate"
27 name = "Sig_Error_Rate"
/vpp/src/vppinfra/
H A Dllist.h44 #define _lnext(E,name) ((E)->name).next
45 #define _lprev(E,name) ((E)->name).prev
58 * @name list anchor name
61 #define clib_llist_prev_index(E,name) _lprev(E,name)
66 * @name list anchor name
[all...]
H A Dmacros.h37 int clib_macro_unset (clib_macro_main_t * mm, char *name);
38 int clib_macro_set_value (clib_macro_main_t * mm, char *name, char *value);
39 void clib_macro_add_builtin (clib_macro_main_t * mm, char *name,
41 i8 *clib_macro_get_value (clib_macro_main_t * mm, char *name);
/vpp/extras/vcl-ldpreload/test/common/
H A Dvpp_docker.conf1 create host-interface name vpp1
/vpp/src/vpp-api/client/
H A Dvppapiclient.h22 int vac_connect(char * name, char * chroot_prefix, vac_callback_t cb,
29 int vac_get_msg_index(unsigned char * name);
/vpp/src/vpp-api/vapi/
H A Dvapi_json_parser.py24 self.name = field_name
31 return "Field(name: %s, type: %s)" % (self.name, self.type)
33 return "Field(name: %s, type: %s, length: %s)" % (self.name,
37 return "Field(name: %s, type: %s, length: %s)" % (self.name,
42 "Field(name: %s, type: %s, variable length stored in: %s)" %
43 (self.name, self.type, self.nelem_field))
57 def __init__(self, name)
[all...]
H A Dvapi_c_gen.py13 return "vapi_type_%s" % self.name
18 return "u8 %s[%d];" % (self.name, self.len)
20 return "vl_api_string_t %s;" % (self.name)
23 return "%s %s[%d];" % (self.type.get_c_name(), self.name, self.len)
25 return "%s %s;" % (self.type.get_c_name(), self.name)
38 struct, self.nelem_field.name)
40 nelem_field = "%s%s" % (struct, self.nelem_field.name)
60 (struct, self.nelem_field.name,
69 return "%s_%s_array_size" % ("_".join(path), self.name)
77 t = self.type.get_alloc_vla_param_names(path + [self.name])
[all...]
/vpp/src/scripts/vnet/mpls-o-gre/
H A Ddhcpd.conf16 option domain-name "example.org";
17 option domain-name-servers ns1.example.org, ns2.example.org;
55 # option domain-name-servers ns1.internal.example.org;
56 # option domain-name "internal.example.org";
71 # server-name "toccata.fugue.com";
/vpp/extras/vpp_config/
H A Dsetup.py3 setup(name="vpp_config",
/vpp/test/
H A Dvpp_policer.py19 def __init__(self, test, name, cir, eir, commited_burst, excess_burst,
25 self.name = name
45 name=self.name, cir=self.cir,
57 self._test.vapi.policer_add_del(is_add=False, name=self.name)
62 match_name_valid=True, match_name=self.name)
64 if policer.name == self.name
[all...]
H A Ddiscover_tests.py26 name = "".join(f.split("/")[-1].split(".")[:-1])
27 module = importlib.import_module(name)
28 for name, cls in module.__dict__.items():
33 if name == "VppTestCase" or name.startswith("Template"):
H A Dtest_string.py38 for name in names:
39 error = self.vapi.cli("test string " + name)
41 self.logger.critical("FAILURE in the " + name + " test")
/vpp/extras/vom/vom/
H A Dstat_reader.cpp64 std::string name; local
66 if (sde.name().empty())
69 name = sde.name();
71 if (name.find("/if") != std::string::npos)
72 name.erase(0, 4);
96 itf->set(count, name);
118 itf->set(count, name);
H A Dtap_interface.cpp27 tap_interface::tap_interface(const std::string& name, argument
30 : interface(name, type_t::TAPV2, state)
36 tap_interface::tap_interface(const std::string& name, argument
40 : interface(name, type_t::TAPV2, state)
62 q.push(new tap_interface_cmds::tapv2_create_cmd(m_hdl, name(), m_prefix,
85 return m_db.find_or_add(name(), *this);
H A Dinterface_factory.cpp31 * Determine the interface type from the name and VLAN attributes
33 std::string name = reinterpret_cast<const char*>(vd.interface_name); local
61 * need to strip VPP's "host-" prefix from the interface name
63 name = name.substr(5);
66 * if the tag is set, then we wrote that to specify a name to make
74 name = tag;
75 type = interface::type_t::from_string(name);
94 } else if ((name.find(".") != std::string::npos) && (0 != vd.sub_id)) {
97 * split the name int
144 std::string name = reinterpret_cast<const char*>(vd.sock_filename); local
158 std::string name = reinterpret_cast<const char*>(vd.host_if_name); local
174 std::string name = reinterpret_cast<const char*>(vd.host_if_name); local
199 std::string name = reinterpret_cast<const char*>(vd.interface_name); local
217 std::string name = reinterpret_cast<const char*>(vd.interface_name); local
[all...]
/vpp/src/pkg/debian/
H A Dvpp.postrm6 pci_dirs=`find /sys/bus/pci/drivers -type d -name igb_uio -o -name uio_pci_generic -o -name vfio-pci`
/vpp/src/vpp/api/
H A Djson_format.h64 const char *name; member in struct:vat_json_pair_s
138 vat_json_object_add (vat_json_node_t * json, const char *name) argument
143 json->pairs[pos].name = name;
157 vat_json_object_add_list (vat_json_node_t * json, const char *name) argument
159 vat_json_node_t *array_node = vat_json_object_add (json, name);
166 const char *name, u8 * str)
168 vat_json_set_string_copy (vat_json_object_add (json, name), str);
173 const char *name, u64 number)
175 vat_json_set_uint (vat_json_object_add (json, name), numbe
165 vat_json_object_add_string_copy(vat_json_node_t * json, const char *name, u8 * str) argument
172 vat_json_object_add_uint(vat_json_node_t * json, const char *name, u64 number) argument
179 vat_json_object_add_int(vat_json_node_t * json, const char *name, i64 number) argument
185 vat_json_object_add_real(vat_json_node_t * json, const char *name, f64 real) argument
191 vat_json_object_add_ip4(vat_json_node_t * json, const char *name, struct in_addr ip4) argument
198 vat_json_object_add_ip6(vat_json_node_t * json, const char *name, struct in6_addr ip6) argument
217 vat_json_object_add_bytes(vat_json_node_t * json, const char *name, u8 * array, uword size) argument
231 vat_json_object_get_element(vat_json_node_t * json, const char *name) argument
[all...]
/vpp/src/vat/
H A Djson_format.h64 const char *name; member in struct:vat_json_pair_s
137 vat_json_object_add (vat_json_node_t * json, const char *name) argument
142 json->pairs[pos].name = name;
156 vat_json_object_add_list (vat_json_node_t * json, const char *name) argument
158 vat_json_node_t *array_node = vat_json_object_add (json, name);
165 const char *name, u8 * str)
167 vat_json_set_string_copy (vat_json_object_add (json, name), str);
172 const char *name, u64 number)
174 vat_json_set_uint (vat_json_object_add (json, name), numbe
164 vat_json_object_add_string_copy(vat_json_node_t * json, const char *name, u8 * str) argument
171 vat_json_object_add_uint(vat_json_node_t * json, const char *name, u64 number) argument
178 vat_json_object_add_int(vat_json_node_t * json, const char *name, i64 number) argument
184 vat_json_object_add_real(vat_json_node_t * json, const char *name, f64 real) argument
190 vat_json_object_add_ip4(vat_json_node_t * json, const char *name, struct in_addr ip4) argument
197 vat_json_object_add_ip6(vat_json_node_t * json, const char *name, struct in6_addr ip6) argument
216 vat_json_object_add_bytes(vat_json_node_t * json, const char *name, u8 * array, uword size) argument
230 vat_json_object_get_element(vat_json_node_t * json, const char *name) argument
[all...]
/vpp/src/plugins/ikev2/
H A Dikev2_test.c173 fformat (vam->ofp, "profile %s\n", p->name);
331 u8 *name = 0; local
340 else if (unformat (i, "name %U", unformat_token, valid_chars, &name))
341 vec_add1 (name, 0);
349 if (!vec_len (name))
351 errmsg ("profile name must be specified");
355 if (vec_len (name) > 64)
357 errmsg ("profile name too long");
363 clib_memcpy (mp->name, nam
377 u8 *name = 0; local
447 u8 *name = 0; local
526 u8 *name = 0; local
638 u8 *name = 0; local
687 u8 *name = 0; local
737 u8 *name = 0; local
787 u8 *name = 0; local
836 u8 *name = 0; local
887 u8 *name = 0; local
[all...]
/vpp/src/tools/vppapigen/
H A Dvppapigen_c.py53 (t.name.upper(), t.name)
69 output += "vl_msg_name(vl_api_%s_t, %d)\n" % (t.name, dont_trace)
78 /****** Message name, crc list ******/
86 (t.name.upper(), t.name, t.crc)
262 static inline void *vl_api_{name}_t_print (vl_api_{name}_t *a, void *handle)
275 write("/***** manual: vl_api_%s_t_print *****/\n\n" % t.name)
277 write(signature.format(name
[all...]
/vpp/doxygen/siphon/
H A Dprocess.py37 """Our siphon name"""
38 name = None variable in class:Siphon
65 self.log = logging.getLogger("siphon.process.%s" % self.name)
73 def _tpldir(name):
74 return os.sep.join((template_directory, fmt.name, name))
78 _tpldir(self.name),
117 return item['name']
120 def group_key(self, directory, file, macro, name):
131 def item_key(self, directory, file, macro, name)
295 name = None variable in class:Format
303 name = "markdown" variable in class:FormatMarkdown
313 name = "itemlist" variable in class:FormatItemlist
[all...]
/vpp/src/plugins/ioam/lib-pot/
H A Dpot_test.c47 u8 *name = NULL; local
59 if (unformat(input, "name %s", &name))
82 if (!name)
84 errmsg ("name required\n");
89 M2(POT_PROFILE_ADD, mp, sizeof(vl_api_string_t) + vec_len(name));
91 vl_api_vec_to_api_string(name, &mp->list_name);
113 vec_free(name);
122 u8 *name = NULL; local
129 if (unformat(input, "name
[all...]
/vpp/src/tools/perftool/
H A Dprops.c31 char *name; member in struct:prop_
42 char *getprop (char *name) argument
49 for (cp = (unsigned char *) name; *cp; cp++)
54 while (bp && strcmp(bp->name, name)) {
68 char *getprop_default (char *name, char *def) argument
71 rv = getprop (name);
82 void addprop (char *name, char *value) argument
93 bp->name = sxerox (name);
[all...]

Completed in 14 milliseconds

1234567891011>>