diff --git a/unix/linux/types.go b/unix/linux/types.go index c400c031..41081f2d 100644 --- a/unix/linux/types.go +++ b/unix/linux/types.go @@ -115,6 +115,7 @@ struct termios2 { #include #include #include +#include #include #include #include @@ -1767,6 +1768,8 @@ const ( NFPROTO_NUMPROTO = C.NFPROTO_NUMPROTO ) +const SO_ORIGINAL_DST = C.SO_ORIGINAL_DST + // netfilter nfnetlink type Nfgenmsg C.struct_nfgenmsg diff --git a/unix/ztypes_linux.go b/unix/ztypes_linux.go index 72887abe..c9d7eb41 100644 --- a/unix/ztypes_linux.go +++ b/unix/ztypes_linux.go @@ -1773,6 +1773,8 @@ const ( NFPROTO_NUMPROTO = 0xd ) +const SO_ORIGINAL_DST = 0x50 + type Nfgenmsg struct { Nfgen_family uint8 Version uint8