Wireshark  4.3.0
The Wireshark network protocol analyzer
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 
13 typedef 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;
32 
33 #endif /* __PACKET_MEDIA_TYPE_H__ */
Definition: packet-media-type.h:24
const char * media_str
Definition: packet-media-type.h:26
media_container_type_t type
Definition: packet-media-type.h:25
void * data
Definition: packet-media-type.h:30
const char * content_id
Definition: packet-media-type.h:27