Hi Alfred,
> you might as well unconditionally include sys/socket.h and let it's
> internal #ifndef take care of that problem.
you're right and i'll change it
> I'm not sure why you don't just make your own new header file for
> this struct unless you're adding to an existing structure in
> so
Alfred Perlstein wrote:
> >
> > somewhere in the top of . I want to verify if this is indeed
> > the best way to solve it ?
>
> No, the proper solution is to do a forward struct declaration like so:
>
> struct something;
>
> struct bigger_something {
> struct something foo;
> }
As we
Maybe obvious to some of you, but I had to define two new structures (as
described in an ietf draft) in . This in order to be able to
support igmpv3 / multicast source filters. Anyway, these structures require
'struct sockaddr_storage' which is defined in .
When I compiled the code, it stopped si
Could anybody advise me on this:
For an implementation of IGMPv3, I
had to extend the socket api
following the draft(s). I had to add
two ioctl commands:
SIO_GET_MULTICAST_FILTER and SIO_SET_MULTICAST_FILTER.
The argument is a
structure that has a variable size.
FreeBSD uses some macros, and the
Hi,
As part of an IGMPv3 implementation on FreeBSD I
had to add a list to a datastructure (in_multi). This list can be set by users
(using ioctl) and be replaced later. While
replacing this list, there is the possibility (ad1) of a concurrent reader (the
process when an incoming packet has
Hello all,
I'm working on an implementation of the IGMPv3 protocol in the Net/3
stack, and several questions popped up. The first one is about the
socket structure.
The IGMPv3 protocol allows a process to set (ip)source filters, which is
a list of ip addresses of sources which indicates the pro
6 matches
Mail list logo