utils: Use the host toolchain to build.
[syslinux.git] / man / gethostip.1
blob02081f1edf1017d5a610b059f0e13a414bc92a6a
1 .TH "GETHOSTIP" "1"
2 .SH "NAME"
3 gethostip \(em convert an IP address into various formats
4 .SH "SYNOPSIS"
5 .PP
6 \fBgethostip\fR [\fB-dxnf\fP]  [\fB\fIHOSTNAME|IP\fR\fP]
7 .SH "DESCRIPTION"
8 .PP
9 This manual page documents briefly the
10 \fBgethostip\fR command.
11 .PP
12 The \fBgethostip\fR utility converts the given hostname or
13 IP address into a variety formats.  It is provided by the syslinux
14 package to make it easier to calculate the appropriate names for
15 pxelinux configuration files.  These filenames can be the complete
16 hexadecimal representation for a given IP address, or a partial
17 hexadecimal representation to match a range of IP addresses.
19 .SH "OPTIONS"
20 .PP
21 A summary of options is included below.
22 .IP "\fB-d\fP" 10
23 Output the IP address in decimal format.
24 .IP "\fB-x\fP" 10
25 Output the IP address in hexadecimal format.
26 .IP "\fB-n\fP" 10
27 Output the host's canonical name.
28 .IP "\fB-f\fP" 10
29 Full output.  Outputs the IP address in all supported formats.
30 Same as \fB-xdn\fP.
32 .SH "SEE ALSO"
33 .PP
34 \fBsyslinux\fR(1)
36 .PP
37 More details can be found in the pxelinux documentation, which
38 can be found in
39 \fB/usr/share/doc/syslinux/pxelinux.doc.gz\fP on
40 \fBDebian GNU/Linux\fP systems.
42 .SH "AUTHOR"
43 .PP
44 This manual page was compiled by dann frazier <dannf@debian.org> for
45 the \fBDebian GNU/Linux\fP system (but may be used by others).