Age | Commit message (Collapse) | Author | Files | Lines |
|
|
|
|
|
|
|
Use the PREF_DISSECTOR preference type in exported_pdu, nas_eps
and nas_5gs for dissector name.
|
|
Remove init of proto, header field, expert info and subtree variables.
This will reduces the binary size by approximate 1266320 bytes due to
using .bss to zero-initialize the fields.
The conversion is done using the tools/convert-proto-init.py script.
|
|
Manually remove init of hf and ett variable arrays because this
cannot be easily done using the convert script.
|
|
|
|
ENC_BCD_DIGITS_0_9 and other encodings for packed BCD values are
hard-wired to little endian for multi-byte fields.
Some dissectors like zvt work around this by calling tvb_get_bcd_string
and proto_tree_add_string. The mdb protocol is also using multi-byte
packed BCD fields in big-endian order.
This patch allows setting ENC_BIG_ENDIAN or ENC_LITTLE_ENDIAN in
combination with the BCD encodings. Unfortunately, we have to default to
big endian and fix up all existing users.
|
|
Use "nas-eps" for both protocol filter name and field filter names.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Fix typo in dissect_nas_eps_esm_msg().
|
|
Use macros from inttypes.h with format strings.
|
|
These display bases work to replace unprintable characters so the
name is a misnomer. In addition they are the same option and this
display behaviour is not something that is configurable.
This does not affect encodings because all our internal text strings
need to be valid UTF-8 and the source encoding is specified using
ENC_*.
Remove the assertion for valid UTF-8 in proto.c because
tvb_get_*_string() must return a valid UTF-8 string, always, and we
don't need to assert that, it is expensive.
|
|
Automated find/replace of wmem_packet_scope() with pinfo->pool in all
files where it didn't cause a build failure.
I also tweaked a few of the docs which got caught up.
|
|
|
|
Decoded user data as IP or Ethernet belongs in the top tree.
|
|
No contentious cases in this batch.
|
|
Do not use FT_IPV6 as an interface identifier could be wrongly identified
as an IPv4-Compatible IPv6 Address format by inet_ntop() and displayed
as such.
|
|
From ./tools/check_tfs.py
epan/dissectors/packet-nas_eps.c emm_applicable_not_applicable - could have used tfs_applicable_not_applicable from tfs.c instead: {"Applicable", "Not Applicable"} (capitalisation differs)
|
|
|
|
|
|
- Ciphering key data
- Control plane service type
- MICO indication
- MA PDU session information
- Mapped NSSAI
- Mobile station classmark 2
- Supported codecs
- Payload container
- Payload container type
- Rejected NSSAI
- Release assistance indication
- Request type
- UE radio capability ID deletion indication
- Truncated 5G-S-TMSI configuration
- WUS assistance information
- NB-N1 mode DRX parameters
- Additional configuration indication
|
|
|
|
|
|
It has been replaced by the 15 bearers capability during R15 development
|
|
It can be useful to track a "call" trough multiple protocols to make
that easier create a cross protocol filter, more may come.
|
|
Add an encoding for "unpacked" 3GPP TS 23.038 7-bit strings, in which
each code position is in a byte of its own, rather than with the code
positions packed into 7 bits. Rename the packed encoding to explicitly
indicate that it's packed.
Add an encoding for ETSI TS 102 221 Annex A strings.
Use the new encodings.
|
|
Closes #16870
|
|
The static arrays are supposed to be arrays of const pointers to int,
not arrays of non-const pointers to const int.
Fixing that means some bugs (scribbling on what's *supposed* to be a
const array) will be caught (see packet-ieee80211-radiotap.c for
examples, the first of which inspired this change and the second of
which was discovered while testing compiles with this change), and
removes the need for some annoying casts.
Also make some of those arrays static while we're at it.
Update documentation and dissector-generator tools.
Change-Id: I789da5fc60aadc15797cefecfd9a9fbe9a130ccc
Reviewed-on: https://code.wireshark.org/review/37517
Petri-Dish: Guy Harris <gharris@sonic.net>
Tested-by: Petri Dish Buildbot
Reviewed-by: Anders Broman <a.broman58@gmail.com>
|
|
Add some ENC_ values for various flavors of packed BCD, and use that
instead of explicitly calling tvb_bcd_dig_to_wmem_packet_str() and
adding the result.
Change-Id: I07511d9d09c9231b610c121cd6ffb3b16fb017a9
Reviewed-on: https://code.wireshark.org/review/36952
Reviewed-by: Guy Harris <gharris@sonic.net>
|
|
Change-Id: Ia116f2537e4ecec49013ffa4e3243b682fa9475f
Reviewed-on: https://code.wireshark.org/review/36737
Petri-Dish: Pascal Quantin <pascal@wireshark.org>
Tested-by: Petri Dish Buildbot
Reviewed-by: Pascal Quantin <pascal@wireshark.org>
|
|
Change-Id: Ia82085f94a1de7eeea4cecdbc8f060302ae18ed5
Reviewed-on: https://code.wireshark.org/review/36732
Petri-Dish: Anders Broman <a.broman58@gmail.com>
Tested-by: Petri Dish Buildbot
Reviewed-by: Anders Broman <a.broman58@gmail.com>
|
|
Change-Id: I91714384688a554cbca82a0ae887e18f6304e0c1
Reviewed-on: https://code.wireshark.org/review/36379
Petri-Dish: Anders Broman <a.broman58@gmail.com>
Tested-by: Petri Dish Buildbot
Reviewed-by: Anders Broman <a.broman58@gmail.com>
|
|
Change-Id: I79016ef7791ee7d535861222168e3e2f244ef6f4
Reviewed-on: https://code.wireshark.org/review/36075
Petri-Dish: Anders Broman <a.broman58@gmail.com>
Tested-by: Petri Dish Buildbot
Reviewed-by: Anders Broman <a.broman58@gmail.com>
|
|
A preference allows the user to decide whether the user data container
payload should be dissected as IP, non IP or not dissected. For non IP,
another preference allows to specify the name of the sub dissector to be
called.
Bug: 16332
Change-Id: I1bfd24eb734d57bff54d99362a90f563751270c6
Reviewed-on: https://code.wireshark.org/review/35857
Reviewed-by: Pascal Quantin <pascal@wireshark.org>
Petri-Dish: Pascal Quantin <pascal@wireshark.org>
Tested-by: Petri Dish Buildbot
Reviewed-by: Anders Broman <a.broman58@gmail.com>
|
|
Change-Id: Iedcc6480e1cd0cf2dc0461affd41fffb29daac08
Reviewed-on: https://code.wireshark.org/review/34616
Petri-Dish: Pascal Quantin <pascal@wireshark.org>
Tested-by: Petri Dish Buildbot
Reviewed-by: Pascal Quantin <pascal@wireshark.org>
|
|
Change-Id: If5b7992c245db5e936ed1478640e11399b69fc04
Reviewed-on: https://code.wireshark.org/review/34610
Petri-Dish: Anders Broman <a.broman58@gmail.com>
Tested-by: Petri Dish Buildbot
Reviewed-by: Anders Broman <a.broman58@gmail.com>
|
|
error: variable ‘handle’ might be clobbered by ‘longjmp’ or ‘vfork’ [-Werror=clobbered]
Change-Id: I2c08b9f34171dfb9fc31b1651d1e66a268274b6d
Reviewed-on: https://code.wireshark.org/review/33335
Petri-Dish: Pascal Quantin <pascal@wireshark.org>
Tested-by: Petri Dish Buildbot
Reviewed-by: Pascal Quantin <pascal@wireshark.org>
|
|
This way if we try to decode non IP data as IP (due to preference
setting), this does not prevent the end of the packet from being
dissected.
While we are at it, let's improve the heuristics.
Change-Id: Ic5b76cd84554fcbd10c3cf59294783933196163a
Reviewed-on: https://code.wireshark.org/review/33331
Petri-Dish: Pascal Quantin <pascal@wireshark.org>
Tested-by: Petri Dish Buildbot
Reviewed-by: Pascal Quantin <pascal@wireshark.org>
|
|
Bug: 15724
Change-Id: I5a2b017eff3b245189c92f9b4500d4e30750a035
Reviewed-on: https://code.wireshark.org/review/32983
Petri-Dish: Anders Broman <a.broman58@gmail.com>
Tested-by: Petri Dish Buildbot
Reviewed-by: Anders Broman <a.broman58@gmail.com>
|
|
Change-Id: I711506a214fad8b94ac84d5096fafb448157f9c5
Reviewed-on: https://code.wireshark.org/review/32886
Petri-Dish: Anders Broman <a.broman58@gmail.com>
Tested-by: Petri Dish Buildbot
Reviewed-by: Anders Broman <a.broman58@gmail.com>
|
|
Convert our various PROTO_ITEM_ macros to inline functions and document
them.
Change-Id: I070b15d4f70d2189217a177ee8ba2740be36327c
Reviewed-on: https://code.wireshark.org/review/32706
Reviewed-by: Gerald Combs <gerald@wireshark.org>
Petri-Dish: Gerald Combs <gerald@wireshark.org>
Reviewed-by: Anders Broman <a.broman58@gmail.com>
|
|
It only clarified the encoding used for URN, so remove the corresponding
comment.
Change-Id: Idbe7e325242c495123df3d8f5babfae32b05a36d
Reviewed-on: https://code.wireshark.org/review/32606
Reviewed-by: Pascal Quantin <pascal@wireshark.org>
|
|
Change-Id: Ib2d4c5d7b8e2c754c946829843174a83e11fdd6d
Reviewed-on: https://code.wireshark.org/review/31917
Petri-Dish: Pascal Quantin <pascal@wireshark.org>
Tested-by: Petri Dish Buildbot
Reviewed-by: Pascal Quantin <pascal@wireshark.org>
|
|
Change-Id: I3464365a821e92f02e601304552823d24cf11c35
Reviewed-on: https://code.wireshark.org/review/31227
Petri-Dish: Pascal Quantin <pascal.quantin@gmail.com>
Tested-by: Petri Dish Buildbot
Reviewed-by: Pascal Quantin <pascal.quantin@gmail.com>
|