Linux and UNIX Man Pages

Linux & Unix Commands - Search Man Pages

inet_netof(3) [osf1 man page]

inet_netof(3)						     Library Functions Manual						     inet_netof(3)

NAME
inet_netof - Translates an Internet address into its network address component LIBRARY
Standard C Library (libc.so, libc.a) SYNOPSIS
#include <arpa/inet.h> in_addr_t inet_netof( struct in_addr net_addr) ; STANDARDS
Interfaces documented on this reference page conform to industry standards as follows: inet_netof(): 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_netof() function translates an Internet address into its network address component. The network address integer is returned in host-byte order. RETURN VALUES
The inet_netof() function returns a host byte-ordered Internet network address. ERRORS
Current industry standards for inet_netof() do not define error values. RELATED INFORMATION
Functions: inet_addr(3), inet_lnaof(3), inet_makeaddr(3), inet_network(3), inet_ntoa(3) Standards: standards(5) Network Programmer's Guide delim off inet_netof(3)

Check Out this Related Man Page

htonl(3)						     Library Functions Manual							  htonl(3)

NAME
htonl - Converts an unsigned 32-bit integer from host byte order to Internet network-byte order LIBRARY
Standard C Library (libc.so, libc.a) SYNOPSIS
#include <arpa/inet.h> in_addr_t htonl ( in_addr_t hostint) ; STANDARDS
Interfaces documented on this reference page conform to industry standards as follows: htonl(): 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 host byte order. DESCRIPTION
The htonl() (host-to-network long) function converts an unsigned 32-bit integer from host byte order to Internet network-byte order. The Internet network requires address and port reference data in network-byte order. Use the htonl() function to convert address and port integers from Internet host byte order to Internet network-byte ordered integers. RETURN VALUES
Upon successful completion, the htonl() function returns a 32-bit integer in Internet network-byte order. ERRORS
Current industry standards do not define error values for the htonl() function. RELATED INFORMATION
Functions: endhostent(3), endservent(3), htons(3), ntohl(3), ntohs(3) Standards: standards(5) Network Programmer's Guide delim off htonl(3)
Man Page

6 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

How to connect to the Internet Using RH 7.2 i.e configuration plz Hlp

How to connect to the Internet Using RH 7.2 i.e configuration plz Hlp.....cause I want to accsses to the Internet to download Help and application in the Red hat OS???? (1 Reply)
Discussion started by: atiato
1 Replies

2. UNIX for Dummies Questions & Answers

Cannot connect to the Internet

I running HPUX 11.0, Netscape gives me an error "Unable to locate Server" when using a www.something.com address. If I use an IP address I get past the router and onto the Internet. My workstation can get to the Router @ 192.168.0.1 and also it's local APACHE server. I have DHCP enabled... (8 Replies)
Discussion started by: johnalt
8 Replies

3. UNIX for Dummies Questions & Answers

What is the industry standard for number of servers per Unix/Linux engineer?

What is the industry standard for number of servers per Unix/Linux engineer and are there any white papers or the like that discuss this? (1 Reply)
Discussion started by: Rav78uk
1 Replies

4. UNIX for Dummies Questions & Answers

I have files that are locked up...

Here's the story: I had an LaCie Internet Space (1TB)... Recently the network (or software) functions of the device just died... I tried to access it via different routers, checking UTP, tried everything possible to rule out physical damage to components. Then i got the disk out of its... (2 Replies)
Discussion started by: SentinelX
2 Replies

5. 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

6. 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