bpf: Support 'X' in bpf_seq_printf() helper
'X' tells kernel to print hex with upper case letters.
/proc/net/tcp{4,6} seq_file show() used this, and
supports it in bpf_seq_printf() helper too.
Signed-off-by:
Yonghong Song <yhs@fb.com>
Signed-off-by:
Alexei Starovoitov <ast@kernel.org>
Acked-by:
Martin KaFai Lau <kafai@fb.com>
Link: https://lore.kernel.org/bpf/20200623230807.3988014-1-yhs@fb.com
Loading
Please sign in to comment