aboutsummaryrefslogtreecommitdiffstats
path: root/epan/dissectors/packet-http.h
diff options
context:
space:
mode:
authorGuy Harris <guy@alum.mit.edu>2013-01-30 21:49:33 +0000
committerGuy Harris <guy@alum.mit.edu>2013-01-30 21:49:33 +0000
commita4714f643a8de3b771e22274f4f5ebd5fe148894 (patch)
tree590e4321c7ce7b9075151122760750d3fb2df864 /epan/dissectors/packet-http.h
parent8499f78705767d6df3c3fb332e9de0bd436ae3df (diff)
Add a routine to allow dissectors to specify ports that carry HTTP
traffic *without* claiming all that traffic for themselves; they might want, instead, to register for a particular media type. Not all traffic to or from port 3689 is DAAP - not even traffic between two Apple machines doing media stuff (e.g., some FairPlay traffic isn't). Register for the media type application/x-dmap-tagged, and just say port 3689 is HTTP. This means we can get rid of the FPLY hack, as that traffic is application/octet-stream. Update some comments. Leave it up to the DAAP dissector to tag traffic as DAAP in the protocol column. svn path=/trunk/; revision=47376
Diffstat (limited to 'epan/dissectors/packet-http.h')
-rw-r--r--epan/dissectors/packet-http.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/epan/dissectors/packet-http.h b/epan/dissectors/packet-http.h
index 975cc8e15f..84de5aecbe 100644
--- a/epan/dissectors/packet-http.h
+++ b/epan/dissectors/packet-http.h
@@ -27,6 +27,7 @@
#include <epan/packet.h>
void http_dissector_add(guint32 port, dissector_handle_t handle);
+void http_port_add(guint32 port);
/* Used for HTTP statistics */
typedef struct _http_info_value_t {