| Wireshark 4.7.0 The Wireshark network protocol analyzer

Loading...
Searching...
No Matches
packet-media-type.h
1/* packet-media-type.h
2 *
3 * Wireshark - Network traffic analyzer
4 * By Gerald Combs <gerald@wireshark.org>
5 * Copyright 1998 Gerald Combs
6 *
7 * SPDX-License-Identifier: GPL-2.0-or-later
8 */
9
10#ifndef __PACKET_MEDIA_TYPE_H__
11#define __PACKET_MEDIA_TYPE_H__
12
13typedef enum {
14 MEDIA_CONTAINER_HTTP_REQUEST, /* HTTP request */
15 MEDIA_CONTAINER_HTTP_RESPONSE, /* HTTP reply */
16 MEDIA_CONTAINER_HTTP_NOTIFICATION, /* HTTP notification */
17 MEDIA_CONTAINER_HTTP_OTHERS, /* other HTTP */
18 MEDIA_CONTAINER_SIP_DATA, /* SIP message */
19 MEDIA_CONTAINER_OTHER /* Everything else */
20} media_container_type_t;
21
24 typedef struct {
25 media_container_type_t type;
26 const char *media_str;
27 const char *content_id;
30 void *data;
31} media_content_info_t;
32
33#endif /* __PACKET_MEDIA_TYPE_H__ */
media_content_info_t
Definition packet-media-type.h:24
media_content_info_t::media_str
const char * media_str
Definition packet-media-type.h:26
media_content_info_t::type
media_container_type_t type
Definition packet-media-type.h:25
media_content_info_t::data
void * data
Definition packet-media-type.h:30
media_content_info_t::content_id
const char * content_id
Definition packet-media-type.h:27