Searched refs:oid (Results 51 - 75 of 211) sorted by relevance

123456789

/freebsd-10-stable/crypto/openssl/crypto/asn1/
H A Dasn_moid.c112 ASN1_OBJECT *oid; local
148 oid = OBJ_nid2obj(nid);
149 oid->ln = lntmp;
/freebsd-10-stable/lib/libgssapi/
H A Dgss_mech_switch.c53 _gss_string_to_oid(const char* s, gss_OID oid) argument
60 oid->length = 0;
61 oid->elements = NULL;
64 * First figure out how many numbers in the oid, then
65 * calculate the compiled oid size.
152 oid->length = byte_count;
153 oid->elements = res;
189 char *name, *oid, *lib, *kobj; local
216 oid = strsep(&p, "\t\n ");
221 if (!name || !oid || !li
[all...]
H A Dgss_decapsulate_token.c36 gss_decapsulate_token(const gss_buffer_t input_token, gss_OID oid, argument
94 if (!gss_oid_equal(&mech_oid, oid))
H A Dgss_display_status.c314 gss_buffer_desc oid; local
317 maj_junk = gss_oid_to_str(&min_junk, mech_type, &oid);
319 oid.value = strdup("unknown");
320 oid.length = 7;
325 (int)oid.length, (char *)oid.value);
327 gss_release_buffer(&min_junk, &oid);
/freebsd-10-stable/contrib/ntp/ntpsnmpd/
H A DntpSnmpSubagentObject.h51 static oid oidname##_oid [] = { __VA_ARGS__ }; \
64 static oid oidname##_oid [] = { __VA_ARGS__ }; \
/freebsd-10-stable/contrib/subversion/subversion/libsvn_subr/
H A Dx509.h85 x509_buf oid; member in struct:_x509_name
112 unsigned char *oid; member in struct:svn_x509_name_attr_t
/freebsd-10-stable/usr.sbin/bsnmpd/tools/libbsnmptools/
H A Dbsnmpmap.c290 * Returns 1 on success, -1 if list is not initialized, 0 if a matching oid already
871 snmp_lookup_oidlist(struct snmp_mapping *hp, struct snmp_object *s, char *oid) argument
879 if (temp->strlen != strlen(oid))
882 if (strncmp(temp->string, oid, temp->strlen))
896 struct snmp_table_index *headp, struct snmp_object *s, char *oid)
904 if (temp->strlen != strlen(oid))
907 if (strncmp(temp->string, oid, temp->strlen))
928 char *oid)
930 if (snmptoolctx == NULL || s == NULL || oid == NULL)
933 if (snmp_lookup_oidlist(&snmptoolctx->snmp_intlist, s, oid) >
895 snmp_lookup_tablelist(struct snmp_toolinfo *snmptoolctx, struct snmp_table_index *headp, struct snmp_object *s, char *oid) argument
927 snmp_lookup_oidall(struct snmp_toolinfo *snmptoolctx, struct snmp_object *s, char *oid) argument
959 snmp_lookup_enumoid(struct snmp_toolinfo *snmptoolctx, struct snmp_object *s, char *oid) argument
969 snmp_lookup_oid(struct snmp_toolinfo *snmptoolctx, struct snmp_object *s, char *oid) argument
[all...]
/freebsd-10-stable/crypto/heimdal/lib/gssapi/mech/
H A Dgss_mech_switch.c45 _gss_string_to_oid(const char* s, gss_OID oid) argument
52 oid->length = 0;
53 oid->elements = NULL;
56 * First figure out how many numbers in the oid, then
57 * calculate the compiled oid size.
144 oid->length = byte_count;
145 oid->elements = res;
210 /* pick up the oid sets of names */
233 char *name, *oid, *lib, *kobj; local
274 oid
[all...]
H A Dgss_cred.c149 gss_OID_desc oid; local
159 oid.elements = data.data;
160 oid.length = data.length;
162 m = __gss_get_mechanism(&oid);
/freebsd-10-stable/crypto/heimdal/lib/asn1/
H A Dder_length.c86 len_oid (const heim_oid *oid) argument
91 for (n = 2; n < oid->length; ++n) {
92 unsigned u = oid->components[n];
/freebsd-10-stable/crypto/openssl/crypto/x509v3/
H A Dpcy_node.c170 const X509_POLICY_NODE *node, const ASN1_OBJECT *oid)
178 if (!OBJ_cmp(x->valid_policy, oid))
185 if (!OBJ_cmp(policy_oid, oid))
169 policy_node_match(const X509_POLICY_LEVEL *lvl, const X509_POLICY_NODE *node, const ASN1_OBJECT *oid) argument
/freebsd-10-stable/usr.sbin/bsnmpd/modules/snmp_wlan/
H A Dwlan_snmp.c188 static int wlan_scanr_index_decode(const struct asn_oid *oid, uint sub,
3035 wlan_append_ifindex(struct asn_oid *oid, uint sub, const struct wlan_iface *w) argument
3039 oid->len = sub + strlen(w->wname) + 1;
3040 oid->subs[sub] = strlen(w->wname);
3042 oid->subs[sub + i] = w->wname[i - 1];
3046 wlan_get_ifname(const struct asn_oid *oid, uint sub, uint8_t *wname) argument
3052 if (oid->len - sub != oid->subs[sub] + 1 || oid->subs[sub] >= IFNAMSIZ)
3055 for (i = 0; i < oid
3063 wlan_get_interface(const struct asn_oid *oid, uint sub) argument
3074 wlan_get_next_interface(const struct asn_oid *oid, uint sub) argument
3106 wlan_get_snmp_interface(const struct asn_oid *oid, uint sub) argument
3123 wlan_get_next_snmp_interface(const struct asn_oid *oid, uint sub) argument
3153 wlan_mac_index_decode(const struct asn_oid *oid, uint sub, char *wname, uint8_t *mac) argument
3177 wlan_append_mac_index(struct asn_oid *oid, uint sub, char *wname, uint8_t *mac) argument
3197 wlan_phy_index_decode(const struct asn_oid *oid, uint sub, char *wname, uint32_t *phy) argument
3214 wlan_append_phy_index(struct asn_oid *oid, uint sub, char *wname, uint32_t phy) argument
3317 wlan_get_peer(const struct asn_oid *oid, uint sub, struct wlan_iface **wif) argument
3332 wlan_get_next_peer(const struct asn_oid *oid, uint sub, struct wlan_iface **wif) argument
3390 wlan_channel_index_decode(const struct asn_oid *oid, uint sub, char *wname, uint32_t *cindex) argument
3407 wlan_append_channel_index(struct asn_oid *oid, uint sub, const struct wlan_iface *wif, const struct ieee80211_channel *channel) argument
3452 wlan_get_channel(const struct asn_oid *oid, uint sub, struct wlan_iface **wif) argument
3467 wlan_get_next_channel(const struct asn_oid *oid, uint sub, struct wlan_iface **wif) argument
3522 wlan_get_roam_param(const struct asn_oid *oid, uint sub, struct wlan_iface **wif) argument
3540 wlan_get_next_roam_param(const struct asn_oid *oid, uint sub, struct wlan_iface **wif, uint32_t *phy) argument
3595 wlan_get_tx_param(const struct asn_oid *oid, uint sub, struct wlan_iface **wif, uint32_t *phy) argument
3613 wlan_get_next_tx_param(const struct asn_oid *oid, uint sub, struct wlan_iface **wif, uint32_t *phy) argument
3773 wlan_scanr_index_decode(const struct asn_oid *oid, uint sub, char *wname, uint8_t *ssid, uint8_t *bssid) argument
3802 wlan_append_scanr_index(struct asn_oid *oid, uint sub, char *wname, uint8_t *ssid, uint8_t *bssid) argument
3824 wlan_get_scanr(const struct asn_oid *oid, uint sub, struct wlan_iface **wif) argument
3840 wlan_get_next_scanr(const struct asn_oid *oid, uint sub, struct wlan_iface **wif) argument
3989 wlan_get_acl_mac(const struct asn_oid *oid, uint sub, struct wlan_iface **wif) argument
4004 wlan_get_next_acl_mac(const struct asn_oid *oid, uint sub, struct wlan_iface **wif) argument
4118 wlan_mesh_get_iface(const struct asn_oid *oid, uint sub) argument
4132 wlan_mesh_get_next_iface(const struct asn_oid *oid, uint sub) argument
4159 wlan_mesh_get_peer(const struct asn_oid *oid, uint sub, struct wlan_iface **wif) argument
4175 wlan_mesh_get_next_peer(const struct asn_oid *oid, uint sub, struct wlan_iface **wif) argument
4328 wlan_mesh_get_route(const struct asn_oid *oid, uint sub, struct wlan_iface **wif) argument
4343 wlan_mesh_get_next_route(const struct asn_oid *oid, uint sub, struct wlan_iface **wif) argument
[all...]
/freebsd-10-stable/contrib/bsnmp/gensnmptree/
H A Dgensnmptree.c904 gen_node(FILE *fp, struct node *np, struct asn_oid *oid, u_int idx, argument
911 if (oid->len == ASN_MAXOIDLEN)
913 oid->subs[oid->len++] = np->id;
917 gen_node(fp, sub, oid, 0, NULL);
918 oid->len--;
923 gen_node(fp, sub, oid, np->u.entry.index,
925 oid->len--;
931 oid->len--;
935 fprintf(fp, " {{ %u, {", oid
1061 struct asn_oid oid; local
1154 extract(FILE *fp, const struct node *np, struct asn_oid *oid, const char *obj, const struct asn_oid *idx, const char *iname) argument
1197 struct asn_oid oid; local
[all...]
/freebsd-10-stable/crypto/heimdal/lib/gssapi/krb5/
H A Ddecapsulate.c96 gss_OID oid)
102 ret = _gssapi_verify_mech_header(str, total_len, oid);
159 gss_OID oid)
168 oid);
93 _gsskrb5_verify_header(u_char **str, size_t total_len, const void *type, gss_OID oid) argument
155 _gsskrb5_decapsulate(OM_uint32 *minor_status, gss_buffer_t input_token_buffer, krb5_data *out_data, const void *type, gss_OID oid) argument
H A Dinquire_sec_context_by_oid.c39 heim_oid oid; local
45 &oid, NULL);
53 der_free_oid(&oid);
59 if (oid.length - 1 == prefix.length) {
60 *suffix = oid.components[oid.length - 1];
61 oid.length--;
62 ret = (der_heim_oid_cmp(&oid, &prefix) == 0);
63 oid.length++;
66 der_free_oid(&oid);
[all...]
/freebsd-10-stable/kerberos5/lib/libgssapi_krb5/
H A Dgss_krb5.c582 heim_oid baseoid, oid; local
590 /* All this to append an integer to an oid... */
599 oid.length = baseoid.length + 1;
600 oid.components = calloc(oid.length, sizeof(*oid.components));
601 if (oid.components == NULL) {
608 memcpy(oid.components, baseoid.components,
613 oid.components[oid
673 gsskrb5_extract_key(OM_uint32 *minor_status, gss_ctx_id_t context_handle, const gss_OID oid, krb5_keyblock **keyblock) argument
[all...]
/freebsd-10-stable/sys/kgssapi/
H A Dgssapi_impl.h65 extern const char *kgss_find_mech_by_oid(const gss_OID oid);
/freebsd-10-stable/crypto/openssl/crypto/cms/
H A Dcms_att.c123 void *CMS_signed_get0_data_by_OBJ(CMS_SignerInfo *si, ASN1_OBJECT *oid, argument
126 return X509at_get0_data_by_OBJ(si->signedAttrs, oid, lastpos, type);
191 void *CMS_unsigned_get0_data_by_OBJ(CMS_SignerInfo *si, ASN1_OBJECT *oid, argument
194 return X509at_get0_data_by_OBJ(si->unsignedAttrs, oid, lastpos, type);
/freebsd-10-stable/tools/tools/ipw/
H A Dipwstats.c248 char oid[32]; local
255 snprintf(oid, sizeof oid, "dev.ipw.%u.stats", ifaceno);
256 if (sysctlbyname(oid, stats, &len, NULL, 0) == -1)
/freebsd-10-stable/contrib/bsnmp/snmpd/
H A Dconfig.c61 * line: oid '=' value
67 * oid: STRING suboid
704 /* resulting oid must not be too long */
705 if (node->oid.len + vindex->len > ASN_MAXOIDLEN)
721 tp->value.var = node->oid;
734 err = (*node->op)(snmp_ctx, &tp->value, node->oid.len, node->index,
809 parse_oid(const char *varname, struct asn_oid *oid) argument
822 oid->len = 0;
828 if (oid->len == ASN_MAXOIDLEN)
831 oid
[all...]
/freebsd-10-stable/crypto/openssh/
H A Dssh-gss.h83 gss_OID_desc oid; member in struct:ssh_gssapi_mech_struct
95 gss_OID oid; /* client */ member in struct:__anon20
/freebsd-10-stable/sys/dev/coretemp/
H A Dcoretemp.c157 struct sysctl_oid *oid; local
269 oid = SYSCTL_ADD_NODE(ctx,
280 SYSCTL_ADD_PROC(ctx, SYSCTL_CHILDREN(oid), OID_AUTO, "delta",
284 SYSCTL_ADD_PROC(ctx, SYSCTL_CHILDREN(oid), OID_AUTO, "resolution",
288 SYSCTL_ADD_PROC(ctx, SYSCTL_CHILDREN(oid), OID_AUTO, "tjmax",
292 SYSCTL_ADD_PROC(ctx, SYSCTL_CHILDREN(oid), OID_AUTO,
/freebsd-10-stable/sys/dev/drm/
H A Ddrm_sysctl.c63 struct sysctl_oid *oid; local
79 SLIST_FOREACH(oid, SYSCTL_CHILDREN(drioid), oid_link) {
80 if (i <= oid->oid_arg2)
81 i = oid->oid_arg2 + 1;
94 oid = SYSCTL_ADD_OID(&info->ctx,
104 if (!oid)
/freebsd-10-stable/tools/tools/npe/npestats/
H A Dnpestats.c127 char oid[80]; member in struct:npestatfoo_p
139 snprintf(wf->oid, sizeof(wf->oid), "dev.npe.%s.stats", ifname+3);
141 if (sysctlnametomib(wf->oid, wf->mib, &len) < 0)
142 err(1, "sysctlnametomib: %s", wf->oid);
150 err(1, "sysctl: %s", wf->oid);
/freebsd-10-stable/contrib/bsnmp/snmp_target/
H A Dtarget_snmp.c656 target_append_index(struct asn_oid *oid, uint sub, const char *name) argument
660 oid->len = sub + strlen(name);
662 oid->subs[sub + i] = name[i];
666 target_decode_index(const struct asn_oid *oid, uint sub, char *name) argument
670 if (oid->len - sub != oid->subs[sub] + 1 || oid->subs[sub] >=
674 for (i = 0; i < oid->subs[sub]; i++)
675 name[i] = oid->subs[sub + i + 1];
682 target_get_address(const struct asn_oid *oid, uin argument
699 target_get_next_address(const struct asn_oid * oid, uint sub) argument
719 target_get_param(const struct asn_oid *oid, uint sub) argument
736 target_get_next_param(const struct asn_oid *oid, uint sub) argument
756 target_get_notify(const struct asn_oid *oid, uint sub) argument
773 target_get_next_notify(const struct asn_oid *oid, uint sub) argument
[all...]

Completed in 303 milliseconds

123456789