HomeFreeBSD

- Add more flags to ip_fw_args. At this changeset only IPFW_ARGS_IN and

Description

  • Add more flags to ip_fw_args. At this changeset only IPFW_ARGS_IN and IPFW_ARGS_OUT are utilized. They are intented to substitute the "dir" parameter that is often passes together with args.
  • Rename ip_fw_args.oif to ifp and now it is set to either input or output interface, depending on IPFW_ARGS_IN/OUT bit set.

Details

Committed
glebiusMar 14 2019, 10:28 PM
Parents
rS345161: Make second argument of ip_divert(), that specifies packet direction a bool.
Branches
Unknown
Tags
Unknown