compare struct in6_addr

From: William Ahern (william_at_wilbur.25thandClement.com)
Date: 10/11/03


Date: Fri, 10 Oct 2003 20:32:57 -0700

how does one compare a struct in6_addr? can i just memcmp() the s6_addr
member, as i would do the s_addr member from a struct in_addr?

tia,

Bill



Relevant Pages

  • Re: Requesting sample code!
    ... a function can never be a member of a struct. ... Putting a pointer to function in a structure is no different. ... than a pointer to int or pointer to char or pointer to struct. ...
    (microsoft.public.vc.language)
  • Re: What do others make of this code?
    ... The intent of the 'm_' is to distinguish the variable as a member ... I also didn't like the "m_" prefix. ... C++ programming guidelines. ... It all depends IMHO on how the struct is used. ...
    (comp.lang.cpp)
  • Re: realloc() implicit free() ?
    ... >> "The value is that of the named member of the object to which the first ... whole object the effective struct type "in the background". ... > different types that were not in a union. ... > the accesses were being made through struct pointers rather than ...
    (comp.lang.c)
  • Re: realloc() implicit free() ?
    ... >>> memory has no effective type, because it hasn't been stored into yet. ... Writing into one struct member causes the whole struct to be accessed ... >>> pointers to structs being the same as pointers to their first ...
    (comp.lang.c)
  • PP installation failed in Sun One Web Server
    ... member of struct or union. ... t #1 is not the correct type. ...
    (php.general)