]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
MFC r316434:
authorae <ae@FreeBSD.org>
Mon, 17 Apr 2017 09:36:35 +0000 (09:36 +0000)
committerae <ae@FreeBSD.org>
Mon, 17 Apr 2017 09:36:35 +0000 (09:36 +0000)
commit7a6d766f1284a41887dd6302256d4bb01df92e5c
tree1187eb672a137eafad49d7db7050e7e0c43f2298
parent9a21c53ccadbd5db7c683c6b68fb0d8c63b02c5f
MFC r316434:
  Add O_EXTERNAL_DATA opcode support.

  This opcode can be used to attach some data to external action opcode.
  And unlike to O_EXTERNAL_INSTANCE opcode, this opcode does not require
  creating of named instance to pass configuration arguments to external
  action handler. The data is coming just next to O_EXTERNAL_ACTION opcode.

  The userlevel part currenly supports formatting for opcode with ipfw_insn
  size, by default it expects u16 numeric value in the arg1.

  Obtained from: Yandex LLC
  Sponsored by: Yandex LLC
sbin/ipfw/ipfw2.c
sys/netinet/ip_fw.h
sys/netpfil/ipfw/ip_fw_eaction.c
sys/netpfil/ipfw/ip_fw_sockopt.c