Home
last modified time | relevance | path

Searched refs:tag (Results 1 – 25 of 34) sorted by relevance

12

/subsys/net/lib/tls_credentials/
A Dtls_credentials.c47 struct tls_credential *credential_get(sec_tag_t tag, in credential_get() argument
53 if (credentials[i].type == type && credentials[i].tag == tag) { in credential_get()
61 struct tls_credential *credential_next_get(sec_tag_t tag, in credential_next_get() argument
74 credentials[i].tag == tag) { in credential_next_get()
95 if (credentials[i].tag <= iter && iter != TLS_SEC_TAG_NONE) { in credential_next_tag_get()
101 lowest = credentials[i].tag; in credential_next_tag_get()
131 credential = credential_get(tag, type); in tls_credential_add()
143 credential->tag = tag; in tls_credential_add()
162 credential = credential_get(tag, type); in tls_credential_get()
175 tag, (int)type, (int)credential->len); in tls_credential_get()
[all …]
A Dtls_credentials_trusted.c49 (tag & 0xffffffff); in tls_credential_get_uid()
217 credential->tag = tls_credential_uid_to_tag(uid); in credential_get_from_uid()
224 struct tls_credential *credential_get(sec_tag_t tag, in credential_get() argument
232 struct tls_credential *credential_next_get(sec_tag_t tag, in credential_next_get() argument
241 uid = tls_credential_get_uid(iter->tag, iter->type); in credential_next_get()
258 tls_credential_uid_to_tag(uid) == tag) { in credential_next_get()
329 psa_storage_uid_t uid = tls_credential_get_uid(tag, type); in tls_credential_add()
336 if (tag == 0xffffffff && type == 0xffff) { in tls_credential_add()
374 psa_storage_uid_t uid = tls_credential_get_uid(tag, type); in tls_credential_get()
380 if (tag == 0xffffffff && type == 0xffff) { in tls_credential_get()
[all …]
A Dtls_internal.h22 sec_tag_t tag; member
47 struct tls_credential *credential_get(sec_tag_t tag,
55 struct tls_credential *credential_next_get(sec_tag_t tag,
/subsys/net/l2/ethernet/
A Dvlan.c56 uint16_t tag; member
152 vlan_tag == ctx->tag)) { in get_vlan_ctx()
221 ctx = get_vlan(iface, tag); in net_eth_get_vlan_iface()
338 tag = vlan_ctx[i]->tag; in net_eth_get_vlan_tag()
345 return tag; in net_eth_get_vlan_tag()
422 vlan = get_vlan(iface, tag); in net_eth_vlan_enable()
430 vlan = get_vlan(NULL, tag); in net_eth_vlan_enable()
445 vlan->tag = tag; in net_eth_vlan_enable()
462 iface, vlan->tag, true); in net_eth_vlan_enable()
490 vlan = get_vlan(iface, tag); in net_eth_vlan_disable()
[all …]
A Dethernet_mgmt.c454 void ethernet_mgmt_raise_vlan_enabled_event(struct net_if *iface, uint16_t tag) in ethernet_mgmt_raise_vlan_enabled_event() argument
458 iface, &tag, sizeof(tag)); in ethernet_mgmt_raise_vlan_enabled_event()
465 void ethernet_mgmt_raise_vlan_disabled_event(struct net_if *iface, uint16_t tag) in ethernet_mgmt_raise_vlan_disabled_event() argument
469 iface, &tag, sizeof(tag)); in ethernet_mgmt_raise_vlan_disabled_event()
A DKconfig56 priority tagged VLAN frames with tag value 0 can be handled.
58 tagged frames than tag 0. This will save some memory as the
/subsys/bluetooth/mesh/
A Dstatistic.c26 if (ctx->tag == BT_MESH_ADV_TAG_LOCAL) { in bt_mesh_stat_planned_count()
28 } else if (ctx->tag == BT_MESH_ADV_TAG_RELAY) { in bt_mesh_stat_planned_count()
30 } else if (ctx->tag == BT_MESH_ADV_TAG_FRIEND) { in bt_mesh_stat_planned_count()
37 if (ctx->tag == BT_MESH_ADV_TAG_LOCAL) { in bt_mesh_stat_succeeded_count()
39 } else if (ctx->tag == BT_MESH_ADV_TAG_RELAY) { in bt_mesh_stat_succeeded_count()
41 } else if (ctx->tag == BT_MESH_ADV_TAG_FRIEND) { in bt_mesh_stat_succeeded_count()
A Dadv.c88 enum bt_mesh_adv_tag tag, in adv_create_from_pool() argument
115 ctx->tag = tag; in adv_create_from_pool()
141 if (adv->ctx.tag == BT_MESH_ADV_TAG_RELAY) { in bt_mesh_adv_unref()
147 if (adv->ctx.tag == BT_MESH_ADV_TAG_FRIEND) { in bt_mesh_adv_unref()
156 enum bt_mesh_adv_tag tag, in bt_mesh_adv_create() argument
160 if (tag == BT_MESH_ADV_TAG_RELAY) { in bt_mesh_adv_create()
162 type, tag, xmit, timeout); in bt_mesh_adv_create()
167 if (tag == BT_MESH_ADV_TAG_FRIEND) { in bt_mesh_adv_create()
169 type, tag, xmit, timeout); in bt_mesh_adv_create()
174 tag, xmit, timeout); in bt_mesh_adv_create()
[all …]
A Dadv.h55 tag:4; member
84 enum bt_mesh_adv_tag tag,
/subsys/net/l2/ethernet/dsa/
A Ddsa_tag_netc.c19 netc_swt_tag_host_t tag; member
25 netc_swt_tag_port_no_ts_t tag; member
43 iface_dst = eth_ctx->dsa_switch_ctx->iface_user[header->tag.comTag.port]; in dsa_tag_netc_recv()
74 header->tag.comTag.tpid = NETC_SWITCH_DEFAULT_ETHER_TYPE; in dsa_tag_netc_xmit()
75 header->tag.comTag.subType = kNETC_TagToPortNoTs; in dsa_tag_netc_xmit()
76 header->tag.comTag.type = kNETC_TagToPort; in dsa_tag_netc_xmit()
77 header->tag.comTag.swtId = 1; in dsa_tag_netc_xmit()
78 header->tag.comTag.port = cfg->port_idx; in dsa_tag_netc_xmit()
A DKconfig31 int "DSA tag size in bytes"
36 Set the DSA tag length in bytes.
42 depends on $(dt_compat_any_has_prop,$(DSA_PORT_COMPAT),dsa-tag-protocol,1)
44 NXP NETC tag protocol.
/subsys/net/l2/ieee802154/
A Dieee802154_6lo_fragment.c44 uint16_t tag; /* Datagram tag */ member
91 ptr[0] = tag >> 8; in set_datagram_tag()
92 ptr[1] = (uint8_t)tag; in set_datagram_tag()
264 if (!(cache[i].size == size && cache[i].tag == tag)) { in clear_reass_cache()
274 cache[i].tag = 0U; in clear_reass_cache()
295 fcache->tag = 0U; in reass_timeout()
315 cache[i].tag = tag; in set_reass_cache()
336 if (cache[i].size == size && cache[i].tag == tag) { in get_reass_cache()
487 uint16_t tag; in fragment_add_to_cache() local
510 fcache = get_reass_cache(size, tag); in fragment_add_to_cache()
[all …]
/subsys/net/lib/shell/
A Dvlan.c97 uint16_t tag; in cmd_net_vlan_add() local
108 tag = strtol(argv[arg], &endptr, 10); in cmd_net_vlan_add()
138 ret = net_eth_vlan_enable(iface, tag); in cmd_net_vlan_add()
149 iface = net_eth_get_vlan_iface(iface, tag); in cmd_net_vlan_add()
151 PR("VLAN tag %d set to interface %d (%p)\n", tag, in cmd_net_vlan_add()
172 uint16_t tag; in cmd_net_vlan_del() local
180 tag = strtol(argv[arg], &endptr, 10); in cmd_net_vlan_del()
187 user_data.user_data = UINT_TO_POINTER((uint32_t)tag); in cmd_net_vlan_del()
A Devents.c121 uint16_t tag = *((uint16_t *)msg->data); in get_l2_desc() local
125 "tag %u enabled", (uint16_t)tag); in get_l2_desc()
132 uint16_t tag = *((uint16_t *)msg->data); in get_l2_desc() local
136 "tag %u enabled", (uint16_t)tag); in get_l2_desc()
A Diface.c371 uint16_t tag; in iface_cb() local
373 tag = net_eth_get_vlan_tag(iface); in iface_cb()
374 if (tag == NET_VLAN_TAG_UNSPEC) { in iface_cb()
377 PR("VLAN tag : %d (0x%03x)\n", tag, tag); in iface_cb()
/subsys/bindesc/
A Dbindesc_read.c17 uint16_t tag; member
27 if (data->tag == entry->tag) { in find_callback()
178 } while ((entry->tag != BINDESC_TAG_DESCRIPTORS_END) && in bindesc_foreach()
187 .tag = BINDESC_TAG(STR, id), in bindesc_find_str()
201 .tag = BINDESC_TAG(UINT, id), in bindesc_find_uint()
216 .tag = BINDESC_TAG(BYTES, id), in bindesc_find_bytes()
/subsys/mgmt/hawkbit/
A DKconfig184 prompt "hawkBit certificate tag"
188 bool "Use static certificate tag"
190 Use static certificate tag for TLS connection to the hawkBit server.
193 bool "Use dynamic certificate tag"
196 Use dynamic certificate tag for TLS connection to the hawkBit server.
201 int "Static certificate tag"
205 Static certificate tag for TLS connection to the hawkBit server.
/subsys/net/lib/config/
A DKconfig171 1 authentication only with a 4 bytes length tag
172 2 authentication only with a 8 bytes length tag
173 3 authentication only with a 16 bytes length tag
175 5 encryption/authentication with a 4 bytes length tag
176 6 encryption/authentication with a 8 bytes length tag
177 7 encryption/authentication with a 16 bytes length tag
/subsys/bluetooth/host/classic/shell/
A Dgoep.c696 uint8_t tag; in cmd_add_header_app_param() local
704 len = hex2bin(argv[1], strlen(argv[1]), &tag, sizeof(tag)); in cmd_add_header_app_param()
720 tlvs[tlv_count].type = tag; in cmd_add_header_app_param()
743 uint8_t tag; in cmd_add_header_auth_challenge() local
751 len = hex2bin(argv[1], strlen(argv[1]), &tag, sizeof(tag)); in cmd_add_header_auth_challenge()
767 tlvs[tlv_count].type = tag; in cmd_add_header_auth_challenge()
790 uint8_t tag; in cmd_add_header_auth_rsp() local
798 len = hex2bin(argv[1], strlen(argv[1]), &tag, sizeof(tag)); in cmd_add_header_auth_rsp()
814 tlvs[tlv_count].type = tag; in cmd_add_header_auth_rsp()
/subsys/logging/
A Dlog_core.c150 static char tag[CONFIG_LOG_TAG_MAX_LEN + 1] = variable
870 return CONFIG_LOG_TAG_MAX_LEN > 0 ? tag : NULL; in z_log_get_tag()
883 memcpy(tag, str, cpy_len); in log_set_tag()
884 tag[cpy_len] = '\0'; in log_set_tag()
887 tag[cpy_len - 1] = '~'; in log_set_tag()
A DKconfig.formatting157 Setting non-zero value enables option to specify a tag which is
161 string "Default tag"
165 Initial tag.
A Dlog_output.c591 const char *tag = IS_ENABLED(CONFIG_LOG) ? z_log_get_tag() : NULL; in prefix_print() local
610 if (tag) { in prefix_print()
611 length += print_formatted(output, "%s ", tag); in prefix_print()
/subsys/net/lib/lwm2m/
A Dlwm2m_rw_cbor.c363 uint32_t tag; in get_time() local
374 success = zcbor_tag_decode(states, &tag); in get_time()
380 switch (tag) { in get_time()
394 LOG_WRN("expected tagged date/time, got tag %" PRIu32 "", tag); in get_time()
A Dlwm2m_engine.c933 static void delete_tls_credentials(sec_tag_t tag) in delete_tls_credentials() argument
935 tls_credential_delete(tag, TLS_CREDENTIAL_PSK_ID); in delete_tls_credentials()
936 tls_credential_delete(tag, TLS_CREDENTIAL_PSK); in delete_tls_credentials()
937 tls_credential_delete(tag, TLS_CREDENTIAL_PUBLIC_CERTIFICATE); in delete_tls_credentials()
938 tls_credential_delete(tag, TLS_CREDENTIAL_PRIVATE_KEY); in delete_tls_credentials()
939 tls_credential_delete(tag, TLS_CREDENTIAL_CA_CERTIFICATE); in delete_tls_credentials()
/subsys/net/lib/http/
A DREADME_http_parser8 https://github.com/nodejs/http-parser/releases/tag/v2.7.1

Completed in 92 milliseconds

12