0x5577是什么类型的包

网络工程 思科 以太网 协议论 包分析
2022-02-16 16:03:26

0x5577根据此页面,我一直在尝试找出数据包的类型以下是指示此值的源代码的快照:

   f = myproto()
    f.timestamp = int(time.time()*1000 - start_time)
    #print f.timestamp
    e = pkt.ethernet()
    e.src=EthAddr("0:0:0:0:0:2")
    e.dst=EthAddr("0:1:0:0:0:1")
    e.type=0x5577  # What ethernet value is this?
    e.payload = f
    msg = of.ofp_packet_out()
    msg.data = e.pack()
    msg.actions.append(of.ofp_action_output(port=2))
    core.openflow.getConnection(src_dpid).send(msg)

我在这里也找不到。我做了谷歌搜索,但没有答案!有没有人见过这种类型的以太网数据包?

1个回答

那是一个未注册的 EtherType,因此,它没有标准的含义或类型。似乎有人只是为了一个项目而编造它。其他任何人都可以将该值用于不同的项目,这可能意味着其他东西。您需要询问编写代码的人。

EtherTypes 已在 IEEE 注册,您可以在此处找到已注册的。IANA 还维护一个非官方的 EtherTypes 页面。