Giter Site home page Giter Site logo

Comments (3)

GoogleCodeExporter avatar GoogleCodeExporter commented on July 30, 2024
While compiling opendpi-netfilter-wrapper there are 2 warnings.
One of them about using nf_ct_is_untracked

/usr/src/pkg/opendpi/opendpi-netfilter-wrapper-1.1/wrapper/src/main.c: In 
function 'opendpi_mt':
/usr/src/pkg/opendpi/opendpi-netfilter-wrapper-1.1/wrapper/src/main.c:478: 
warning: passing argument 1 of 'nf_ct_is_untracked' from incompatible pointer 
type
/usr/src/pkg/opendpi/opendpi-netfilter-wrapper-1.1/wrapper/src/main.c: At top 
level:
/usr/src/pkg/opendpi/opendpi-netfilter-wrapper-1.1/wrapper/src/main.c:642: 
warning: initialization from incompatible pointer type

Original comment by [email protected] on 28 Jan 2011 at 7:31

from opendpi.

GoogleCodeExporter avatar GoogleCodeExporter commented on July 30, 2024
The argument's type of function argument has to be const struct nf_conn *,
but const struct sk_buff * is used

linux-2.6.37/include/net/netfilter/nf_conntrack.h:static inline int 
nf_ct_is_untracked(const struct nf_conn *ct)

Original comment by [email protected] on 28 Jan 2011 at 7:34

from opendpi.

GoogleCodeExporter avatar GoogleCodeExporter commented on July 30, 2024
The function nf_ct_is_untracked was changed since 2.6.36
I've made patch to compile for kernel 2.6.36 and later.
Patch is attached.

Original comment by [email protected] on 28 Jan 2011 at 8:43

Attachments:

from opendpi.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.