Re: Calling libiptc API from a separate thread in a C program throws segmentati
- From: Richard Kettlewell <rjk@xxxxxxxxxxxxxxx>
- Date: Sat, 21 Jan 2012 11:29:30 +0000
kkgarg78 <nospam_kamalkgarg@xxxxxxxxxxxxxxxxx> writes:
I am working on performing iptables update through a custom c program
using libiptc.
The requirement is to invoke iptc APIs from a separate thread every 2
seconds.
I have written a simple C program to try out invoking of iptc APIs
from a separate thread. The c program is pasted below:
It doesn't crash for me, on Debian squeeze, once modified to the point
that it will compile. But, since it needed (fairly trivial)
modification in order to compile, I don't believe it's actually the same
as the program you're running.
--
http://www.greenend.org.uk/rjk/
.
- References:
- Prev by Date: Re: Calling libiptc API from a separate thread in a C program throws segmentati
- Next by Date: keypad and lcd device driver for mpc8569
- Previous by thread: Re: Calling libiptc API from a separate thread in a C program throws segmentati
- Next by thread: keypad and lcd device driver for mpc8569
- Index(es):