?? subnetof.3
字號(hào):
.TH IPSEC_SUBNETOF 3 "11 June 2001".\" RCSID $Id: subnetof.3,v 1.7 2004/04/09 18:00:36 mcr Exp $.SH NAMEipsec subnetof \- given Internet address and subnet mask, return subnet number.bripsec hostof \- given Internet address and subnet mask, return host part.bripsec broadcastof \- given Internet address and subnet mask, return broadcast address.SH SYNOPSIS.B "#include <freeswan.h>.sp.B "struct in_addr subnetof(struct in_addr addr,".ti +1c.B "struct in_addr mask);".br.B "struct in_addr hostof(struct in_addr addr,".ti +1c.B "struct in_addr mask);".br.B "struct in_addr broadcastof(struct in_addr addr,".ti +1c.B "struct in_addr mask);".SH DESCRIPTIONThese functions are obsolete; see.IR ipsec_networkof (3)for their replacements..PP.I Subnetoftakes an Internet.I addressand a subnet.I maskand returns the network part of the address(all in network byte order)..I Hostofsimilarly returns the host part, and.I broadcastofreturns the broadcast address (all-1s convention) for the network..PPThese functions are provided to hide the Internet bit-munging insidean API, in hopes of easing the eventual transition to IPv6..SH SEE ALSOinet(3), ipsec_atosubnet(3).SH HISTORYWritten for the FreeS/WAN project by Henry Spencer..SH BUGSCalling functions for this is more costly than doing it yourself.
?? 快捷鍵說明
復(fù)制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號(hào)
Ctrl + =
減小字號(hào)
Ctrl + -