Commit Graph

11 Commits

Author SHA1 Message Date
Anders Broman 348e0de9d3 ieee1609dot2: Add media type dissection.
Change-Id: Iaa6979535c120402957510bc7d89df3e9d83b15a
Reviewed-on: https://code.wireshark.org/review/33130
Petri-Dish: Anders Broman <a.broman58@gmail.com>
Tested-by: Petri Dish Buildbot
Reviewed-by: Anders Broman <a.broman58@gmail.com>
2019-05-09 12:37:46 +00:00
Anders Broman d90806a9b4 IEEE1609dot2: Use GUINT_TO_POINTER/GPOINTER_TO_UINT to store a guint32
This should be changed so that ieee1609dot2 is called with a struct as
data containing the psid. If needed it can be stored in actx->private
data.

Change-Id: Iccef08a93fd090eb586401b2999684eee2afb382
Reviewed-on: https://code.wireshark.org/review/31775
Petri-Dish: Anders Broman <a.broman58@gmail.com>
Tested-by: Petri Dish Buildbot
Reviewed-by: Anders Broman <a.broman58@gmail.com>
2019-01-28 15:24:54 +00:00
Alexis La Goutte 32b320ba0f ieee1609dot2: remove unused handoff function
Change-Id: I9c3a6098e2a54d281228689cdbbbbf78604b2750
Reviewed-on: https://code.wireshark.org/review/31422
Petri-Dish: Alexis La Goutte <alexis.lagoutte@gmail.com>
Tested-by: Petri Dish Buildbot
Reviewed-by: Michael Mann <mmann78@netscape.net>
2019-01-08 01:53:17 +00:00
Christophe GUERBER f45fd81616 IEEE1609.2: Allow Service Specific Permissions dissection
IEEE1609 and GeoNetworking secured packets containing certificate
contain Service Specific Permission items that was not dissected.

This patch allows dissection of SSP both in IEEE1609dot2 dissector and
in the geonetworking dissector.

It also provides SSP dissectors for ETSI DEN and CA basic services.

Change-Id: Ic5efe403f7c4337c7e51a4eab9a9d674d2fe1cf6
Reviewed-on: https://code.wireshark.org/review/31303
Petri-Dish: Alexis La Goutte <alexis.lagoutte@gmail.com>
Tested-by: Petri Dish Buildbot
Reviewed-by: Anders Broman <a.broman58@gmail.com>
2019-01-02 20:51:05 +00:00
Christophe GUERBER e9cf698512 Use dissector table to dissect content of ieee1609
For unsecured and signed data, the dissector uses a dissector table to
determine the next dissector. It uses the psId field to index the table.

In the case no psId is provided inside, the caller can set a default
psid if it is provided beforehand. If none is provided, data are not
dissected.

Change-Id: I6f9d6989cd87dd373a155a5b893c460344a0c857
Reviewed-on: https://code.wireshark.org/review/31237
Petri-Dish: Michael Mann <mmann78@netscape.net>
Tested-by: Petri Dish Buildbot
Reviewed-by: Anders Broman <a.broman58@gmail.com>
2019-01-01 18:37:38 +00:00
Christophe GUERBER 19c5a005f1 Export ITS-AppId/psId names from IEEE1609
PsId and ITS-AID are defined in several documents and listed in
ieee1609.12. Put these definitions in ieee1609.2 ASN1 definition and
export it so that GeoNetworking and wsmp dissectors may use it.

Change-Id: Ia3ac181a4c9092b555decb3ee7c5e78adcece5c0
Reviewed-on: https://code.wireshark.org/review/31236
Petri-Dish: Anders Broman <a.broman58@gmail.com>
Tested-by: Petri Dish Buildbot
Reviewed-by: Anders Broman <a.broman58@gmail.com>
2018-12-31 14:25:14 +00:00
Alexis La Goutte 34eb1d37d3 ieee1609dot2: fix no previous prototype for function 'proto_register_ieee1609dot2' [-Wmissing-prototypes]
Change-Id: I977639e9623445ae9683689a1564e294ab15589c
Reviewed-on: https://code.wireshark.org/review/31197
Reviewed-by: Anders Broman <a.broman58@gmail.com>
2018-12-25 21:26:11 +00:00
Anders Broman 844153305d ieee1609dot2: Call the j2735 dissector if it exists.
Change-Id: I80155d67e88f4f31ea688ed27d8eb5ab122a65e4
Reviewed-on: https://code.wireshark.org/review/30762
Petri-Dish: Anders Broman <a.broman58@gmail.com>
Tested-by: Petri Dish Buildbot
Reviewed-by: Anders Broman <a.broman58@gmail.com>
2018-11-22 17:20:58 +00:00
Anders Broman 4184e38ab2 IEEE 1609.2: Fix up boiler plate code and prepare calling next dissector.
Change-Id: I9ada85a3371e91f26a563906b37790f6c66dde42
Reviewed-on: https://code.wireshark.org/review/30444
Petri-Dish: Anders Broman <a.broman58@gmail.com>
Tested-by: Petri Dish Buildbot
Reviewed-by: Anders Broman <a.broman58@gmail.com>
2018-10-31 15:29:56 +00:00
Pascal Quantin eb5bfcf144 IEEE1609dot2: generate automatically dissector from ASN.1 description
Add basic OER support to asn2wrs.py. There is still work required as we
miss many basic functions in packet-oer.c file.

Change-Id: I3ebebdb2e9b0c90eb1dfa8885cebbb077b16f246
Reviewed-on: https://code.wireshark.org/review/30434
Petri-Dish: Pascal Quantin <pascal.quantin@gmail.com>
Tested-by: Petri Dish Buildbot
Reviewed-by: Anders Broman <a.broman58@gmail.com>
2018-10-30 15:33:44 +00:00
Peter Wu cf6d054ad8 ieee1609dot2: fix asn build on case-sensitive filesystems
Change-Id: Ic7e584468ded5aa4be80de6afa2e40d95ebf1410
Fixes: v2.9.0rc0-2241-gf8022a5502 ("IEEE 1609: Make sure our build target name is lower case.")
Reviewed-on: https://code.wireshark.org/review/30256
Reviewed-by: Peter Wu <peter@lekensteyn.nl>
2018-10-18 21:09:06 +00:00