Searched refs:ntohl (Results 1 – 20 of 20) sorted by relevance
56 #define CLASS_A_NETMASK ntohl(0xFF000000)57 #define CLASS_B_NETMASK ntohl(0xFFFF0000)58 #define CLASS_C_NETMASK ntohl(0xFFFFFF00)
280 G.localnet_ip = ntohl(net.s_addr); in zcip_main()285 || (ntohl(ip.s_addr) & IN_CLASSB_NET) != G.localnet_ip in zcip_main()
148 v32 = ntohl(m->ip); in parse_conf_file()
317 mask = ~ntohl(mask); in INET_setroute()
2232 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()
793 && ntohl(pkt->seq6) == seq in packet6_ok()
565 lfp.int_partl = ntohl(lfp.int_partl); in lfp_to_d()566 lfp.fractionl = ntohl(lfp.fractionl); in lfp_to_d()
315 d = ntohl(ip.s_addr); /* IP in host order */ in count_netmask_bits()
119 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()
574 return ntohl(v); in read32()597 return ntohl(v); in f_read32()992 h->flags32 = ntohl(h->flags32); in read_header()
60 nett = ntohl(nett) - RFC_868_BIAS; in askremotedate()
131 dbg("getnetbyaddr(%08x)", (unsigned)ntohl(nip)); in INET_rresolve()132 np = getnetbyaddr(ntohl(nip), AF_INET); in INET_rresolve()
513 rawkey0 = ntohl(*(const uint32_t *) key); in des_setkey()514 rawkey1 = ntohl(*(const uint32_t *) (key + 4)); in des_setkey()
452 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()
92 expires_abs = ntohl(lease.expires) + written_at; in dumpleases_main()
157 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()
1769 lease_seconds = ntohl(lease_seconds); in udhcpc6_main()1803 lease_seconds = ntohl(lease_seconds); in udhcpc6_main()
349 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()
177 uint32_t mask = ntohl(netmask_pfx.data[0]); in get_prefix_1()
209 # undef ntohl213 # define ntohl(x) __builtin_bswap32(x) macro