diff options
author | Andreas Roeseler <andreas.a.roeseler@gmail.com> | 2021-04-27 18:36:35 +0300 |
---|---|---|
committer | Jakub Kicinski <kuba@kernel.org> | 2021-04-28 23:42:23 +0300 |
commit | e542d29ca81d005651680a0a697b72ca13ddc4cc (patch) | |
tree | e53bacf268c26fad2d04344b9fa3ad6d8cc2c2a7 /net/packet | |
parent | f89271f09f589b8e9f98a9d3373d4868d3e668a5 (diff) | |
download | linux-e542d29ca81d005651680a0a697b72ca13ddc4cc.tar.xz |
icmp: standardize naming of RFC 8335 PROBE constants
The current definitions of constants for PROBE, currently defined only
in the net-next kernel branch, are inconsistent, with
some beginning with ICMP and others with simply EXT. This patch
attempts to standardize the naming conventions of the constants for
PROBE before their release into a stable Kernel, and to update the
relevant definitions in net/ipv4/icmp.c.
Similarly, the definitions for the code field (previously
ICMP_EXT_MAL_QUERY, etc) use the same prefixes as the type field. This
patch adds _CODE_ to the prefix to clarify the distinction of these
constants.
Signed-off-by: Andreas Roeseler <andreas.a.roeseler@gmail.com>
Acked-by: David Ahern <dsahern@kernel.org>
Link: https://lore.kernel.org/r/20210427153635.2591-1-andreas.a.roeseler@gmail.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'net/packet')
0 files changed, 0 insertions, 0 deletions