Re: event callback in netfilter-conntrack

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



> Does anyone know how to obtain the original sport value from struct
> nf_conntrack *ct within the event callback handler?
> 

I imagine something like:

port = nfct_get_attr_u16(ct, ATTR_PORT_SRC);

Remember that you may need to use ntohs() to make it readable in the
format you want it.

Regards,

Andy


--
To unsubscribe from this list: send the line "unsubscribe netfilter-devel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Netfitler Users]     [LARTC]     [Bugtraq]     [Yosemite Forum]

  Powered by Linux