From Marko Hrastovec via https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=8579
[metze/wireshark/wip.git] / epan / CMakeLists.txt
1 # CMakeLists.txt
2 #
3 # $Id$
4 #
5 # Wireshark - Network traffic analyzer
6 # By Gerald Combs <gerald@wireshark.org>
7 # Copyright 1998 Gerald Combs
8 #
9 # This program is free software; you can redistribute it and/or
10 # modify it under the terms of the GNU General Public License
11 # as published by the Free Software Foundation; either version 2
12 # of the License, or (at your option) any later version.
13 #
14 # This program is distributed in the hope that it will be useful,
15 # but WITHOUT ANY WARRANTY; without even the implied warranty of
16 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
17 # GNU General Public License for more details.
18 #
19 # You should have received a copy of the GNU General Public License
20 # along with this program; if not, write to the Free Software
21 # Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
22 #
23
24 if (HAVE_LIBLUA)
25         include( wslua/CMakeLists.txt )
26 endif()
27 if (HAVE_LIBPYTHON)
28         include( wspython/CMakeLists.txt )
29 endif()
30
31 add_subdirectory( dissectors/dcerpc )
32
33 include_directories(
34         ${CMAKE_CURRENT_BINARY_DIR}
35         ${CMAKE_CURRENT_SOURCE_DIR}/dfilter
36         ${CMAKE_CURRENT_SOURCE_DIR}/dissectors
37         ${CMAKE_CURRENT_SOURCE_DIR}/ftypes
38         ${CMAKE_CURRENT_SOURCE_DIR}/wslua
39         ${CMAKE_CURRENT_SOURCE_DIR}/wspython
40 )
41
42 set(CRYPT_FILES
43         crypt/airpdcap.c
44         crypt/airpdcap_ccmp.c
45         crypt/airpdcap_debug.c
46         crypt/airpdcap_rijndael.c
47         crypt/airpdcap_tkip.c
48         crypt/aes.c
49         crypt/des.c
50         crypt/eax.c
51         crypt/md4.c
52         crypt/md5.c
53         crypt/rc4.c
54         crypt/sha1.c
55 )
56
57 set(DFILTER_FILES
58         dfilter/dfilter.c
59         dfilter/dfilter-macro.c
60         dfilter/dfunctions.c
61         dfilter/dfvm.c
62         dfilter/drange.c
63         dfilter/gencode.c
64         dfilter/semcheck.c
65         dfilter/sttype-function.c
66         dfilter/sttype-integer.c
67         dfilter/sttype-pointer.c
68         dfilter/sttype-range.c
69         dfilter/sttype-string.c
70         dfilter/sttype-test.c
71         dfilter/syntax-tree.c
72 )
73
74 set(DFILTER_CLEAN_FILES
75         ${DFILTER_FILES}
76 )
77
78 add_lex_files(DFILTER_FILES
79         dfilter/scanner.l
80 )
81
82 add_lemon_files(DFILTER_FILES
83         dfilter/grammar.lemon
84 )
85
86 if (AUTOGEN_pidl)
87     # TODO
88 endif()
89
90 if (AUTOGEN_dcerpc)
91   FOREACH(PROTOCOL_NAME ${PIDL_DISSECTOR_AUTOGEN_NAMES})
92     set(PIDL_DISSECTOR_AUTOGEN_SRC
93         ${PIDL_DISSECTOR_AUTOGEN_SRC}
94         dissectors/dcerpc/${PROTOCOL_NAME}/packet-dcerpc-${PROTOCOL_NAME}.c
95     )
96   ENDFOREACH()
97
98   FOREACH(PROTOCOL_NAME ${PIDL_DISSECTOR_AUTOGEN_NAMES})
99     SET(CUR_PROTO_DIR ${CMAKE_CURRENT_SOURCE_DIR}/dissectors/dcerpc/${PROTOCOL_NAME})
100     SET(CUR_PROTO_C_FILE packet-dcerpc-${PROTOCOL_NAME}.c)
101     SET(CUR_PROTO_H_FILE packet-dcerpc-${PROTOCOL_NAME}.h)
102     ADD_CUSTOM_COMMAND(
103         OUTPUT
104           ${CUR_PROTO_DIR}/${CUR_PROTO_C_FILE}
105           ${CUR_PROTO_DIR}/${CUR_PROTO_H_FILE}
106         COMMAND
107           idl2wrs ${PROTOCOL_NAME}
108         COMMAND
109           ${CMAKE_COMMAND} -E copy_if_different ${CUR_PROTO_DIR}/${CUR_PROTO_C_FILE} ${CMAKE_CURRENT_SOURCE_DIR}/dissectors/${CUR_PROTO_C_FILE}
110         COMMAND
111           ${CMAKE_COMMAND} -E copy_if_different ${CUR_PROTO_DIR}/${CUR_PROTO_H_FILE} ${CMAKE_CURRENT_SOURCE_DIR}/dissectors/${CUR_PROTO_H_FILE}
112         WORKING_DIRECTORY
113           ${CUR_PROTO_DIR}
114         DEPENDS
115           ${CUR_PROTO_DIR}/${PROTOCOL_NAME}.idl
116           ${CUR_PROTO_DIR}/${PROTOCOL_NAME}.cnf
117           ${CUR_PROTO_DIR}/packet-dcerpc-${PROTOCOL_NAME}-template.c
118           ${CUR_PROTO_DIR}/packet-dcerpc-${PROTOCOL_NAME}-template.h
119     )
120   ENDFOREACH()
121 else()
122   FOREACH(PROTOCOL_NAME ${PIDL_DISSECTOR_AUTOGEN_NAMES})
123     set(PIDL_DISSECTOR_AUTOGEN_SRC
124         ${PIDL_DISSECTOR_AUTOGEN_SRC}
125         dissectors/packet-dcerpc-${PROTOCOL_NAME}.c
126     )
127   ENDFOREACH()
128 endif()
129
130 ADD_CUSTOM_COMMAND(
131     OUTPUT ${CMAKE_CURRENT_BINARY_DIR}/packet-ncp2222.c
132     COMMAND ${PYTHON_EXECUTABLE}
133       ${CMAKE_SOURCE_DIR}/tools/ncp2222.py
134       -o ${CMAKE_CURRENT_BINARY_DIR}/packet-ncp2222.c
135     DEPENDS
136       dissectors/packet-ncp2222.inc
137       ${CMAKE_SOURCE_DIR}/tools/ncp2222.py
138 )
139
140 ADD_CUSTOM_COMMAND(
141     OUTPUT
142        x11-dissector
143 #      x11-declarations.h
144 #      x11-enum.h
145 #      x11-extension-errors.h
146 #      x11-extension-implementation.h
147 #      x11-fields
148 #      x11-glx-render-enum.h
149 #      x11-register-info.h
150     COMMAND ${PERL_EXECUTABLE}
151       ${CMAKE_SOURCE_DIR}/tools/process-x11-fields.pl
152       <dissectors/x11-fields
153     COMMAND ${PERL_EXECUTABLE}
154       ${CMAKE_SOURCE_DIR}/tools/process-x11-xcb.pl
155     DEPENDS
156       dissectors/x11-fields
157       ${CMAKE_SOURCE_DIR}/tools/process-x11-fields.pl
158       ${CMAKE_SOURCE_DIR}/tools/process-x11-xcb.pl
159 )
160
161 # Note that some dissectors are added in dissectors/dcerpc/CMakeLists.txt
162 set(PIDL_DISSECTOR_SRC
163         dissectors/packet-dcerpc-atsvc.c
164 #       dissectors/packet-dcerpc-budb.c
165 #       dissectors/packet-dcerpc-butc.c
166 #       dissectors/packet-dcerpc-drsuapi.c
167         dissectors/packet-dcerpc-dssetup.c
168         dissectors/packet-dcerpc-efs.c
169         dissectors/packet-dcerpc-frstrans.c
170         dissectors/packet-dcerpc-initshutdown.c
171         dissectors/packet-dcerpc-nspi.c
172         dissectors/packet-dcerpc-rfr.c
173         dissectors/packet-dcerpc-srvsvc.c
174         dissectors/packet-dcerpc-wkssvc.c
175         dissectors/packet-dcerpc-wzcsvc.c
176 )
177 set(DIRTY_PIDL_DISSECTOR_SRC
178         dissectors/packet-dcerpc-dfs.c
179         dissectors/packet-dcerpc-dnsserver.c
180         dissectors/packet-dcerpc-eventlog.c
181         dissectors/packet-dcerpc-lsa.c
182         dissectors/packet-dcerpc-mapi.c
183         dissectors/packet-dcerpc-winreg.c
184 )
185 set(ASN1_DISSECTOR_SRC
186         dissectors/packet-acp133.c
187         dissectors/packet-acse.c
188         dissectors/packet-ansi_tcap.c
189         dissectors/packet-c1222.c
190         dissectors/packet-camel.c
191         dissectors/packet-cdt.c
192         dissectors/packet-charging_ase.c
193         dissectors/packet-cmip.c
194         dissectors/packet-cmp.c
195         dissectors/packet-cms.c
196         dissectors/packet-credssp.c
197         dissectors/packet-crmf.c
198         dissectors/packet-dap.c
199         dissectors/packet-disp.c
200         dissectors/packet-dop.c
201         dissectors/packet-dsp.c
202         dissectors/packet-ess.c
203         dissectors/packet-ftam.c
204         dissectors/packet-goose.c
205         dissectors/packet-HI2Operations.c
206         dissectors/packet-h225.c
207         dissectors/packet-h235.c
208         dissectors/packet-h245.c
209         dissectors/packet-h248.c
210         dissectors/packet-h282.c
211         dissectors/packet-h283.c
212         dissectors/packet-h323.c
213         dissectors/packet-h450.c
214         dissectors/packet-h450-ros.c
215         dissectors/packet-h460.c
216         dissectors/packet-h501.c
217         dissectors/packet-hnbap.c
218         dissectors/packet-idmp.c
219         dissectors/packet-idrp.c
220         dissectors/packet-inap.c
221         dissectors/packet-isdn-sup.c
222         dissectors/packet-lcsap.c
223         dissectors/packet-logotypecertextn.c
224         dissectors/packet-lpp.c
225         dissectors/packet-lppa.c
226         dissectors/packet-lppe.c
227         dissectors/packet-lte-rrc.c
228         dissectors/packet-mms.c
229         dissectors/packet-mpeg-audio.c
230         dissectors/packet-mpeg-pes.c
231         dissectors/packet-nbap.c
232         dissectors/packet-ns_cert_exts.c
233         dissectors/packet-ocsp.c
234         dissectors/packet-opsi.c
235         dissectors/packet-p22.c
236         dissectors/packet-p7.c
237         dissectors/packet-p772.c
238         dissectors/packet-pcap.c
239         dissectors/packet-pkcs1.c
240         dissectors/packet-pkinit.c
241         dissectors/packet-pkix1explicit.c
242         dissectors/packet-pkix1implicit.c
243         dissectors/packet-pkixac.c
244         dissectors/packet-pkixproxy.c
245         dissectors/packet-pkixqualified.c
246         dissectors/packet-pkixtsp.c
247         dissectors/packet-q932.c
248         dissectors/packet-q932-ros.c
249         dissectors/packet-qsig.c
250         dissectors/packet-ranap.c
251         dissectors/packet-ros.c
252         dissectors/packet-rpki-rtr.c
253         dissectors/packet-rrc.c
254         dissectors/packet-rrlp.c
255         dissectors/packet-rtse.c
256         dissectors/packet-rua.c
257         dissectors/packet-s1ap.c
258         dissectors/packet-sabp.c
259         dissectors/packet-sbc-ap.c
260         dissectors/packet-smrse.c
261         dissectors/packet-spnego.c
262         dissectors/packet-sv.c
263         dissectors/packet-sysex.c
264         dissectors/packet-t38.c
265         dissectors/packet-ulp.c
266         dissectors/packet-wlancertextn.c
267         dissectors/packet-x224.c
268         dissectors/packet-x2ap.c
269         dissectors/packet-x509af.c
270         dissectors/packet-x509ce.c
271         dissectors/packet-x509if.c
272         dissectors/packet-x509sat.c
273 )
274
275 set(DIRTY_ASN1_DISSECTOR_SRC
276         dissectors/packet-ansi_map.c
277         dissectors/packet-coseventcomm.c
278         dissectors/packet-cosnaming.c
279         dissectors/packet-gnm.c
280         dissectors/packet-gprscdr.c
281         dissectors/packet-gsm_map.c
282         dissectors/packet-ldap.c
283         dissectors/packet-m3ap.c
284         dissectors/packet-p1.c
285         dissectors/packet-parlay.c
286         dissectors/packet-pkcs12.c
287         dissectors/packet-pres.c
288         dissectors/packet-rnsap.c
289         dissectors/packet-snmp.c
290         dissectors/packet-t124.c
291         dissectors/packet-t125.c
292         dissectors/packet-tango.c
293         dissectors/packet-tcap.c
294         dissectors/packet-tetra.c
295 )
296
297 set(DISSECTOR_SRC
298         dissectors/packet-2dparityfec.c
299         dissectors/packet-3com-njack.c
300         dissectors/packet-3com-xns.c
301         dissectors/packet-3g-a11.c
302         dissectors/packet-6lowpan.c
303         dissectors/packet-9p.c
304         dissectors/packet-aarp.c
305         dissectors/packet-aastra-aasp.c
306         dissectors/packet-acap.c
307         dissectors/packet-acn.c
308         dissectors/packet-actrace.c
309         dissectors/packet-adwin-config.c
310         dissectors/packet-adwin.c
311         dissectors/packet-afp.c
312         dissectors/packet-afs.c
313         dissectors/packet-agentx.c
314         dissectors/packet-aim-admin.c
315         dissectors/packet-aim-adverts.c
316         dissectors/packet-aim-bos.c
317         dissectors/packet-aim-buddylist.c
318         dissectors/packet-aim-chat.c
319         dissectors/packet-aim-chatnav.c
320         dissectors/packet-aim-directory.c
321         dissectors/packet-aim-email.c
322         dissectors/packet-aim-generic.c
323         dissectors/packet-aim-icq.c
324         dissectors/packet-aim-invitation.c
325         dissectors/packet-aim-location.c
326         dissectors/packet-aim-messaging.c
327         dissectors/packet-aim-oft.c
328         dissectors/packet-aim-popup.c
329         dissectors/packet-aim-signon.c
330         dissectors/packet-aim-ssi.c
331         dissectors/packet-aim-sst.c
332         dissectors/packet-aim-stats.c
333         dissectors/packet-aim-translate.c
334         dissectors/packet-aim-userlookup.c
335         dissectors/packet-aim.c
336         dissectors/packet-ajp13.c
337         dissectors/packet-alcap.c
338         dissectors/packet-amqp.c
339         dissectors/packet-amr.c
340         dissectors/packet-ancp.c
341         dissectors/packet-ans.c
342         dissectors/packet-ansi_637.c
343         dissectors/packet-ansi_683.c
344         dissectors/packet-ansi_801.c
345         dissectors/packet-ansi_a.c
346         dissectors/packet-aodv.c
347         dissectors/packet-aoe.c
348         dissectors/packet-aol.c
349         dissectors/packet-ap1394.c
350         dissectors/packet-app-pkix-cert.c
351         dissectors/packet-applemidi.c
352         dissectors/packet-aprs.c
353         dissectors/packet-arcnet.c
354         dissectors/packet-armagetronad.c
355         dissectors/packet-arp.c
356         dissectors/packet-artnet.c
357         dissectors/packet-aruba-adp.c
358         dissectors/packet-aruba-erm.c
359         dissectors/packet-aruba-papi.c
360         dissectors/packet-ar_drone.c
361         dissectors/packet-asap.c
362         dissectors/packet-ascend.c
363         dissectors/packet-asf.c
364         dissectors/packet-assa_r3.c
365         dissectors/packet-asterix.c
366         dissectors/packet-at.c
367         dissectors/packet-atalk.c
368         dissectors/packet-atm.c
369         dissectors/packet-atmtcp.c
370         dissectors/packet-auto_rp.c
371         dissectors/packet-ax25.c
372         dissectors/packet-ax25-kiss.c
373         dissectors/packet-ax25-nol3.c
374         dissectors/packet-ax4000.c
375         dissectors/packet-ayiya.c
376         dissectors/packet-babel.c
377         dissectors/packet-bacapp.c
378         dissectors/packet-bacnet.c
379         dissectors/packet-banana.c
380         dissectors/packet-bat.c
381         dissectors/packet-batadv.c
382         dissectors/packet-bctp.c
383         dissectors/packet-beep.c
384         dissectors/packet-ber.c
385         dissectors/packet-bfcp.c
386         dissectors/packet-bfd.c
387         dissectors/packet-bgp.c
388         dissectors/packet-bitcoin.c
389         dissectors/packet-bittorrent.c
390         dissectors/packet-bjnp.c
391         dissectors/packet-bmc.c
392         dissectors/packet-bofl.c
393         dissectors/packet-bootp.c
394         dissectors/packet-bootparams.c
395         dissectors/packet-bpdu.c
396         dissectors/packet-bpq.c
397         dissectors/packet-brdwlk.c
398         dissectors/packet-brp.c
399         dissectors/packet-bssap.c
400         dissectors/packet-bssgp.c
401         dissectors/packet-bt-dht.c
402         dissectors/packet-bt-utp.c
403         dissectors/packet-btamp.c
404         dissectors/packet-btatt.c
405         dissectors/packet-btbnep.c
406         dissectors/packet-btavctp.c
407         dissectors/packet-btavdtp.c
408         dissectors/packet-btavrcp.c
409         dissectors/packet-bthci_acl.c
410         dissectors/packet-bthci_cmd.c
411         dissectors/packet-bthci_evt.c
412         dissectors/packet-bthci_sco.c
413         dissectors/packet-bthcrp.c
414         dissectors/packet-bthfp.c
415         dissectors/packet-bthid.c
416         dissectors/packet-btl2cap.c
417         dissectors/packet-btmcap.c
418         dissectors/packet-btobex.c
419         dissectors/packet-btrfcomm.c
420         dissectors/packet-btsap.c
421         dissectors/packet-btsdp.c
422         dissectors/packet-btsmp.c
423         dissectors/packet-bt-oui.c
424         dissectors/packet-bvlc.c
425         dissectors/packet-bzr.c
426         dissectors/packet-calcappprotocol.c
427         dissectors/packet-canopen.c
428         dissectors/packet-capwap.c
429         dissectors/packet-cast.c
430         dissectors/packet-catapult-dct2000.c
431         dissectors/packet-ccsds.c
432         dissectors/packet-cdp.c
433         dissectors/packet-cell_broadcast.c
434         dissectors/packet-cfm.c
435         dissectors/packet-cgmp.c
436         dissectors/packet-chdlc.c
437         dissectors/packet-cigi.c
438         dissectors/packet-cimd.c
439         dissectors/packet-cimetrics.c
440         dissectors/packet-cip.c
441         dissectors/packet-cipmotion.c
442         dissectors/packet-cipsafety.c
443         dissectors/packet-cisco-erspan.c
444         dissectors/packet-cisco-oui.c
445         dissectors/packet-cisco-sm.c
446         dissectors/packet-cisco-wids.c
447         dissectors/packet-classicstun.c
448         dissectors/packet-clearcase.c
449         dissectors/packet-clip.c
450         dissectors/packet-clique-rm.c
451         dissectors/packet-clnp.c
452         dissectors/packet-cmpp.c
453         dissectors/packet-cnip.c
454         dissectors/packet-coap.c
455         dissectors/packet-collectd.c
456         dissectors/packet-componentstatus.c
457         dissectors/packet-cops.c
458         dissectors/packet-cosine.c
459         dissectors/packet-cpfi.c
460         dissectors/packet-cpha.c
461         dissectors/packet-csm-encaps.c
462         dissectors/packet-csn1.c
463         dissectors/packet-ctdb.c
464         dissectors/packet-cups.c
465         dissectors/packet-daap.c
466         dissectors/packet-data.c
467         dissectors/packet-daytime.c
468         dissectors/packet-db-lsp.c
469         dissectors/packet-dbus.c
470         dissectors/packet-dcc.c
471         dissectors/packet-dccp.c
472         dissectors/packet-dcerpc-bossvr.c
473         dissectors/packet-dcerpc-browser.c
474         dissectors/packet-dcerpc-cds_clerkserver.c
475         dissectors/packet-dcerpc-cds_solicit.c
476         dissectors/packet-dcerpc-conv.c
477         dissectors/packet-dcerpc-cprpc_server.c
478         dissectors/packet-dcerpc-dce122.c
479         dissectors/packet-dcerpc-dtsprovider.c
480         dissectors/packet-dcerpc-dtsstime_req.c
481         dissectors/packet-dcerpc-epm.c
482         dissectors/packet-dcerpc-fileexp.c
483         dissectors/packet-dcerpc-fldb.c
484         dissectors/packet-dcerpc-frsapi.c
485         dissectors/packet-dcerpc-frsrpc.c
486         dissectors/packet-dcerpc-ftserver.c
487         dissectors/packet-dcerpc-icl_rpc.c
488         dissectors/packet-dcerpc-krb5rpc.c
489         dissectors/packet-dcerpc-llb.c
490         dissectors/packet-dcerpc-messenger.c
491         dissectors/packet-dcerpc-mgmt.c
492         dissectors/packet-dcerpc-ndr.c
493         dissectors/packet-dcerpc-netlogon.c
494         dissectors/packet-dcerpc-pnp.c
495         dissectors/packet-dcerpc-rdaclif.c
496         dissectors/packet-dcerpc-rep_proc.c
497         dissectors/packet-dcerpc-roverride.c
498         dissectors/packet-dcerpc-rpriv.c
499         dissectors/packet-dcerpc-rras.c
500         dissectors/packet-dcerpc-rs_acct.c
501         dissectors/packet-dcerpc-rs_attr.c
502         dissectors/packet-dcerpc-rs_attr_schema.c
503         dissectors/packet-dcerpc-rs_bind.c
504         dissectors/packet-dcerpc-rs_misc.c
505         dissectors/packet-dcerpc-rs_pgo.c
506         dissectors/packet-dcerpc-rs_plcy.c
507         dissectors/packet-dcerpc-rs_prop_acct.c
508         dissectors/packet-dcerpc-rs_prop_acl.c
509         dissectors/packet-dcerpc-rs_prop_attr.c
510         dissectors/packet-dcerpc-rs_prop_pgo.c
511         dissectors/packet-dcerpc-rs_prop_plcy.c
512         dissectors/packet-dcerpc-rs_pwd_mgmt.c
513         dissectors/packet-dcerpc-rs_repadm.c
514         dissectors/packet-dcerpc-rs_replist.c
515         dissectors/packet-dcerpc-rs_repmgr.c
516         dissectors/packet-dcerpc-rs_unix.c
517         dissectors/packet-dcerpc-rsec_login.c
518         dissectors/packet-dcerpc-samr.c
519         dissectors/packet-dcerpc-secidmap.c
520         dissectors/packet-dcerpc-spoolss.c
521         dissectors/packet-dcerpc-svcctl.c
522         dissectors/packet-dcerpc-tapi.c
523         dissectors/packet-dcerpc-tkn4int.c
524         dissectors/packet-dcerpc-trksvr.c
525         dissectors/packet-dcerpc-ubikdisk.c
526         dissectors/packet-dcerpc-ubikvote.c
527         dissectors/packet-dcerpc-update.c
528         dissectors/packet-dcerpc.c
529         dissectors/packet-dcm.c
530         dissectors/packet-dcom-dispatch.c
531         dissectors/packet-dcom-oxid.c
532         dissectors/packet-dcom-remact.c
533         dissectors/packet-dcom-remunkn.c
534         dissectors/packet-dcom-sysact.c
535         dissectors/packet-dcom.c
536         dissectors/packet-dcp-etsi.c
537         dissectors/packet-ddtp.c
538         dissectors/packet-dec-bpdu.c
539         dissectors/packet-dec-dnart.c
540         dissectors/packet-dect.c
541         dissectors/packet-dhcp-failover.c
542         dissectors/packet-dhcpv6.c
543         dissectors/packet-diameter.c
544         dissectors/packet-diameter_3gpp.c
545         dissectors/packet-diffserv-mpls-common.c
546         dissectors/packet-dis-enums.c
547         dissectors/packet-dis-fields.c
548         dissectors/packet-dis-pdus.c
549         dissectors/packet-dis.c
550         dissectors/packet-distcc.c
551         dissectors/packet-dlm3.c
552         dissectors/packet-dlsw.c
553         dissectors/packet-dmp.c
554         dissectors/packet-dmx-chan.c
555         dissectors/packet-dmx-sip.c
556         dissectors/packet-dmx-test.c
557         dissectors/packet-dmx-text.c
558         dissectors/packet-dmx.c
559         dissectors/packet-dnp.c
560         dissectors/packet-dns.c
561         dissectors/packet-dplay.c
562         dissectors/packet-dpnss-link.c
563         dissectors/packet-dpnss.c
564         dissectors/packet-drda.c
565         dissectors/packet-dsi.c
566         dissectors/packet-dtcp-ip.c
567         dissectors/packet-dtls.c
568         dissectors/packet-dtn.c
569         dissectors/packet-dtp.c
570         dissectors/packet-dtpt.c
571         dissectors/packet-dua.c
572         dissectors/packet-dvb-ait.c
573         dissectors/packet-dvb-bat.c
574         dissectors/packet-dvb-data-mpe.c
575         dissectors/packet-dvb-eit.c
576         dissectors/packet-dvb-ipdc.c
577         dissectors/packet-dvb-nit.c
578         dissectors/packet-dvb-s2-bb.c
579         dissectors/packet-dvb-sdt.c
580         dissectors/packet-dvb-tdt.c
581         dissectors/packet-dvb-tot.c
582         dissectors/packet-dvbci.c
583         dissectors/packet-dvmrp.c
584         dissectors/packet-e100.c
585         dissectors/packet-e164.c
586         dissectors/packet-e212.c
587         dissectors/packet-eap.c
588         dissectors/packet-eapol.c
589         dissectors/packet-echo.c
590         dissectors/packet-ecp-oui.c
591         dissectors/packet-edonkey.c
592         dissectors/packet-egd.c
593         dissectors/packet-ehdlc.c
594         dissectors/packet-ehs.c
595         dissectors/packet-eigrp.c
596         dissectors/packet-eiss.c
597         dissectors/packet-elcom.c
598         dissectors/packet-enc.c
599         dissectors/packet-enip.c
600         dissectors/packet-enrp.c
601         dissectors/packet-enttec.c
602         dissectors/packet-epl.c
603         dissectors/packet-epl_v1.c
604         dissectors/packet-epmd.c
605         dissectors/packet-erf.c
606         dissectors/packet-erldp.c
607         dissectors/packet-esio.c
608         dissectors/packet-esis.c
609         dissectors/packet-etch.c
610         dissectors/packet-eth.c
611         dissectors/packet-etherip.c
612         dissectors/packet-ethertype.c
613         dissectors/packet-etsi_card_app_toolkit.c
614         dissectors/packet-etv.c
615         dissectors/packet-evrc.c
616         dissectors/packet-exec.c
617         dissectors/packet-extreme.c
618         dissectors/packet-fc.c
619         dissectors/packet-fcct.c
620         dissectors/packet-fcdns.c
621         dissectors/packet-fcels.c
622         dissectors/packet-fcfcs.c
623         dissectors/packet-fcfzs.c
624         dissectors/packet-fcgi.c
625         dissectors/packet-fcip.c
626         dissectors/packet-fclctl.c
627         dissectors/packet-fcoe.c
628         dissectors/packet-fcoib.c
629         dissectors/packet-fcp.c
630         dissectors/packet-fcsb3.c
631         dissectors/packet-fcsp.c
632         dissectors/packet-fcswils.c
633         dissectors/packet-fddi.c
634         dissectors/packet-fefd.c
635         dissectors/packet-ff.c
636         dissectors/packet-fip.c
637         dissectors/packet-fix.c
638         dissectors/packet-flexnet.c
639         dissectors/packet-flip.c
640         dissectors/packet-fmp.c
641         dissectors/packet-fmp_notify.c
642         dissectors/packet-fmtp.c
643         dissectors/packet-force10-oui.c
644         dissectors/packet-forces.c
645         dissectors/packet-foundry.c
646         dissectors/packet-fp_hint.c
647         dissectors/packet-fr.c
648         dissectors/packet-fractalgeneratorprotocol.c
649         dissectors/packet-frame.c
650         dissectors/packet-ftp.c
651         dissectors/packet-fw1.c
652         dissectors/packet-g723.c
653         dissectors/packet-gadu-gadu.c
654         dissectors/packet-gdsdb.c
655         dissectors/packet-gearman.c
656         dissectors/packet-ged125.c
657         dissectors/packet-gift.c
658         dissectors/packet-giop.c
659         dissectors/packet-git.c
660         dissectors/packet-glbp.c
661         dissectors/packet-gluster_cli.c
662         dissectors/packet-gluster_pmap.c
663         dissectors/packet-glusterd.c
664         dissectors/packet-glusterfs.c
665         dissectors/packet-glusterfs_hndsk.c
666         dissectors/packet-gmhdr.c
667         dissectors/packet-gmr1_bcch.c
668         dissectors/packet-gmr1_common.c
669         dissectors/packet-gmr1_dtap.c
670         dissectors/packet-gmr1_rach.c
671         dissectors/packet-gmr1_rr.c
672         dissectors/packet-gmrp.c
673         dissectors/packet-gnutella.c
674         dissectors/packet-gopher.c
675         dissectors/packet-gpef.c
676         dissectors/packet-gprs-llc.c
677         dissectors/packet-gre.c
678         dissectors/packet-gsm_a_bssmap.c
679         dissectors/packet-gsm_a_dtap.c
680         dissectors/packet-gsm_a_gm.c
681         dissectors/packet-gsm_a_rp.c
682         dissectors/packet-gsm_a_rr.c
683         dissectors/packet-gsm_abis_om2000.c
684         dissectors/packet-gsm_abis_oml.c
685         dissectors/packet-gsm_bsslap.c
686         dissectors/packet-gsm_bssmap_le.c
687         dissectors/packet-gsm_cbch.c
688         dissectors/packet-gsm_ipa.c
689         dissectors/packet-gsm_rlcmac.c
690         dissectors/packet-gsm_sim.c
691         dissectors/packet-gsm_sms.c
692         dissectors/packet-gsm_sms_ud.c
693         dissectors/packet-gsm_um.c
694         dissectors/packet-gsmtap.c
695         dissectors/packet-gssapi.c
696         dissectors/packet-gtp.c
697         dissectors/packet-gtpv2.c
698         dissectors/packet-gvcp.c
699         dissectors/packet-gvrp.c
700         dissectors/packet-h1.c
701         dissectors/packet-h221_nonstd.c
702         dissectors/packet-h223.c
703         dissectors/packet-h248_10.c
704         dissectors/packet-h248_2.c
705         dissectors/packet-h248_3gpp.c
706         dissectors/packet-h248_7.c
707         dissectors/packet-h248_annex_c.c
708         dissectors/packet-h248_annex_e.c
709         dissectors/packet-h248_q1950.c
710         dissectors/packet-h261.c
711         dissectors/packet-h263.c
712         dissectors/packet-h263p.c
713         dissectors/packet-h264.c
714         dissectors/packet-hartip.c
715         dissectors/packet-hazelcast.c
716         dissectors/packet-hci_h1.c
717         dissectors/packet-hci_h4.c
718         dissectors/packet-hci_usb.c
719         dissectors/packet-hclnfsd.c
720         dissectors/packet-hdcp.c
721         dissectors/packet-hdcp2.c
722         dissectors/packet-hdfs.c
723         dissectors/packet-hdfsdata.c
724         dissectors/packet-hip.c
725         dissectors/packet-homeplug-av.c
726         dissectors/packet-homeplug.c
727         dissectors/packet-hp-erm.c
728         dissectors/packet-hpext.c
729         dissectors/packet-hpfeeds.c
730         dissectors/packet-hpsw.c
731         dissectors/packet-hpteam.c
732         dissectors/packet-hsr-prp-supervision.c
733         dissectors/packet-hsr.c
734         dissectors/packet-hsrp.c
735         dissectors/packet-http.c
736         dissectors/packet-hyperscsi.c
737         dissectors/packet-i2c.c
738         dissectors/packet-iana-oui.c
739         dissectors/packet-iapp.c
740         dissectors/packet-iax2.c
741         dissectors/packet-icap.c
742         dissectors/packet-icep.c
743         dissectors/packet-icmp.c
744         dissectors/packet-icmpv6.c
745         dissectors/packet-icp.c
746         dissectors/packet-icq.c
747         dissectors/packet-idp.c
748         dissectors/packet-iec104.c
749         dissectors/packet-ieee1722.c
750         dissectors/packet-ieee17221.c
751         dissectors/packet-ieee80211-airopeek.c
752         dissectors/packet-ieee80211-netmon.c
753         dissectors/packet-ieee80211-prism.c
754         dissectors/packet-ieee80211-radio.c
755         dissectors/packet-ieee80211-radiotap-iter.c
756         dissectors/packet-ieee80211-radiotap.c
757         dissectors/packet-ieee80211-wlancap.c
758         dissectors/packet-ieee80211.c
759         dissectors/packet-ieee802154.c
760         dissectors/packet-ieee8021ah.c
761         dissectors/packet-ieee8023.c
762         dissectors/packet-ieee802a.c
763         dissectors/packet-ifcp.c
764         dissectors/packet-igap.c
765         dissectors/packet-igmp.c
766         dissectors/packet-igrp.c
767         dissectors/packet-image-gif.c
768         dissectors/packet-image-jfif.c
769         dissectors/packet-image-png.c
770         dissectors/packet-imap.c
771         dissectors/packet-imf.c
772         dissectors/packet-infiniband.c
773         dissectors/packet-infiniband_sdp.c
774         dissectors/packet-interlink.c
775         dissectors/packet-ip.c
776         dissectors/packet-ipars.c
777         dissectors/packet-ipdc.c
778         dissectors/packet-ipfc.c
779         dissectors/packet-ipmi-session.c
780         dissectors/packet-ipmi.c
781         dissectors/packet-ipnet.c
782         dissectors/packet-ipoib.c
783         dissectors/packet-ipp.c
784         dissectors/packet-ipsec-tcp.c
785         dissectors/packet-ipsec-udp.c
786         dissectors/packet-ipsec.c
787         dissectors/packet-ipsi-ctl.c
788         dissectors/packet-ipv6.c
789         dissectors/packet-ipvs-syncd.c
790         dissectors/packet-ipx.c
791         dissectors/packet-ipxwan.c
792         dissectors/packet-irc.c
793         dissectors/packet-isakmp.c
794         dissectors/packet-iscsi.c
795         dissectors/packet-isdn.c
796         dissectors/packet-isis-clv.c
797         dissectors/packet-isis-hello.c
798         dissectors/packet-isis-lsp.c
799         dissectors/packet-isis-snp.c
800         dissectors/packet-isis.c
801         dissectors/packet-isl.c
802         dissectors/packet-ismacryp.c
803         dissectors/packet-ismp.c
804         dissectors/packet-isns.c
805         dissectors/packet-iso7816.c
806         dissectors/packet-isup.c
807         dissectors/packet-itdm.c
808         dissectors/packet-iua.c
809         dissectors/packet-iuup.c
810         dissectors/packet-iwarp-ddp-rdmap.c
811         dissectors/packet-iwarp-mpa.c
812         dissectors/packet-ixiatrailer.c
813         dissectors/packet-ixveriwave.c
814         dissectors/packet-jmirror.c
815         dissectors/packet-jpeg.c
816         dissectors/packet-json.c
817         dissectors/packet-juniper.c
818         dissectors/packet-jxta.c
819         dissectors/packet-k12.c
820         dissectors/packet-kadm5.c
821         dissectors/packet-kdp.c
822         dissectors/packet-kdsp.c
823         dissectors/packet-kerberos.c
824         dissectors/packet-kerberos4.c
825         dissectors/packet-kingfisher.c
826         dissectors/packet-kink.c
827         dissectors/packet-kismet.c
828         dissectors/packet-klm.c
829         dissectors/packet-knet.c
830         dissectors/packet-kpasswd.c
831         dissectors/packet-l1-events.c
832         dissectors/packet-l2tp.c
833         dissectors/packet-lanforge.c
834         dissectors/packet-lapb.c
835         dissectors/packet-lapbether.c
836         dissectors/packet-lapd.c
837         dissectors/packet-lapdm.c
838         dissectors/packet-laplink.c
839         dissectors/packet-lapsat.c
840         dissectors/packet-ldp.c
841         dissectors/packet-ldss.c
842         dissectors/packet-lge_monitor.c
843         dissectors/packet-linx.c
844         dissectors/packet-lisp-data.c
845         dissectors/packet-lisp.c
846         dissectors/packet-llc.c
847         dissectors/packet-lldp.c
848         dissectors/packet-llrp.c
849         dissectors/packet-llt.c
850         dissectors/packet-lmi.c
851         dissectors/packet-lmp.c
852         dissectors/packet-lon.c
853         dissectors/packet-loop.c
854         dissectors/packet-lpd.c
855         dissectors/packet-lsc.c
856         dissectors/packet-ltp.c
857         dissectors/packet-lwapp.c
858         dissectors/packet-lwres.c
859         dissectors/packet-m2pa.c
860         dissectors/packet-m2tp.c
861         dissectors/packet-m2ua.c
862         dissectors/packet-m3ua.c
863         dissectors/packet-maap.c
864         dissectors/packet-mac-lte-framed.c
865         dissectors/packet-mac-lte.c
866         dissectors/packet-maccontrol.c
867         dissectors/packet-mactelnet.c
868         dissectors/packet-manolito.c
869         dissectors/packet-mbtcp.c
870         dissectors/packet-mdshdr.c
871         dissectors/packet-media.c
872         dissectors/packet-megaco.c
873         dissectors/packet-memcache.c
874         dissectors/packet-mesh.c
875         dissectors/packet-meta.c
876         dissectors/packet-mgcp.c
877         dissectors/packet-mih.c
878         dissectors/packet-mikey.c
879         dissectors/packet-mim.c
880         dissectors/packet-mime-encap.c
881         dissectors/packet-miop.c
882         dissectors/packet-mip.c
883         dissectors/packet-mip6.c
884         dissectors/packet-mmse.c
885         dissectors/packet-mndp.c
886         dissectors/packet-mojito.c
887         dissectors/packet-moldudp.c
888         dissectors/packet-moldudp64.c
889         dissectors/packet-mongo.c
890         dissectors/packet-mount.c
891         dissectors/packet-mp2t.c
892         dissectors/packet-mp4ves.c
893         dissectors/packet-mpeg-ca.c
894         dissectors/packet-mpeg-descriptor.c
895         dissectors/packet-mpeg-dsmcc.c
896         dissectors/packet-mpeg-pat.c
897         dissectors/packet-mpeg-pmt.c
898         dissectors/packet-mpeg-sect.c
899         dissectors/packet-mpeg1.c
900         dissectors/packet-mpls-echo.c
901         dissectors/packet-mpls-pm.c
902         dissectors/packet-mpls-psc.c
903         dissectors/packet-mplstp-oam.c
904         dissectors/packet-mpls-y1711.c
905         dissectors/packet-mpls.c
906         dissectors/packet-mq-pcf.c
907         dissectors/packet-mq.c
908         dissectors/packet-mrcpv2.c
909         dissectors/packet-mrdisc.c
910         dissectors/packet-mrp-mmrp.c
911         dissectors/packet-mrp-msrp.c
912         dissectors/packet-mrp-mvrp.c
913         dissectors/packet-ms-mms.c
914         dissectors/packet-msdp.c
915         dissectors/packet-msn-messenger.c
916         dissectors/packet-msnip.c
917         dissectors/packet-msnlb.c
918         dissectors/packet-msproxy.c
919         dissectors/packet-msrp.c
920         dissectors/packet-mstp.c
921         dissectors/packet-mtp2.c
922         dissectors/packet-mtp3.c
923         dissectors/packet-mtp3mg.c
924         dissectors/packet-multipart.c
925         dissectors/packet-mux27010.c
926         dissectors/packet-mysql.c
927         dissectors/packet-nas_eps.c
928         dissectors/packet-nasdaq-itch.c
929         dissectors/packet-nasdaq-soup.c
930         dissectors/packet-nat-pmp.c
931         dissectors/packet-nb_rtpmux.c
932         dissectors/packet-nbd.c
933         dissectors/packet-nbipx.c
934         dissectors/packet-nbns.c
935         dissectors/packet-ncp-nmas.c
936         dissectors/packet-ncp-sss.c
937         dissectors/packet-ncp.c
938         packet-ncp2222.c
939         dissectors/packet-ncs.c
940         dissectors/packet-ndmp.c
941         dissectors/packet-ndp.c
942         dissectors/packet-ndps.c
943         dissectors/packet-negoex.c
944         dissectors/packet-netanalyzer.c
945         dissectors/packet-netbios.c
946         dissectors/packet-netdump.c
947         dissectors/packet-netflow.c
948         dissectors/packet-netperfmeter.c
949         dissectors/packet-netrom.c
950         dissectors/packet-netsync.c
951         dissectors/packet-nettl.c
952         dissectors/packet-newmail.c
953         dissectors/packet-nflog.c
954         dissectors/packet-nfs.c
955         dissectors/packet-nfsacl.c
956         dissectors/packet-nfsauth.c
957         dissectors/packet-nhrp.c
958         dissectors/packet-nisplus.c
959         dissectors/packet-nlm.c
960         dissectors/packet-nlsp.c
961         dissectors/packet-nntp.c
962         dissectors/packet-noe.c
963         dissectors/packet-nsip.c
964         dissectors/packet-nsrp.c
965         dissectors/packet-nstrace.c
966         dissectors/packet-nt-oui.c
967         dissectors/packet-nt-tpcp.c
968         dissectors/packet-ntlmssp.c
969         dissectors/packet-ntp.c
970         dissectors/packet-null.c
971         dissectors/packet-nwmtp.c
972         dissectors/packet-oicq.c
973         dissectors/packet-oipf.c
974         dissectors/packet-olsr.c
975         dissectors/packet-omapi.c
976         dissectors/packet-omron-fins.c
977         dissectors/packet-opensafety.c
978         dissectors/packet-openvpn.c
979         dissectors/packet-openwire.c
980         dissectors/packet-osi-options.c
981         dissectors/packet-osi.c
982         dissectors/packet-ositp.c
983         dissectors/packet-ospf.c
984         dissectors/packet-ouch.c
985         dissectors/packet-p_mul.c
986         dissectors/packet-packetbb.c
987         dissectors/packet-packetlogger.c
988         dissectors/packet-pagp.c
989         dissectors/packet-paltalk.c
990         dissectors/packet-pana.c
991         dissectors/packet-pcep.c
992         dissectors/packet-pcli.c
993         dissectors/packet-pcnfsd.c
994         dissectors/packet-pcp.c
995         dissectors/packet-pdcp-lte.c
996         dissectors/packet-peekremote.c
997         dissectors/packet-per.c
998         dissectors/packet-pflog.c
999         dissectors/packet-pgm.c
1000         dissectors/packet-pgsql.c
1001         dissectors/packet-pim.c
1002         dissectors/packet-pingpongprotocol.c
1003         dissectors/packet-pktc.c
1004         dissectors/packet-pktgen.c
1005         dissectors/packet-pnrp.c
1006         dissectors/packet-pop.c
1007         dissectors/packet-portmap.c
1008         dissectors/packet-ppcap.c
1009         dissectors/packet-ppi-antenna.c
1010         dissectors/packet-ppi-geolocation-common.c
1011         dissectors/packet-ppi-gps.c
1012         dissectors/packet-ppi-sensor.c
1013         dissectors/packet-ppi-vector.c
1014         dissectors/packet-ppi.c
1015         dissectors/packet-ppp.c
1016         dissectors/packet-pppoe.c
1017         dissectors/packet-pptp.c
1018         dissectors/packet-prp.c
1019         dissectors/packet-ptp.c
1020         dissectors/packet-ptpip.c
1021         dissectors/packet-pulse.c
1022         dissectors/packet-pvfs2.c
1023         dissectors/packet-pw-atm.c
1024         dissectors/packet-pw-cesopsn.c
1025         dissectors/packet-pw-common.c
1026         dissectors/packet-pw-eth.c
1027         dissectors/packet-pw-fr.c
1028         dissectors/packet-pw-hdlc.c
1029         dissectors/packet-pw-oam.c
1030         dissectors/packet-pw-satop.c
1031         dissectors/packet-q2931.c
1032         dissectors/packet-q708.c
1033         dissectors/packet-q931.c
1034         dissectors/packet-q933.c
1035         dissectors/packet-qllc.c
1036         dissectors/packet-quake.c
1037         dissectors/packet-quake2.c
1038         dissectors/packet-quake3.c
1039         dissectors/packet-quakeworld.c
1040         dissectors/packet-radius.c
1041         dissectors/packet-radius_packetcable.c
1042         dissectors/packet-raw.c
1043         dissectors/packet-rdm.c
1044         dissectors/packet-rdp.c
1045         dissectors/packet-rdt.c
1046         dissectors/packet-redback.c
1047         dissectors/packet-redbackli.c
1048         dissectors/packet-reload-framing.c
1049         dissectors/packet-reload.c
1050         dissectors/packet-retix-bpdu.c
1051         dissectors/packet-rfc2190.c
1052         dissectors/packet-rfid-felica.c
1053         dissectors/packet-rfid-mifare.c
1054         dissectors/packet-rfid-pn532.c
1055         dissectors/packet-rgmp.c
1056         dissectors/packet-rip.c
1057         dissectors/packet-ripng.c
1058         dissectors/packet-rlc-lte.c
1059         dissectors/packet-rlc.c
1060         dissectors/packet-rlm.c
1061         dissectors/packet-rlogin.c
1062         dissectors/packet-rmcp.c
1063         dissectors/packet-rmi.c
1064         dissectors/packet-rmp.c
1065         dissectors/packet-rmt-alc.c
1066         dissectors/packet-rmt-common.c
1067         dissectors/packet-rmt-fec.c
1068         dissectors/packet-rmt-lct.c
1069         dissectors/packet-rmt-norm.c
1070         dissectors/packet-rohc.c
1071         dissectors/packet-roofnet.c
1072         dissectors/packet-rpc.c
1073         dissectors/packet-rpcap.c
1074         dissectors/packet-rpl.c
1075         dissectors/packet-rquota.c
1076         dissectors/packet-rsh.c
1077         dissectors/packet-rsip.c
1078         dissectors/packet-rsl.c
1079         dissectors/packet-rstat.c
1080         dissectors/packet-rsvp.c
1081         dissectors/packet-rsync.c
1082         dissectors/packet-rtcdc.c
1083         dissectors/packet-rtcp.c
1084         dissectors/packet-rtmpt.c
1085         dissectors/packet-rtnet.c
1086         dissectors/packet-rtp-events.c
1087         dissectors/packet-rtp-midi.c
1088         dissectors/packet-rtp.c
1089         dissectors/packet-rtps.c
1090         dissectors/packet-rtsp.c
1091         dissectors/packet-rudp.c
1092         dissectors/packet-rwall.c
1093         dissectors/packet-rx.c
1094         dissectors/packet-s5066.c
1095         dissectors/packet-sadmind.c
1096         dissectors/packet-sametime.c
1097         dissectors/packet-sap.c
1098         dissectors/packet-sasp.c
1099         dissectors/packet-sbus.c
1100         dissectors/packet-sbc.c
1101         dissectors/packet-sccp.c
1102         dissectors/packet-sccpmg.c
1103         dissectors/packet-scop.c
1104         dissectors/packet-scriptingservice.c
1105         dissectors/packet-scsi-mmc.c
1106         dissectors/packet-scsi-osd.c
1107         dissectors/packet-scsi-sbc.c
1108         dissectors/packet-scsi-smc.c
1109         dissectors/packet-scsi-ssc.c
1110         dissectors/packet-scsi.c
1111         dissectors/packet-sctp.c
1112         dissectors/packet-sdh.c
1113         dissectors/packet-sdlc.c
1114         dissectors/packet-sdp.c
1115         dissectors/packet-sebek.c
1116         dissectors/packet-selfm.c
1117         dissectors/packet-sercosiii.c
1118         dissectors/packet-ses.c
1119         dissectors/packet-sflow.c
1120         dissectors/packet-sgsap.c
1121         dissectors/packet-sigcomp.c
1122         dissectors/packet-simulcrypt.c
1123         dissectors/packet-sip.c
1124         dissectors/packet-sipfrag.c
1125         dissectors/packet-sita.c
1126         dissectors/packet-skinny.c
1127         dissectors/packet-skype.c
1128         dissectors/packet-slimp3.c
1129         dissectors/packet-sll.c
1130         dissectors/packet-slowprotocols.c
1131         dissectors/packet-slsk.c
1132         dissectors/packet-smb-browse.c
1133         dissectors/packet-smb-common.c
1134         dissectors/packet-smb-logon.c
1135         dissectors/packet-smb-mailslot.c
1136         dissectors/packet-smb-pipe.c
1137         dissectors/packet-smb-sidsnooping.c
1138         dissectors/packet-smb.c
1139         dissectors/packet-smb2.c
1140         dissectors/packet-sml.c
1141         dissectors/packet-smpp.c
1142         dissectors/packet-smtp.c
1143         dissectors/packet-sna.c
1144         dissectors/packet-snaeth.c
1145         dissectors/packet-sndcp-xid.c
1146         dissectors/packet-sndcp.c
1147         dissectors/packet-socketcan.c
1148         dissectors/packet-socks.c
1149         dissectors/packet-soupbintcp.c
1150         dissectors/packet-spice.c
1151         dissectors/packet-spp.c
1152         dissectors/packet-spray.c
1153         dissectors/packet-sprt.c
1154         dissectors/packet-srp.c
1155         dissectors/packet-srvloc.c
1156         dissectors/packet-sscf-nni.c
1157         dissectors/packet-sscop.c
1158         dissectors/packet-ssh.c
1159         dissectors/packet-ssl-utils.c
1160         dissectors/packet-ssl.c
1161         dissectors/packet-starteam.c
1162         dissectors/packet-stat-notify.c
1163         dissectors/packet-stat.c
1164         dissectors/packet-stun.c
1165         dissectors/packet-sua.c
1166         dissectors/packet-symantec.c
1167         dissectors/packet-sync.c
1168         dissectors/packet-synergy.c
1169         dissectors/packet-synphasor.c
1170         dissectors/packet-syslog.c
1171         dissectors/packet-t30.c
1172         dissectors/packet-tacacs.c
1173         dissectors/packet-tali.c
1174         dissectors/packet-tapa.c
1175         dissectors/packet-tcp.c
1176         dissectors/packet-tdmoe.c
1177         dissectors/packet-tds.c
1178         dissectors/packet-teamspeak2.c
1179         dissectors/packet-teimanagement.c
1180         dissectors/packet-teklink.c
1181         dissectors/packet-telkonet.c
1182         dissectors/packet-telnet.c
1183         dissectors/packet-teredo.c
1184         dissectors/packet-text-media.c
1185         dissectors/packet-tftp.c
1186         dissectors/packet-time.c
1187         dissectors/packet-tipc.c
1188         dissectors/packet-tivoconnect.c
1189         dissectors/packet-tn3270.c
1190         dissectors/packet-tn5250.c
1191         dissectors/packet-tnef.c
1192         dissectors/packet-tns.c
1193         dissectors/packet-tpkt.c
1194         dissectors/packet-tpncp.c
1195         dissectors/packet-tr.c
1196         dissectors/packet-trill.c
1197         dissectors/packet-trmac.c
1198         dissectors/packet-tsp.c
1199         dissectors/packet-tte-pcf.c
1200         dissectors/packet-tte.c
1201         dissectors/packet-turbocell.c
1202         dissectors/packet-turnchannel.c
1203         dissectors/packet-tuxedo.c
1204         dissectors/packet-tzsp.c
1205         dissectors/packet-ua.c
1206         dissectors/packet-ua3g.c
1207         dissectors/packet-uasip.c
1208         dissectors/packet-uaudp.c
1209         dissectors/packet-ucp.c
1210         dissectors/packet-udld.c
1211         dissectors/packet-udp.c
1212         dissectors/packet-uhd.c
1213         dissectors/packet-uma.c
1214         dissectors/packet-umts_fp.c
1215         dissectors/packet-umts_mac.c
1216         dissectors/packet-usb-audio.c
1217         dissectors/packet-usb-ccid.c
1218         dissectors/packet-usb-hid.c
1219         dissectors/packet-usb-hub.c
1220         dissectors/packet-usb-masstorage.c
1221         dissectors/packet-usb-video.c
1222         dissectors/packet-usb.c
1223         dissectors/packet-user_encap.c
1224         dissectors/packet-uts.c
1225         dissectors/packet-v120.c
1226         dissectors/packet-v150fw.c
1227         dissectors/packet-v52.c
1228         dissectors/packet-v5dl.c
1229         dissectors/packet-v5ef.c
1230         dissectors/packet-v5ua.c
1231         dissectors/packet-vcdu.c
1232         dissectors/packet-vicp.c
1233         dissectors/packet-vines.c
1234         dissectors/packet-vj.c
1235         dissectors/packet-vlan.c
1236         dissectors/packet-vmlab.c
1237         dissectors/packet-vnc.c
1238         dissectors/packet-vntag.c
1239         dissectors/packet-vrrp.c
1240         dissectors/packet-vrt.c
1241         dissectors/packet-vssmonitoring.c
1242         dissectors/packet-vtp.c
1243         dissectors/packet-vuze-dht.c
1244         dissectors/packet-vxi11.c
1245         dissectors/packet-vxlan.c
1246         dissectors/packet-wai.c
1247         dissectors/packet-wap.c
1248         dissectors/packet-wassp.c
1249         dissectors/packet-waveagent.c
1250         dissectors/packet-wbxml.c
1251         dissectors/packet-wccp.c
1252         dissectors/packet-wcp.c
1253         dissectors/packet-websocket.c
1254         dissectors/packet-wfleet-hdlc.c
1255         dissectors/packet-who.c
1256         dissectors/packet-wifi-p2p.c
1257         dissectors/packet-windows-common.c
1258         dissectors/packet-winsrepl.c
1259         dissectors/packet-wlccp.c
1260         dissectors/packet-wol.c
1261         dissectors/packet-wow.c
1262         dissectors/packet-wps.c
1263         dissectors/packet-wreth.c
1264         dissectors/packet-wsmp.c
1265         dissectors/packet-wsp.c
1266         dissectors/packet-wtls.c
1267         dissectors/packet-wtp.c
1268         dissectors/packet-x25.c
1269         dissectors/packet-x29.c
1270         dissectors/packet-xcsl.c
1271         dissectors/packet-xdmcp.c
1272         dissectors/packet-xmcp.c
1273         dissectors/packet-xml.c
1274         dissectors/packet-xmpp-conference.c
1275         dissectors/packet-xmpp-core.c
1276         dissectors/packet-xmpp-gtalk.c
1277         dissectors/packet-xmpp-jingle.c
1278         dissectors/packet-xmpp-other.c
1279         dissectors/packet-xmpp-utils.c
1280         dissectors/packet-xmpp.c
1281         dissectors/packet-xot.c
1282         dissectors/packet-xtp.c
1283         dissectors/packet-xyplex.c
1284         dissectors/packet-yami.c
1285         dissectors/packet-yhoo.c
1286         dissectors/packet-ymsg.c
1287         dissectors/packet-ypbind.c
1288         dissectors/packet-yppasswd.c
1289         dissectors/packet-ypserv.c
1290         dissectors/packet-ypxfr.c
1291         dissectors/packet-zbee-aps.c
1292         dissectors/packet-zbee-nwk.c
1293         dissectors/packet-zbee-security.c
1294         dissectors/packet-zbee-zcl.c
1295         dissectors/packet-zbee-zdp-binding.c
1296         dissectors/packet-zbee-zdp-discovery.c
1297         dissectors/packet-zbee-zdp-management.c
1298         dissectors/packet-zbee-zdp.c
1299         dissectors/packet-zebra.c
1300         dissectors/packet-zep.c
1301         dissectors/packet-ziop.c
1302         dissectors/packet-zrtp.c
1303 )
1304
1305 set(DIRTY_DISSECTOR_SRC
1306         dissectors/packet-gsm_a_common.c
1307         dissectors/packet-x11.c
1308 )
1309
1310 # IPMI sub-parsers for each network function code
1311 set(IPMI_SUBPARSERS
1312         dissectors/packet-ipmi-app.c
1313         dissectors/packet-ipmi-bridge.c
1314         dissectors/packet-ipmi-chassis.c
1315         dissectors/packet-ipmi-picmg.c
1316         dissectors/packet-ipmi-se.c
1317         dissectors/packet-ipmi-storage.c
1318         dissectors/packet-ipmi-transport.c
1319         dissectors/packet-ipmi-pps.c
1320         dissectors/packet-ipmi-update.c
1321 )
1322
1323 set(DISSECTOR_SUPPORT_SRC
1324         ${IPMI_SUBPARSERS}
1325         dissectors/packet-dcerpc-nt.c
1326         dissectors/usb.c
1327         register.c
1328 )
1329
1330 set(LIBWIRESHARK_ASM_FILES
1331         asm_utils.c
1332 # todo
1333 #       !IFDEF NASM
1334 #       asm_utils_win32_x86.obj: asm_utils_win32_x86.asm
1335 #               $(NASM) -f $(WIRESHARK_TARGET_PLATFORM) -o $@ $?
1336 #       !ENDIF
1337 #       ...
1338 #       !IF defined(NASM) && "$(WIRESHARK_TARGET_PLATFORM)" == "win32"
1339 #               asm_utils_win32_x86.obj
1340 #       !ELSE
1341 #               asm_utils.obj
1342 #       !ENDIF
1343 )
1344
1345 set(DISSECTOR_FILES
1346         ${DISSECTOR_SRC}
1347         ${DIRTY_DISSECTOR_SRC}
1348         ${PIDL_DISSECTOR_SRC}
1349         ${PIDL_DISSECTOR_AUTOGEN_SRC}
1350         ${DIRTY_PIDL_DISSECTOR_SRC}
1351         ${ASN1_DISSECTOR_SRC}
1352         ${DIRTY_ASN1_DISSECTOR_SRC}
1353 )
1354
1355 register_dissector_files(register.c
1356         dissectors
1357         ${DISSECTOR_FILES}
1358 )
1359
1360 set(FTYPE_FILES
1361         ftypes/ftypes.c
1362         ftypes/ftype-bytes.c
1363         ftypes/ftype-double.c
1364         ftypes/ftype-integer.c
1365         ftypes/ftype-ipv4.c
1366         ftypes/ftype-ipv6.c
1367         ftypes/ftype-guid.c
1368         ftypes/ftype-none.c
1369         ftypes/ftype-pcre.c
1370         ftypes/ftype-string.c
1371         ftypes/ftype-time.c
1372         ftypes/ftype-tvbuff.c
1373 )
1374
1375 set(WMEM_FILES
1376         wmem/wmem_core.c
1377         wmem/wmem_allocator_block.c
1378         wmem/wmem_allocator_simple.c
1379         wmem/wmem_allocator_strict.c
1380         wmem/wmem_scopes.c
1381         wmem/wmem_slist.c
1382         wmem/wmem_stack.c
1383         wmem/wmem_strbuf.c
1384         wmem/wmem_strutl.c
1385         wmem/wmem_user_cb.c
1386 )
1387
1388 ADD_CUSTOM_COMMAND(
1389     OUTPUT
1390       sminmpec.c
1391     COMMAND ${PERL_EXECUTABLE}
1392       ${CMAKE_SOURCE_DIR}/tools/make-sminmpec.pl
1393       ${CMAKE_CURRENT_SOURCE_DIR}/enterprise-numbers
1394       sminmpec.c
1395     DEPENDS
1396       enterprise-numbers
1397       ${CMAKE_SOURCE_DIR}/tools/make-sminmpec.pl
1398 )
1399
1400 set(LIBWIRESHARK_FILES
1401         addr_and_mask.c
1402         addr_resolv.c
1403         address_to_str.c
1404         adler32.c
1405         afn.c
1406         asn1.c
1407         atalk-utils.c
1408         base64.c
1409         bitswap.c
1410         camel-persistentdata.c
1411         charsets.c
1412         circuit.c
1413         codecs.c
1414         column.c
1415         column-utils.c
1416         conversation.c
1417         crc16-tvb.c
1418         crc32-tvb.c
1419         crc8-tvb.c
1420         dissector_filters.c
1421         emem.c
1422         epan.c
1423         ex-opt.c
1424         except.c
1425         expert.c
1426         exported_pdu.c
1427         filesystem.c
1428         filter_expressions.c
1429         follow.c
1430         frame_data.c
1431         frequency-utils.c
1432         funnel.c
1433         gcp.c
1434         geoip_db.c
1435         golay.c
1436         guid-utils.c
1437         h225-persistentdata.c
1438         in_cksum.c
1439         ipproto.c
1440         ipv4.c
1441         next_tvb.c
1442         nstime.c
1443         oids.c
1444         osi-utils.c
1445         packet.c
1446         plugins.c
1447         prefs.c
1448         proto.c
1449         range.c
1450         reassemble.c
1451         reedsolomon.c
1452         report_err.c
1453         req_resp_hdrs.c
1454         show_exception.c
1455         sigcomp_state_hdlr.c
1456         sigcomp-udvm.c
1457         sminmpec.c
1458         sna-utils.c
1459         stat_cmd_args.c
1460         stats_tree.c
1461         strutil.c
1462         stream.c
1463         t35.c
1464         tap.c
1465         tcap-persistentdata.c
1466         timestamp.c
1467         tfs.c
1468         to_str.c
1469         tvbparse.c
1470         tvbuff.c
1471         uat.c
1472         value_string.c
1473         xdlc.c
1474 )
1475
1476 set(LIBWIRESHARK_CLEAN_FILES
1477         ${LIBWIRESHARK_FILES}
1478 )
1479
1480 add_lex_files(LIBWIRESHARK_FILES
1481         diam_dict.l
1482         dtd_parse.l
1483         dtd_preparse.l
1484         radius_dict.l
1485         uat_load.l
1486 )
1487
1488 add_lemon_files(LIBWIRESHARK_FILES
1489         dtd_grammar.lemon
1490 )
1491
1492 set(epan_LIBS
1493         wiretap
1494         wsutil
1495 #       @SSL_LIBS@
1496         ${GLIB2_LIBRARIES}
1497         ${PCAP_LIBRARIES}
1498 #       @SOCKET_LIBS@
1499 #       @NSL_LIBS@
1500         ${CARES_LIBRARIES}
1501         ${ADNS_LIBRARIES}
1502         ${KERBEROS_LIBRARIES}
1503 #       @FRAMEWORKS@
1504         ${GEOIP_LIBRARIES}
1505         ${GCRYPT_LIBRARIES}
1506         ${GNUTLS_LIBRARIES}
1507         ${SMI_LIBRARIES}
1508         ${M_LIBRARIES}
1509         ${LUA_LIBRARIES}
1510         ${PYTHON_LIBRARIES}
1511 )
1512
1513 set(CLEAN_FILES
1514         # Needed to trigger build of the include files for x11
1515         #x11-declarations.h
1516         #x11-register-info.h
1517         ${LIBWIRESHARK_CLEAN_FILES}
1518         ${CRYPT_FILES}
1519         ${DFILTER_CLEAN_FILES}
1520         ${FTYPE_FILES}
1521         # ${DISSECTOR_FILES} contains dirty files
1522         ${DISSECTOR_SRC}
1523         ${PIDL_DISSECTOR_SRC}
1524         ${ASN1_DISSECTOR_SRC}
1525         # ${DISSECTOR_FILES } end
1526         ${DISSECTOR_SUPPORT_SRC}
1527         ${LIBWIRESHARK_ASM_FILES}
1528         ${WMEM_FILES}
1529         ${WSLUA_FILES}
1530         ${WSPYTHON_FILES}
1531 )
1532
1533 if (WERROR)
1534     set_source_files_properties(
1535         ${CLEAN_FILES}
1536         PROPERTIES
1537         COMPILE_FLAGS -Werror
1538     )
1539 endif()
1540
1541 add_library(epan ${LINK_MODE_LIB}
1542         # Needed to trigger build of the include files for x11
1543         #x11-declarations.h
1544         #x11-register-info.h
1545         ${LIBWIRESHARK_FILES}
1546         ${CRYPT_FILES}
1547         ${DFILTER_FILES}
1548         ${FTYPE_FILES}
1549         ${WMEM_FILES}
1550         ${WSLUA_FILES}
1551         ${WSPYTHON_FILES}
1552         ${DISSECTOR_FILES}
1553         ${DISSECTOR_SUPPORT_SRC}
1554         ${LIBWIRESHARK_ASM_FILES}
1555 )
1556
1557 add_dependencies(epan svnversion)
1558
1559 set(FULL_SO_VERSION "0.0.0")
1560
1561 set_target_properties(epan PROPERTIES COMPILE_DEFINITIONS "WS_BUILD_DLL")
1562 set_target_properties(epan PROPERTIES LINK_FLAGS "${WS_LINK_FLAGS}")
1563 set_target_properties(epan PROPERTIES VERSION ${FULL_SO_VERSION} SOVERSION 0)
1564
1565 # discover and substitute list of include directories for ABI compatibility
1566 # checks
1567 get_directory_property(INCLUDE_DIRS INCLUDE_DIRECTORIES)
1568 list(REMOVE_DUPLICATES INCLUDE_DIRS)
1569 string(REGEX REPLACE ";" "\n" INCLUDE_DIRS "${INCLUDE_DIRS}")
1570 configure_file(../abi-descriptor.template abi-descriptor.xml)
1571
1572 # ABI compliance checker can be obtained from
1573 # http://ispras.linux-foundation.org/index.php/ABI_compliance_checker
1574 # Checked using version 1.21.12
1575 file(GLOB EPAN_HEADERS *.h)
1576 file(GLOB CRYPT_HEADERS crypt/*.h)
1577 file(GLOB DFILTER_HEADERS dfilter/*.h ../tools/lemon/cppmagic.h)
1578 file(GLOB D_HEADERS dissectors/*.h)
1579 file(GLOB FTYPES_HEADERS ftypes/*.h)
1580 file(GLOB WMEM_HEADERS wmem/*.h)
1581 file(MAKE_DIRECTORY ${CMAKE_CURRENT_BINARY_DIR}/abi-check-headers
1582         ${CMAKE_CURRENT_BINARY_DIR}/abi-check-headers/epan
1583         ${CMAKE_CURRENT_BINARY_DIR}/abi-check-headers/crypt
1584         ${CMAKE_CURRENT_BINARY_DIR}/abi-check-headers/dfilter
1585         ${CMAKE_CURRENT_BINARY_DIR}/abi-check-headers/dissectors
1586         ${CMAKE_CURRENT_BINARY_DIR}/abi-check-headers/ftypes
1587         ${CMAKE_CURRENT_BINARY_DIR}/abi-check-headers/wmem)
1588
1589 file(COPY ../color.h ../register.h ../ws_symbol_export.h DESTINATION abi-check-headers)
1590 file(COPY ${EPAN_HEADERS} DESTINATION abi-check-headers/epan)
1591 file(COPY ${CRYPT_HEADERS} DESTINATION abi-check-headers/crypt)
1592 file(COPY ${DFILTER_HEADERS} DESTINATION abi-check-headers/dfilter)
1593 file(COPY ${D_HEADERS} DESTINATION abi-check-headers/dissectors)
1594 file(COPY ${FTYPES_HEADERS} DESTINATION abi-check-headers/ftypes)
1595 file(COPY ${WMEM_HEADERS} DESTINATION abi-check-headers/wmem)
1596
1597 add_custom_command(OUTPUT libwireshark.abi.tar.gz
1598         COMMAND cp ../config.h abi-check-headers
1599         COMMAND rm abi-check-headers/dissectors/x11-extension-implementation.h
1600                 abi-check-headers/dissectors/packet-rtps.h
1601                 abi-check-headers/dissectors/x11-glx-render-enum.h
1602                 abi-check-headers/dissectors/x11-register-info.h
1603                 abi-check-headers/dissectors/packet-idmp.h
1604         COMMAND abi-compliance-checker -l libwireshark -v1 ${FULL_SO_VERSION}
1605                 -relpath ${CMAKE_CURRENT_BINARY_DIR} -dump-abi abi-descriptor.xml
1606                 || cat logs/libwireshark/[0-9]*/log.txt
1607         COMMAND cp abi_dumps/libwireshark/libwireshark_* libwireshark.abi.tar.gz
1608         COMMAND rm -rf abi_dumps abi-check-headers/config.h
1609                 abi-check-headers/epan/* abi-check-headers/crypt/*
1610                 abi-check-headers/dfilter/* abi-check-headers/dissectors/*
1611                 abi-check-headers/ftypes/* abi-check-headers/wmem/*
1612         DEPENDS ${EPAN_HEADERS}
1613                 ${CRYPT_HEADERS} ${DFILTER_HEADERS} ${D_HEADERS}
1614                 ${FTYPES_HEADERS} ${WMEM_HEADERS} epan)
1615 add_custom_target(dumpabi-libwireshark DEPENDS libwireshark.abi.tar.gz)
1616
1617 # By default the name for a library with target name epan will be libepan,
1618 # but Ethereal is now named Wireshark
1619 SET_TARGET_PROPERTIES(epan PROPERTIES OUTPUT_NAME "wireshark")
1620
1621 target_link_libraries(epan ${epan_LIBS})
1622
1623 add_dependencies(epan lemon)
1624
1625 if(NOT ${ENABLE_STATIC})
1626         install(TARGETS epan
1627                 LIBRARY DESTINATION lib
1628                 RUNTIME DESTINATION lib
1629                 ARCHIVE DESTINATION lib
1630         )
1631 endif()
1632
1633 #
1634 # Editor modelines  -  http://www.wireshark.org/tools/modelines.html
1635 #
1636 # Local variables:
1637 # c-basic-offset: 8
1638 # tab-width: 8
1639 # indent-tabs-mode: t
1640 # End:
1641 #
1642 # vi: set shiftwidth=8 tabstop=8 noexpandtab:
1643 # :indentSize=8:tabSize=8:noTabs=false:
1644 #