待辦事項 #45165

generate_packets.py: make packet directions an enum

啟用日期: 2022-07-20 21:46 最後更新: 2022-07-22 20:35

回報者:
負責人:
類型:
狀態:
關閉
元件:
里程碑:
優先權:
5 - 中
嚴重程度:
5 - 中
處理結果:
修正
檔案:
1

細節

Part of #43927. There are exactly three legal values for the Packet.dirs field; server-to-client (down) only, client-to-server (up) only, and unrestricted ~> make it an enum with three constants. If we make it appropriately (frozen)set-valued, we also get conversion from a set of "sc" and "cs" packet flags for free.

Ticket History (3/4 Histories)

2022-07-20 21:46 Updated by: alienvalkyrie
  • New Ticket "generate_packets.py: make packet directions an enum" created
2022-07-21 00:08 Updated by: alienvalkyrie
  • 處理結果 Update from to Accepted
2022-07-22 20:35 Updated by: alienvalkyrie
  • 狀態 Update from 開啟 to 關閉
  • 處理結果 Update from Accepted to 修正

編輯

Please login to add comment to this ticket » 登入