tech-net archive

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

Re: in_pcbsetport(), in6_pcbsetport()

On Thu, Apr 30, 2009 at 12:06 AM, Manuel Bouyer 
<> wrote:

> looks good now. Can look at removing the similar __UNCONST in the
> netinet source ?

Oh, there I have a local variable ("struct sockaddr_in lsin") that I
use to copy dom_sa_any into, and then use its address when setting

    struct sockaddr_in lsin; /* entire function scope */
    } else {
        /* no nam */
        lsin = *((const struct sockaddr_in *)
        sin = &lsin;



Home | Main Index | Thread Index | Old Index