VMS Help  —  TCPIP Services, Programming Interfaces, Socket API Functions, inet_lnaof()
    Returns the local network address portion of an IP address.
    Format
      #include  <in.h>
      #include  <inet.h>
      int inet_lnaof  ( struct in_addr in );

1  –  Argument

 in
    An IP address.

2  –  Description

    This function returns the local network address portion of a full
    IP address.
                                   NOTE
       The 64-bit return from OpenVMS Alpha and I64 systems has
       zero-extended bits in the high 32 bits of R0.

3  –  Return Value

    x                  The local network address portion of an IP
                       address, in host byte order.
Close Help