Home
last modified time | relevance | path

Searched refs:proto (Results 1 – 25 of 75) sorted by relevance

123

/hal_espressif-3.5.0/components/app_trace/
Dapp_trace_membufs_proto.c52 …trace_membufs_down_buffer_write_nolock(esp_apptrace_membufs_proto_data_t *proto, uint8_t *data, ui…
55 esp_err_t esp_apptrace_membufs_init(esp_apptrace_membufs_proto_data_t *proto, const esp_apptrace_me… in esp_apptrace_membufs_init() argument
58 esp_apptrace_rb_init(&proto->rb_down, NULL, 0); in esp_apptrace_membufs_init()
61 proto->blocks[i].start = blocks_cfg[i].start; in esp_apptrace_membufs_init()
62 proto->blocks[i].sz = blocks_cfg[i].sz; in esp_apptrace_membufs_init()
63 proto->state.markers[i] = 0; in esp_apptrace_membufs_init()
65 proto->state.in_block = 0; in esp_apptrace_membufs_init()
67 esp_apptrace_rb_init(&proto->rb_pend, proto->pending_data, in esp_apptrace_membufs_init()
68 sizeof(proto->pending_data)); in esp_apptrace_membufs_init()
79 static esp_err_t esp_apptrace_membufs_swap(esp_apptrace_membufs_proto_data_t *proto) in esp_apptrace_membufs_swap() argument
[all …]
/hal_espressif-3.5.0/components/mdns/include/
Dmdns.h84 char * proto; /*!< srevice protocol */ member
206 …e_add(const char * instance_name, const char * service_type, const char * proto, uint16_t port, md…
231 …dns_service_add_for_host(const char * instance_name, const char * service_type, const char * proto,
245 bool mdns_service_exists(const char * service_type, const char * proto, const char * hostname);
260 …dns_service_exists_with_instance(const char *instance, const char *service_type, const char *proto,
275 esp_err_t mdns_service_remove(const char * service_type, const char * proto);
290 esp_err_t mdns_service_remove_for_host(const char * service_type, const char * proto, const char *h…
305 esp_err_t mdns_service_instance_name_set(const char * service_type, const char * proto, const char …
321 esp_err_t mdns_service_instance_name_set_for_host(const char * service_type, const char * proto, co…
337 esp_err_t mdns_service_port_set(const char * service_type, const char * proto, uint16_t port);
[all …]
/hal_espressif-3.5.0/components/mdns/
Dmdns_console.c181 struct arg_str *proto; member
196 const char * proto = mdns_query_srv_args.proto->sval[0]; in cmd_mdns_query_srv() local
203 printf("Query SRV: %s.%s.%s.local, Timeout: %d\n", instance, service, proto, timeout); in cmd_mdns_query_srv()
206 esp_err_t err = mdns_query_srv(instance, service, proto, timeout, &results); in cmd_mdns_query_srv()
224 …mdns_query_srv_args.proto = arg_str1(NULL, NULL, "<proto>", "Protocol to search for (_tcp, _udp, e… in register_mdns_query_srv()
242 struct arg_str *proto; member
257 const char * proto = mdns_query_txt_args.proto->sval[0]; in cmd_mdns_query_txt() local
260 printf("Query TXT: %s.%s.%s.local, Timeout: %d\n", instance, service, proto, timeout); in cmd_mdns_query_txt()
267 esp_err_t err = mdns_query_txt(instance, service, proto, timeout, &results); in cmd_mdns_query_txt()
286 …mdns_query_txt_args.proto = arg_str1(NULL, NULL, "<proto>", "Protocol to search for (_tcp, _udp, e… in register_mdns_query_txt()
[all …]
Dmdns.c44 … const char * service_type, const char * proto, mdns_if_t tcpip_if,
149 …atic bool _mdns_service_match(const mdns_service_t * srv, const char * service, const char * proto, in _mdns_service_match() argument
152 return !strcasecmp(srv->service, service) && !strcasecmp(srv->proto, proto) && in _mdns_service_match()
165 static mdns_srv_item_t * _mdns_get_service_item(const char * service, const char * proto, const cha… in _mdns_get_service_item() argument
169 if (_mdns_service_match(s->service, service, proto, hostname)) { in _mdns_get_service_item()
263 const char *proto, const char *hostname) in _mdns_service_match_instance() argument
266 …!strcasecmp(srv->proto, proto) && (_str_null_or_empty(hostname) || !strcasecmp(srv->hostname, host… in _mdns_service_match_instance()
269 …em_t *_mdns_get_service_item_instance(const char *instance, const char *service, const char *proto, in _mdns_get_service_item_instance() argument
274 if (_mdns_service_match_instance(s->service, instance, service, proto, hostname)) { in _mdns_get_service_item_instance()
321 char* mdns_name_ptrs[]={name->host, name->service, name->proto, name->domain}; in _mdns_read_fqdn()
[all …]
/hal_espressif-3.5.0/tools/esp_prov/prov/
Dwifi_prov.py20 import proto
32 cfg1 = proto.wifi_config_pb2.WiFiConfigPayload()
33 cfg1.msg = proto.wifi_config_pb2.TypeCmdGetStatus
34 cmd_get_status = proto.wifi_config_pb2.CmdGetStatus()
44 cmd_resp1 = proto.wifi_config_pb2.WiFiConfigPayload()
70 cmd = proto.wifi_config_pb2.WiFiConfigPayload()
71 cmd.msg = proto.wifi_config_pb2.TypeCmdSetConfig
82 cmd_resp4 = proto.wifi_config_pb2.WiFiConfigPayload()
90 cmd = proto.wifi_config_pb2.WiFiConfigPayload()
91 cmd.msg = proto.wifi_config_pb2.TypeCmdApplyConfig
[all …]
Dwifi_scan.py20 import proto
32 cmd = proto.wifi_scan_pb2.WiFiScanPayload()
33 cmd.msg = proto.wifi_scan_pb2.TypeCmdScanStart
46 resp = proto.wifi_scan_pb2.WiFiScanPayload()
55 cmd = proto.wifi_scan_pb2.WiFiScanPayload()
56 cmd.msg = proto.wifi_scan_pb2.TypeCmdScanStatus
65 resp = proto.wifi_scan_pb2.WiFiScanPayload()
75 cmd = proto.wifi_scan_pb2.WiFiScanPayload()
76 cmd.msg = proto.wifi_scan_pb2.TypeCmdScanResult
87 resp = proto.wifi_scan_pb2.WiFiScanPayload()
/hal_espressif-3.5.0/components/wifi_provisioning/proto/
Dmakefile3 c_proto: *.proto
4 @protoc-c --c_out=../proto-c/ -I . -I ../../protocomm/proto/ *.proto
6 python_proto: *.proto
7 @protoc --python_out=../python/ -I . -I ../../protocomm/proto/ *.proto
DCMakeLists.txt5 set(C_OUT_PATH "${CMAKE_CURRENT_LIST_DIR}/../proto-c")
7 set(PROTOCOMM_INCL_PATH "${CMAKE_CURRENT_LIST_DIR}/../../protocomm/proto")
9 set(PROTO_SRCS "wifi_constants.proto"
10 "wifi_config.proto"
11 "wifi_scan.proto")
25 add_custom_target(proto ALL target
DREADME.md3 …nguage, transport and architecture agnostic protocol communication. These proto files define the p…
4 * wifi_contants.proto - Defines the various enums for indicating state of Wi-Fi (connected / discon…
5 * wifi_config.proto - Defines Wi-Fi configuration structures and commands for setting credentials (…
6 * wifi_scan.proto - Defines Wi-Fi scan commands and result structures
8 Note : These proto files are not automatically compiled during the build process.
12 …as long as the proto files are not modified, therefore the generated files are already available u…
28 …ly created files will overwrite those under `components/wifi_provisioning/proto-c` and `components…
/hal_espressif-3.5.0/components/esp_local_ctrl/proto/
Dmakefile3 c_proto: *.proto
4 @protoc-c --c_out=../proto-c/ -I . -I ../../protocomm/proto/ *.proto
6 python_proto: *.proto
7 @protoc --python_out=../python/ -I . -I ../../protocomm/proto/ *.proto
DREADME.md3proto files under this directory are used by esp_local_ctrl for defining protobuf messages which a…
5 Note : These proto files are not automatically compiled during the build process.
9 … as long as the proto files are not modified, therefore the generated files are already available …
25 …newly created files will overwrite those under `components/esp_local_ctrl/proto-c` and `components…
DCMakeLists.txt5 set(C_OUT_PATH "${CMAKE_CURRENT_LIST_DIR}/../proto-c")
7 set(PROTOCOMM_INCL_PATH "${CMAKE_CURRENT_LIST_DIR}/../../protocomm/proto")
9 set(PROTO_SRCS "esp_local_ctrl.proto")
23 add_custom_target(proto ALL target
/hal_espressif-3.5.0/components/mdns/test_afl_fuzz_host/
Dtest.c34 mdns_srv_item_t * mdns_test_mdns_get_service_item(const char * service, const char * proto);
35 …ns_test_search_init(const char * name, const char * service, const char * proto, uint16_t type, ui…
51 static int mdns_test_service_instance_name_set(const char * service, const char * proto, const char… in mdns_test_service_instance_name_set() argument
53 int ret = mdns_service_instance_name_set(service, proto, instance); in mdns_test_service_instance_name_set()
60 static int mdns_test_service_txt_set(const char * service, const char * proto, uint8_t num_items, … in mdns_test_service_txt_set() argument
62 int ret = mdns_service_txt_set(service, proto, txt, num_items); in mdns_test_service_txt_set()
69 static int mdns_test_service_add(const char * service_name, const char * proto, uint32_t port) in mdns_test_service_add() argument
71 if (mdns_service_add(NULL, service_name, proto, port, NULL, 0)) { in mdns_test_service_add()
78 if (mdns_test_mdns_get_service_item(service_name, proto)==NULL) { in mdns_test_service_add()
84 static mdns_result_t* mdns_test_query(const char * service_name, const char * proto) in mdns_test_query() argument
[all …]
Dmdns_di.h10 …dns_test_static_mdns_get_service_item)(const char * service, const char * proto, const char *hostn…
11 …h_once_t *(*mdns_test_static_search_init)(const char *name, const char *service, const char *proto,
18 static mdns_srv_item_t * _mdns_get_service_item(const char * service, const char * proto, const cha…
19 …_once_t *_mdns_search_init(const char *name, const char *service, const char *proto, uint16_t type,
48 …ns_test_search_init(const char * name, const char * service, const char * proto, uint16_t type, ui… in mdns_test_search_init() argument
50 return mdns_test_static_search_init(name, service, proto, type, timeout, max_results, NULL); in mdns_test_search_init()
53 mdns_srv_item_t * mdns_test_mdns_get_service_item(const char * service, const char * proto) in mdns_test_mdns_get_service_item() argument
55 return mdns_test_static_mdns_get_service_item(service, proto, NULL); in mdns_test_mdns_get_service_item()
/hal_espressif-3.5.0/components/protocomm/proto/
DREADME.md3 …nguage, transport and architecture agnostic protocol communication. These proto files define the p…
4 * contants.proto - Defines the "Status" structure for conveying the success or failure of a single …
5 * sec0.proto - Defines the Security0 Command and Response packet structures
6 * sec1.proto - Defines the Security1 Command and Response packet structures
7 * session.proto - Defines the protocomm transacion packets for session establishment which internal…
9 Note : These proto files are not automatically compiled during the build process.
13 …me, as long as the proto files are not modified, therefore the generated files are already availab…
29 … The newly created files will overwrite those under `components/protocomm/proto-c` and `components…
DCMakeLists.txt5 set(C_OUT_PATH "${CMAKE_CURRENT_LIST_DIR}/../proto-c")
8 set(PROTO_SRCS "constants.proto"
9 "sec0.proto"
10 "sec1.proto"
11 "session.proto")
25 add_custom_target(proto ALL target
Dmakefile3 c_proto: *.proto
4 @protoc-c --c_out=../proto-c/ -I . *.proto
6 python_proto: *.proto
7 @protoc --python_out=../python/ -I . *.proto
/hal_espressif-3.5.0/examples/provisioning/legacy/custom_config/components/custom_provisioning/proto/
Dmakefile3 c_proto: *.proto
4 @protoc-c --c_out=../proto-c/ *.proto
6 python_proto: *.proto
7 @protoc --python_out=../python/ *.proto
DREADME.md3 This is an example proto file defining custom configuration related data packet structures, namely -
7 Note : These proto files are not automatically compiled during the build process.
11proto files are not modified, therefore the generated files are already available under `examples/…
27 …under `examples/provisioning/custom_config/components/custom_provisioning/proto-c` and `examples/p…
/hal_espressif-3.5.0/components/app_trace/private_include/
Desp_app_trace_membufs_proto.h58 esp_err_t esp_apptrace_membufs_init(esp_apptrace_membufs_proto_data_t *proto, const esp_apptrace_me…
60 uint8_t *esp_apptrace_membufs_down_buffer_get(esp_apptrace_membufs_proto_data_t *proto, uint32_t *s…
61 esp_err_t esp_apptrace_membufs_down_buffer_put(esp_apptrace_membufs_proto_data_t *proto, uint8_t *p…
62 uint8_t *esp_apptrace_membufs_up_buffer_get(esp_apptrace_membufs_proto_data_t *proto, uint32_t size…
63 esp_err_t esp_apptrace_membufs_up_buffer_put(esp_apptrace_membufs_proto_data_t *proto, uint8_t *ptr…
64 esp_err_t esp_apptrace_membufs_flush_nolock(esp_apptrace_membufs_proto_data_t *proto, uint32_t min_…
/hal_espressif-3.5.0/tools/ci/python_packages/idf_iperf_test_util/
DIperfUtility.py47 def __init__(self, proto, direction, config_name): # type: (str, str, str) -> None argument
48 self.proto = proto
175 file_name = 'ThroughputVs{}_{}_{}.html'.format(type_name, self.proto, self.direction)
177 file_name = 'ThroughputVs{}_{}_{}.html'.format(type_name, self.proto, self.direction)
180 … 'Throughput Vs {} ({} {})'.format(type_name, self.proto, self.direction),
219 ret = '[{}_{}][{}]: {}\r\n\r\n'.format(self.proto, self.direction, self.config_name,
289 …def _test_once(self, proto, direction, bw_limit): # type: (Any, str, str, int) -> Tuple[str, int… argument
295 assert proto in ['tcp', 'udp']
300 if proto == 'tcp':
328 if proto == 'tcp':
[all …]
/hal_espressif-3.5.0/tools/esp_prov/security/
Dsecurity0.py21 import proto
46 setup_req = proto.session_pb2.SessionData()
48 session_cmd = proto.sec0_pb2.S0SessionCmd()
54 setup_resp = proto.session_pb2.SessionData()
57 if setup_resp.sec_ver != proto.session_pb2.SecScheme0:
/hal_espressif-3.5.0/components/wifi_provisioning/
DCMakeLists.txt6 "proto-c/wifi_config.pb-c.c"
7 "proto-c/wifi_scan.pb-c.c"
8 "proto-c/wifi_constants.pb-c.c")
23 PRIV_INCLUDE_DIRS src proto-c ../protocomm/proto-c
/hal_espressif-3.5.0/components/protocomm/
DCMakeLists.txt4 set(priv_include_dirs proto-c src/common)
9 "proto-c/constants.pb-c.c"
10 "proto-c/sec0.pb-c.c"
11 "proto-c/sec1.pb-c.c"
12 "proto-c/session.pb-c.c"
/hal_espressif-3.5.0/components/esp_local_ctrl/
Dcomponent.mk1 COMPONENT_SRCDIRS := src proto-c
3 COMPONENT_PRIV_INCLUDEDIRS := src proto-c ../protocomm/proto-c/

123