网络丢包network loss源码sport问题

args = fmt.Sprintf( %s && \ tc filter add dev %s parent 1: prio 4 protocol ip u32 match ip sport %s 0xffff flowid 1:4 && , tc filter add dev %s parent 1: prio 4 protocol ip u32 match ip sport %s 0xffff flowid 1:4, args, netInterface, port, netInterface, port)

两个全是sport,是否是有一个dport

原提问者GitHub用户jack-yang-Xia

展开
收起
码字王 2023-06-12 17:11:44 65 分享 版权
1 条回答
写回答
取消 提交回答
  • tc命令不支持它,但您可以使用该运动来产生相同的效果。

    原回答者GitHub用户xcaspar

    2023-06-12 17:34:59
    赞同 展开评论