proto 是什么意思,xdp/ebpf?
What does proto means, xdp/ebpf?
这里的proto是什么意思,我在关注这个
https://github.com/xdp-project/xdp-tutorial/tree/master/tracing03-xdp-debug-print
谁能解释一下 proto 在这种情况下的含义?
$ sudo ./trace_read
src: 5a:b3:63:62:de:d7 dst: 3a:b:b:8e:5e:6a proto: 56710
src: 5a:b3:63:62:de:d7 dst: 3a:b:b:8e:5e:6a proto: 56710
src: 5a:b3:63:62:de:d7 dst: 3a:b:b:8e:5e:6a proto: 56710
在这种情况下,鉴于它似乎在显示 L2 信息,proto
就是 Ethertype。它表示下一个header(L3)的协议。
56710是16进制的0xDD86(big endian),对应IPv6的Ethertype
这里的proto是什么意思,我在关注这个
https://github.com/xdp-project/xdp-tutorial/tree/master/tracing03-xdp-debug-print
谁能解释一下 proto 在这种情况下的含义?
$ sudo ./trace_read
src: 5a:b3:63:62:de:d7 dst: 3a:b:b:8e:5e:6a proto: 56710
src: 5a:b3:63:62:de:d7 dst: 3a:b:b:8e:5e:6a proto: 56710
src: 5a:b3:63:62:de:d7 dst: 3a:b:b:8e:5e:6a proto: 56710
在这种情况下,鉴于它似乎在显示 L2 信息,proto
就是 Ethertype。它表示下一个header(L3)的协议。
56710是16进制的0xDD86(big endian),对应IPv6的Ethertype