Usenet comp.unix.tru64 (2000-2013)
 help / color / mirror / Atom feed
* function "in_localaddr"
@ 2001-07-17  7:24 Ginny E. Kim
  2001-07-17 21:24 ` Brian Haley
  0 siblings, 1 reply; 3+ messages in thread
From: Ginny E. Kim @ 2001-07-17  7:24 UTC (permalink / raw)


The system function, "in_localaddr" has different prototype in
Tru64UNIX V4.0F and V5.1.
(In both version, '/usr/include/netinet/proto_inet.h' has its
prototype.)
In V4.0F,
          int in_localaddr P((struct in_addr));
In V5.1,
          int in_localaddr P((struct in6_addr *, struct rtentry *));

What does that function do and what do arguments mean?
How can I port my application from V4.0F to V5.1 using
"in_localaddr()"?


^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: function "in_localaddr"
  2001-07-17  7:24 function "in_localaddr" Ginny E. Kim
@ 2001-07-17 21:24 ` Brian Haley
  2001-07-20  6:38   ` Ginny E. Kim
  0 siblings, 1 reply; 3+ messages in thread
From: Brian Haley @ 2001-07-17 21:24 UTC (permalink / raw)


"Ginny E. Kim" wrote:

> The system function, "in_localaddr" has different prototype in
> Tru64UNIX V4.0F and V5.1.
>
> What does that function do and what do arguments mean?
> How can I port my application from V4.0F to V5.1 using
> "in_localaddr()"?

Kernel internal routines are subject to change, especially with
a major release of the operating system, even those described
in the Steven's book.  V5.1 internally is much different from
V4.0F, for one thing it supports IPv6.  Unfortunately, we don't
supply the APIs for a lot of routines because once we do, we
can't change them (even for the better).  in_localaddr() was
never a published API from what I can tell.

What exactly are you trying to do?  From this post and your
previous one it looks like you're trying to hook yourself into
the IP stack somehow.


-Brian


--------------------------------------------
Brian P. Haley
Tru64 UNIX Networking Group
Compaq Computer Corporation





^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: function "in_localaddr"
  2001-07-17 21:24 ` Brian Haley
@ 2001-07-20  6:38   ` Ginny E. Kim
  0 siblings, 0 replies; 3+ messages in thread
From: Ginny E. Kim @ 2001-07-20  6:38 UTC (permalink / raw)


Brian Haley <haley@zk3.dec.com> wrote in message news:<3B54AD09.AF349790@zk3.dec.com>...
> "Ginny E. Kim" wrote:
> 
> > The system function, "in_localaddr" has different prototype in
> > Tru64UNIX V4.0F and V5.1.
> >
> > What does that function do and what do arguments mean?
> > How can I port my application from V4.0F to V5.1 using
> > "in_localaddr()"?
> 
> Kernel internal routines are subject to change, especially with
> a major release of the operating system, even those described
> in the Steven's book.  V5.1 internally is much different from
> V4.0F, for one thing it supports IPv6.  Unfortunately, we don't
> supply the APIs for a lot of routines because once we do, we
> can't change them (even for the better).  in_localaddr() was
> never a published API from what I can tell.
> 
> What exactly are you trying to do?  From this post and your
> previous one it looks like you're trying to hook yourself into
> the IP stack somehow.

I understand what you say.. 
What means "published API"? is it functions visible in man page?
Could you just let me know the argument's meaning and usage of that
funtion to be helpful in porting my program to V5.1, comparing with
V4.0F?


^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2001-07-20  6:38 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2001-07-17  7:24 function "in_localaddr" Ginny E. Kim
2001-07-17 21:24 ` Brian Haley
2001-07-20  6:38   ` Ginny E. Kim

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox