Home
last modified time | relevance | path

Searched refs:netbr (Results 1 – 2 of 2) sorted by relevance

/device/linaro/bootloader/edk2/StdLib/BsdSocketLib/
Dgetnetbynis.c134 unsigned int netbr[4]; in _getnetbynisaddr() local
143 netbr[--nn] = net2 & 0xff; in _getnetbynisaddr()
148 sprintf(buf, "%u", netbr[3]); in _getnetbynisaddr()
151 sprintf(buf, "%u.%u", netbr[2], netbr[3]); in _getnetbynisaddr()
154 sprintf(buf, "%u.%u.%u", netbr[1], netbr[2], netbr[3]); in _getnetbynisaddr()
157 sprintf(buf, "%u.%u.%u.%u", netbr[0], netbr[1], in _getnetbynisaddr()
158 netbr[2], netbr[3]); in _getnetbynisaddr()
Dgetnetbydns.c233 unsigned int netbr[4]; in _getnetbydnsaddr() local
244 netbr[--nn] = net2 & 0xff; in _getnetbydnsaddr()
247 sprintf(qbuf, "0.0.0.%u.in-addr.arpa", netbr[3]); in _getnetbydnsaddr()
250 sprintf(qbuf, "0.0.%u.%u.in-addr.arpa", netbr[3], netbr[2]); in _getnetbydnsaddr()
253 sprintf(qbuf, "0.%u.%u.%u.in-addr.arpa", netbr[3], netbr[2], in _getnetbydnsaddr()
254 netbr[1]); in _getnetbydnsaddr()
257 sprintf(qbuf, "%u.%u.%u.%u.in-addr.arpa", netbr[3], netbr[2], in _getnetbydnsaddr()
258 netbr[1], netbr[0]); in _getnetbydnsaddr()