Lines Matching refs:OID
2 /* ASN.1 Object identifier (OID) registry
17 MODULE_DESCRIPTION("OID Registry");
22 * look_up_OID - Find an OID registration for the specified data
23 * @data: Binary representation of the OID
26 enum OID look_up_OID(const void *data, size_t datasize)
29 enum OID oid;
34 /* Hash the OID data */
42 /* Binary search the OID registry. OIDs are stored in ascending order
73 * OID, so do the comparison in reverse.
97 * parse_OID - Parse an OID from a bytestream
98 * @data: Binary representation of the header + OID
102 * Parse an OID from a bytestream that holds the OID in the format
106 int parse_OID(const void *data, size_t datasize, enum OID *oid)
121 * @data: The encoded OID to print
122 * @datasize: The size of the encoded OID
126 * The OID is rendered into the buffer in "a.b.c.d" format and the number of
179 * @oid: The OID to print
183 * The OID is rendered into the buffer in "a.b.c.d" format and the number of
186 int sprint_OID(enum OID oid, char *buffer, size_t bufsize)