Linux and UNIX Man Pages

Linux & Unix Commands - Search Man Pages

ntohl(3) [osf1 man page]

ntohl(3)						     Library Functions Manual							  ntohl(3)

NAME
ntohl - Converts an unsigned 32-bit integer from Internet network byte order to host byte order LIBRARY
Standard C Library (libc.so, libc.a) SYNOPSIS
#include <arpa/inet.h> in_addr_t ntohl ( in_addr_t netint) ; STANDARDS
Interfaces documented on this reference page conform to industry standards as follows: ntohl(): XNS4.0 Refer to the standards(5) reference page for more information about industry standards and associated tags. PARAMETERS
Specifies a 32-bit integer in network-byte order. DESCRIPTION
The ntohl() (network-to-host long) function converts an unsigned 32-bit integer from Internet network-byte order to host-byte order. The Internet network requires address and port reference data in network-byte order. You can use the ntohl() function to convert Internet network address and port data to host byte-ordered integers. RETURN VALUES
The ntohl() function returns a 32-bit integer in host-byte order. ERRORS
Current industry standards do not define error values for the ntohl() function. RELATED INFORMATION
Functions: endhostent(3), endservent(3), ntohs(3), htonl(3), htons(3). Standards: standards(5). Network Programmer's Guide delim off ntohl(3)

Check Out this Related Man Page

inet_lnaof(3)						     Library Functions Manual						     inet_lnaof(3)

NAME
inet_lnaof - Translates an Internet address integer into its host (local) address component LIBRARY
Standard C Library (libc.so, libc.a) SYNOPSIS
#include <arpa/inet.h> in_addr_t inet_lnaof( struct in_addr net_addr); STANDARDS
Interfaces documented on this reference page conform to industry standards as follows: inet_lnaof(): XNS4.0 Refer to the standards(5) reference page for more information about industry standards and associated tags. PARAMETERS
Defines an Internet address in network byte order. DESCRIPTION
The inet_lnaof() function translates an Internet network byte-ordered address into its host (local) address component. The host address is returned in host byte-order. RETURN VALUES
The inet_lnaof() function returns a host byte-ordered integer that specifies the host (local) address part of the Internet network address integer. ERRORS
Current industry standards for inet_lnaof() do not define error values. RELATED INFORMATION
Functions: inet_addr(3), inet_netof(3), inet_makeaddr(3), inet_network(3), inet_ntoa(3) Standards: standards(5) Network Programmer's Guide delim off inet_lnaof(3)
Man Page

5 More Discussions You Might Find Interesting

1. UNIX for Advanced & Expert Users

Long Delay if any with network services

While installing a firewall, I was pinging the interface from SCO 5.0.6 Openserver box, while no response, I hit "DEL" to cancel, but no cancel. Then all of a sudden I get BOO-KOO traffic lights on HUB and Switch.... Then a kernel trap error. System froze... Proceeded with a cold boot. Now I have... (8 Replies)
Discussion started by: nashvillek5
8 Replies

2. UNIX for Dummies Questions & Answers

How to determine if a host is connected to the Internet in Unix?

How to determine if a host is connected to the Internet in Unix ? (1 Reply)
Discussion started by: shuhang2
1 Replies

3. Infrastructure Monitoring

SF4800 SC not accessible thru network

Hi All, I have my SC setup as attached below but I am having problem accessing the port thru network. sc0 was accessible only after i failed over the configuratios to sc1 (now then sc1 was not pingable :(). Just wondering is there anything wrong with my sc settings? Appreciate your advice. ... (4 Replies)
Discussion started by: honmin
4 Replies

4. IP Networking

testing network elements

for testing network elements which of the below is TRUE a)Thorough understanding of RFC s/ IETF standards is enough. b)One has to know design specifications along with standards and specification. c)Understanding customer requirements is required for acceptance test only and not for... (0 Replies)
Discussion started by: venkatadilip
0 Replies

5. News, Links, Events and Announcements

Airlines industry

Hi, I want to move to unix admin from support. Which unix can i learn to get into airlines industry projects? Thanks in advance. (1 Reply)
Discussion started by: sam_bd
1 Replies