2 * Manage the media_type dissector table
4 * Wireshark - Network traffic analyzer
5 * By Gerald Combs <gerald@wireshark.org>
6 * Copyright 1998 Gerald Combs
8 * SPDX-License-Identifier: GPL-2.0-or-later
13 #include <epan/packet.h>
16 proto_register_media_type(void)
19 * Dissectors can register themselves in this table.
20 * It's just "media_type", not "http.content_type", because
21 * it's an Internet media type, used by other protocols as well.
23 * RFC 6838, 4.2 Naming Requirements:
24 * "Both top-level type and subtype names are case-insensitive."
26 register_dissector_table("media_type", "Internet media type",
27 -1 /* no protocol */, FT_STRING
, STRING_CASE_INSENSITIVE
);