Subject: Re: Patching svr4-current code to work on 1.1 (i386)
To: None <netbsd-help@NetBSD.ORG>
From: Christos Zoulas <christos@deshaw.com>
List: netbsd-help
Date: 02/09/1996 14:14:16
In article <01BAF607.D9A54180@johnam.datastorm.com> root@beta.datastorm.com (John A. Maier) writes:
>>>     I checked sys/socketvar.h and there is no member
>>>     "so_internal" the closest member (I can figure out) is
>>>     so_state.  Since so_state seems to be a short where                    
>>>     so_internal seems to be an int, replacing one with another,
>>>     via casting, doesn't seem to be the answer.
>
>>You need to change so_internal to so_tpcb. The rest is ok.
>
>do I replace:
>          so->so_internal = st;
>with:
>          so->so_tpcb = st;
>(doesn't work)

Try:
         so->so_tpcb = (caddr_t) st;
    
christos