Home
last modified time | relevance | path

Searched refs:ntohl (Results 1 – 20 of 20) sorted by relevance

/busybox-1.35.0/networking/
Dipcalc.c56 #define CLASS_A_NETMASK ntohl(0xFF000000)
57 #define CLASS_B_NETMASK ntohl(0xFFFF0000)
58 #define CLASS_C_NETMASK ntohl(0xFFFFFF00)
Dzcip.c280 G.localnet_ip = ntohl(net.s_addr); in zcip_main()
285 || (ntohl(ip.s_addr) & IN_CLASSB_NET) != G.localnet_ip in zcip_main()
Ddnsd.c148 v32 = ntohl(m->ip); in parse_conf_file()
Droute.c317 mask = ~ntohl(mask); in INET_setroute()
Dhttpd.c2232 remote_ip = ntohl(fromAddr->u.sin.sin_addr.s_addr); in handle_incoming_and_exit()
2238 && ntohl(fromAddr->u.sin6.sin6_addr.s6_addr32[2]) == 0xffff) in handle_incoming_and_exit()
2239 remote_ip = ntohl(fromAddr->u.sin6.sin6_addr.s6_addr32[3]); in handle_incoming_and_exit()
Dtraceroute.c793 && ntohl(pkt->seq6) == seq in packet6_ok()
Dntpd.c565 lfp.int_partl = ntohl(lfp.int_partl); in lfp_to_d()
566 lfp.fractionl = ntohl(lfp.fractionl); in lfp_to_d()
Difupdown.c315 d = ntohl(ip.s_addr); /* IP in host order */ in count_netmask_bits()
/busybox-1.35.0/archival/
Drpm.c119 header.size = ntohl(header.size); in rpm_gettags()
120 cnt = ntohl(header.entries); in rpm_gettags()
128 tag->tag = ntohl(tag->tag); in rpm_gettags()
129 tag->type = ntohl(tag->type); in rpm_gettags()
130 tag->count = ntohl(tag->count); in rpm_gettags()
131 tag->offset = storepos + ntohl(tag->offset); in rpm_gettags()
203 return ntohl(*(int32_t*)tmpint); in rpm_getint()
Dlzop.c574 return ntohl(v); in read32()
597 return ntohl(v); in f_read32()
992 h->flags32 = ntohl(h->flags32); in read_header()
/busybox-1.35.0/util-linux/
Drdate.c60 nett = ntohl(nett) - RFC_868_BIAS; in askremotedate()
/busybox-1.35.0/libbb/
Dinet_common.c131 dbg("getnetbyaddr(%08x)", (unsigned)ntohl(nip)); in INET_rresolve()
132 np = getnetbyaddr(ntohl(nip), AF_INET); in INET_rresolve()
Dpw_encrypt_des.c513 rawkey0 = ntohl(*(const uint32_t *) key); in des_setkey()
514 rawkey1 = ntohl(*(const uint32_t *) (key + 4)); in des_setkey()
/busybox-1.35.0/networking/udhcp/
Ddhcpd.c452 server_data.start_ip = ntohl(server_data.start_ip); in read_config()
453 server_data.end_ip = ntohl(server_data.end_ip); in read_config()
530 uint32_t y = ntohl(lease.lease_nip); in read_leases()
532 signed_leasetime_t expires = ntohl(lease.expires) - (signed_leasetime_t)time_passed; in read_leases()
717 lease_time_sec = ntohl(lease_time_sec); in select_lease_time()
756 && ntohl(requested_nip) >= server_data.start_ip in send_offer()
757 && ntohl(requested_nip) <= server_data.end_ip in send_offer()
942 server_data.max_lease_sec = ntohl(server_data.max_lease_sec); in udhcpd_main()
Ddumpleases.c92 expires_abs = ntohl(lease.expires) + written_at; in dumpleases_main()
Ddhcpc.c157 mask = ntohl(mask); /* 111110000-like bit pattern */ in mton()
235 dest += sprintf(dest, type == OPTION_U32 ? "%lu" : "%ld", (unsigned long) ntohl(val_u32)); in xmalloc_optname_optval()
1732 lease_remaining = ntohl(lease); in udhcpc_main()
Dd6_dhcpc.c1769 lease_seconds = ntohl(lease_seconds); in udhcpc6_main()
1803 lease_seconds = ntohl(lease_seconds); in udhcpc6_main()
/busybox-1.35.0/networking/libiproute/
Diptunnel.c349 if (p->i_key == 0 && IN_MULTICAST(ntohl(p->iph.daddr))) { in parse_args()
353 if (p->o_key == 0 && IN_MULTICAST(ntohl(p->iph.daddr))) { in parse_args()
357 if (IN_MULTICAST(ntohl(p->iph.daddr)) && !p->iph.saddr) { in parse_args()
Dutils.c177 uint32_t mask = ntohl(netmask_pfx.data[0]); in get_prefix_1()
/busybox-1.35.0/include/
Dlibbb.h209 # undef ntohl
213 # define ntohl(x) __builtin_bswap32(x) macro