任务单 #45165

generate_packets.py: make packet directions an enum

开放日期: 2022-07-20 21:46 最后更新: 2022-07-22 20:35

报告人:
属主:
类型:
状态:
关闭
组件:
里程碑:
优先:
5 - Medium
严重性:
5 - Medium
处理结果:
Fixed
文件:
1

Details

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.

任务单历史 (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 Fixed

编辑

Please login to add comment to this ticket » 登录名