Searched refs:nip (Results 1 – 7 of 7) sorted by relevance
/busybox-1.35.0/libbb/ |
D | inet_common.c | 85 uint32_t nip; in INET_rresolve() member 93 uint32_t nip; in INET_rresolve() local 101 nip = s_in->sin_addr.s_addr; in INET_rresolve() 102 dbg("rresolve: %08x mask:%08x num:%08x", (unsigned)nip, netmask, numeric); in INET_rresolve() 105 if (nip == INADDR_ANY) { in INET_rresolve() 111 is_host = ((nip & (~netmask)) != 0 || (numeric & 0x4000)); in INET_rresolve() 115 if (pn->nip == nip && pn->is_host == is_host) { in INET_rresolve() 117 (is_host ? "host" : "net"), (unsigned)nip); in INET_rresolve() 125 dbg("sockaddr2host_noport(%08x)", (unsigned)nip); in INET_rresolve() 131 dbg("getnetbyaddr(%08x)", (unsigned)ntohl(nip)); in INET_rresolve() [all …]
|
/busybox-1.35.0/networking/udhcp/ |
D | dhcpd.c | 61 uint32_t nip; member 71 uint32_t nip, in add_static_lease() argument 87 st_lease->nip = nip; in add_static_lease() 102 st_lease->nip in add_static_lease() 115 return st_lease->nip; in get_static_nip_by_mac() 122 static int is_nip_reserved_as_static(uint32_t nip) in is_nip_reserved_as_static() argument 127 if (st_lease->nip == nip) in is_nip_reserved_as_static() 237 static struct dyn_lease *find_lease_by_nip(uint32_t nip) in find_lease_by_nip() argument 242 if (g_leases[i].lease_nip == nip) in find_lease_by_nip() 249 static int nobody_responds_to_arp(uint32_t nip, const uint8_t *safe_mac, unsigned arpping_ms) in nobody_responds_to_arp() argument [all …]
|
D | socket.c | 28 int FAST_FUNC udhcp_read_interface(const char *interface, int *ifindex, uint32_t *nip, uint8_t *mac) in udhcp_read_interface() argument 42 if (nip) { in udhcp_read_interface() 50 *nip = our_ip->sin_addr.s_addr; in udhcp_read_interface()
|
D | d6_socket.c | 41 *nip = ((struct sockaddr_in *)ifa->ifa_addr)->sin_addr.s_addr; in d6_read_interface()
|
D | common.h | 373 int udhcp_read_interface(const char *interface, int *ifindex, uint32_t *nip, uint8_t *mac) FAST_FUN…
|
D | dhcpc.c | 267 uint32_t nip; in xmalloc_optname_optval() local 277 nip = 0; in xmalloc_optname_optval() 278 p = (void*) &nip; in xmalloc_optname_optval() 288 dest += sprint_nip(dest, pfx, (void*) &nip); in xmalloc_optname_optval()
|
/busybox-1.35.0/networking/ |
D | zcip.c | 126 static const char *nip_to_a(uint32_t nip) in nip_to_a() argument 129 in.s_addr = nip; in nip_to_a() 179 static int run(char *argv[3], const char *param, uint32_t nip) in run() argument 190 if (nip != 0) { in run() 191 addr = nip_to_a(nip); in run() 199 if (nip != 0) in run()
|