Home
last modified time | relevance | path

Searched refs:INADDR_NONE (Results 1 – 25 of 58) sorted by relevance

123

/freebsd/lib/libc/inet/
H A Dinet_network.c63 return (INADDR_NONE); in inet_network()
79 return (INADDR_NONE); in inet_network()
81 return (INADDR_NONE); in inet_network()
87 return (INADDR_NONE); in inet_network()
91 return (INADDR_NONE); in inet_network()
H A Dinet_addr.c90 return (INADDR_NONE); in inet_addr()
/freebsd/stand/uboot/
H A Dnet.c128 if ((myip.s_addr = inet_addr(envstr)) == INADDR_NONE) { in get_env_net_params()
138 (netmask = inet_addr(envstr)) == INADDR_NONE) { in get_env_net_params()
141 if (netmask == INADDR_NONE) { in get_env_net_params()
154 serveraddr = INADDR_NONE; in get_env_net_params()
156 if ((serveraddr = inet_addr(envstr)) == INADDR_NONE) in get_env_net_params()
165 if (rootaddr == INADDR_NONE) in get_env_net_params()
167 if (rootaddr == INADDR_NONE) { in get_env_net_params()
187 if ((gateip.s_addr = inet_addr(envstr)) == INADDR_NONE) { in get_env_net_params()
/freebsd/contrib/tcp_wrappers/
H A Dhosts_access.c49 #ifndef INADDR_NONE
50 #define INADDR_NONE (-1) /* XXX should be 0xffffffff */ macro
332 && dot_quad_addr(string + 7) != INADDR_NONE) { in string_match()
411 if ((addr = dot_quad_addr(string)) == INADDR_NONE) in masked_match4()
413 if ((net = dot_quad_addr(net_tok)) == INADDR_NONE in masked_match4()
414 || (mask = dot_quad_addr(mask_tok)) == INADDR_NONE) { in masked_match4()
442 if ((*(u_int32_t *)&net.sin6_addr.s6_addr[12] = dot_quad_addr(net_tok)) == INADDR_NONE in masked_match6()
443 || (mask = dot_quad_addr(mask_tok)) == INADDR_NONE) in masked_match6()
H A Dmisc.c22 #ifndef INADDR_NONE
23 #define INADDR_NONE (-1) /* XXX should be 0xffffffff */ macro
102 return (runs == 4 ? inet_addr(str) : INADDR_NONE); in dot_quad_addr()
H A Dtcpdchk.c41 #ifndef INADDR_NONE
42 #define INADDR_NONE (-1) /* XXX should be 0xffffffff */ macro
468 if ((dot_quad_addr(pat) == INADDR_NONE in check_host()
469 || dot_quad_addr(mask) == INADDR_NONE) in check_host()
473 if (dot_quad_addr(pat) == INADDR_NONE in check_host()
474 || dot_quad_addr(mask) == INADDR_NONE) in check_host()
H A Dworkarounds.c203 #ifndef INADDR_NONE
204 #define INADDR_NONE 0xffffffff macro
232 if ((addr.s_addr = inet_addr(*o_aliases)) != INADDR_NONE) {
H A Dscaffold.c28 #ifndef INADDR_NONE
29 #define INADDR_NONE (-1) /* XXX should be 0xffffffff */ macro
126 if ((addr.s_addr = dot_quad_addr(host)) != INADDR_NONE) { in find_inet_addr()
H A Dtcpdmatch.c37 #ifndef INADDR_NONE
38 #define INADDR_NONE (-1) /* XXX should be 0xffffffff */ macro
224 if (dot_quad_addr(client) != INADDR_NONE) {
/freebsd/usr.sbin/ppp/
H A Dauth.c223 ipcp_Setup(&bundle->ncp.ipcp, INADDR_NONE); in auth_Select()
228 if (bundle->radius.valid && bundle->radius.ip.s_addr != INADDR_NONE && in auth_Select()
255 if (!bundle->radius.valid || bundle->radius.ip.s_addr == INADDR_NONE) { in auth_Select()
260 ipcp_Setup(&bundle->ncp.ipcp, INADDR_NONE); in auth_Select()
282 ipcp_Setup(&bundle->ncp.ipcp, INADDR_NONE); in auth_Select()
H A Dipcp.c179 ipcp->ns.dns[0].s_addr = ipcp->ns.dns[1].s_addr = INADDR_NONE; in ipcp_LoadDNS()
311 ipcp->ns.dns[1].s_addr != INADDR_NONE && in ipcp_WriteDNS()
397 ipcp->cfg.ns.dns[0].s_addr == INADDR_NONE ? in ipcp_Show()
399 if (ipcp->cfg.ns.dns[1].s_addr != INADDR_NONE) in ipcp_Show()
405 ipcp->ns.dns[0].s_addr == INADDR_NONE ? in ipcp_Show()
407 if (ipcp->ns.dns[1].s_addr != INADDR_NONE && in ipcp_Show()
476 ipcp->cfg.ns.dns[0].s_addr = INADDR_NONE; in ipcp_Init()
477 ipcp->cfg.ns.dns[1].s_addr = INADDR_NONE; in ipcp_Init()
496 ipcp_Setup(ipcp, INADDR_NONE); in ipcp_Init()
530 ipcp->ifmask.s_addr = mask == INADDR_NONE ? ipcp->cfg.netmask.s_addr : mask; in ipcp_Setup()
[all …]
H A Ddefs.c153 ipaddr.s_addr = INADDR_NONE; in GetIpAddr()
155 ipaddr.s_addr = INADDR_NONE; in GetIpAddr()
H A Dtcp.c70 if (dest.sin_addr.s_addr == INADDR_NONE) { in tcp_OpenConnection()
/freebsd/crypto/heimdal/lib/roken/
H A Dinet_aton.c45 return (addr->s_addr == INADDR_NONE) ? 0 : 1; in inet_aton()
H A Droken-common.h57 #ifndef INADDR_NONE
58 #define INADDR_NONE 0xffffffff macro
/freebsd/stand/common/
H A Ddev_net.c328 if ((rootaddr = net_parse_rootpath()) != INADDR_NONE) in net_getparams()
390 n_long addr = htonl(INADDR_NONE); in net_parse_rootpath()
/freebsd/contrib/unbound/compat/
H A Dinet_aton.c79 return (INADDR_NONE);
/freebsd/crypto/openssh/openbsd-compat/
H A Dinet_aton.c75 return (INADDR_NONE);
/freebsd/usr.sbin/bootparamd/bootparamd/
H A Dmain.c87 if (route_addr == INADDR_NONE) { in main()
/freebsd/contrib/ldns/compat/
H A Dinet_aton.c79 return (INADDR_NONE);
/freebsd/sbin/ggate/shared/
H A Dggate.c400 if (ip != INADDR_NONE) { in g_gate_str2ip()
407 return (INADDR_NONE); in g_gate_str2ip()
/freebsd/tools/test/stress2/testcases/udp/
H A Dudp.c85 if (sock_in.sin_addr.s_addr == INADDR_NONE) { in test()
/freebsd/sbin/natd/
H A Dnatd.c198 if (mip->aliasAddr.s_addr == INADDR_NONE && mip->ifName == NULL && in main()
202 if (mip->aliasAddr.s_addr != INADDR_NONE && mip->ifName != NULL) in main()
372 if (mip->aliasAddr.s_addr != INADDR_NONE) in main()
1647 localAddr.s_addr = INADDR_NONE; in SetupPortRedirect()
1832 localAddr.s_addr = INADDR_NONE; in SetupAddressRedirect()
2015 ip->aliasAddr.s_addr = INADDR_NONE; in NewInstance()
/freebsd/usr.sbin/bootparamd/callbootd/
H A Dcallbootd.c96 if ( the_inet_addr == INADDR_NONE) in main()
/freebsd/stand/libsa/
H A Dnet.c222 return (htonl(INADDR_NONE)); in inet_addr()

123