/dports/multimedia/libv4l/linux-5.13-rc2/include/linux/ |
H A D | in.h | 40 return (addr & htonl(0xff000000)) == htonl(0x7f000000); in ipv4_is_loopback() 45 return (addr & htonl(0xf0000000)) == htonl(0xe0000000); in ipv4_is_multicast() 50 return (addr & htonl(0xffffff00)) == htonl(0xe0000000); in ipv4_is_local_multicast() 56 return addr == htonl(INADDR_BROADCAST); in ipv4_is_lbcast() 73 return (addr & htonl(0xff000000)) == htonl(0x0a000000); in ipv4_is_private_10() 78 return (addr & htonl(0xfff00000)) == htonl(0xac100000); in ipv4_is_private_172() 83 return (addr & htonl(0xffff0000)) == htonl(0xc0a80000); in ipv4_is_private_192() 88 return (addr & htonl(0xffff0000)) == htonl(0xa9fe0000); in ipv4_is_linklocal_169() 93 return (addr & htonl(0xffffff00)) == htonl(0xc0586300); in ipv4_is_anycast_6to4() 98 return (addr & htonl(0xffffff00)) == htonl(0xc0000200); in ipv4_is_test_192() [all …]
|
/dports/multimedia/v4l_compat/linux-5.13-rc2/include/linux/ |
H A D | in.h | 40 return (addr & htonl(0xff000000)) == htonl(0x7f000000); in ipv4_is_loopback() 45 return (addr & htonl(0xf0000000)) == htonl(0xe0000000); in ipv4_is_multicast() 50 return (addr & htonl(0xffffff00)) == htonl(0xe0000000); in ipv4_is_local_multicast() 56 return addr == htonl(INADDR_BROADCAST); in ipv4_is_lbcast() 73 return (addr & htonl(0xff000000)) == htonl(0x0a000000); in ipv4_is_private_10() 78 return (addr & htonl(0xfff00000)) == htonl(0xac100000); in ipv4_is_private_172() 83 return (addr & htonl(0xffff0000)) == htonl(0xc0a80000); in ipv4_is_private_192() 88 return (addr & htonl(0xffff0000)) == htonl(0xa9fe0000); in ipv4_is_linklocal_169() 93 return (addr & htonl(0xffffff00)) == htonl(0xc0586300); in ipv4_is_anycast_6to4() 98 return (addr & htonl(0xffffff00)) == htonl(0xc0000200); in ipv4_is_test_192() [all …]
|
/dports/multimedia/v4l-utils/linux-5.13-rc2/include/linux/ |
H A D | in.h | 40 return (addr & htonl(0xff000000)) == htonl(0x7f000000); in ipv4_is_loopback() 45 return (addr & htonl(0xf0000000)) == htonl(0xe0000000); in ipv4_is_multicast() 50 return (addr & htonl(0xffffff00)) == htonl(0xe0000000); in ipv4_is_local_multicast() 56 return addr == htonl(INADDR_BROADCAST); in ipv4_is_lbcast() 73 return (addr & htonl(0xff000000)) == htonl(0x0a000000); in ipv4_is_private_10() 78 return (addr & htonl(0xfff00000)) == htonl(0xac100000); in ipv4_is_private_172() 83 return (addr & htonl(0xffff0000)) == htonl(0xc0a80000); in ipv4_is_private_192() 88 return (addr & htonl(0xffff0000)) == htonl(0xa9fe0000); in ipv4_is_linklocal_169() 93 return (addr & htonl(0xffffff00)) == htonl(0xc0586300); in ipv4_is_anycast_6to4() 98 return (addr & htonl(0xffffff00)) == htonl(0xc0000200); in ipv4_is_test_192() [all …]
|
/dports/net/miredo/miredo-1.2.6/libteredo/ |
H A D | v4global.c | 44 if ((ip & htonl (0x80000000)) == 0) in is_ipv4_global_unicast() 48 ip &= htonl (0xff000000); in is_ipv4_global_unicast() 51 ( ip != htonl (0x00000000)); in is_ipv4_global_unicast() 54 if ((ip & htonl (0x40000000)) == 0) in is_ipv4_global_unicast() 58 return ((ip & htonl (0xffff0000)) != htonl (0xa9fe0000)) && in is_ipv4_global_unicast() 59 ((ip & htonl (0xfff00000)) != htonl (0xac100000)); in is_ipv4_global_unicast() 62 if ((ip & htonl (0x20000000)) == 0) in is_ipv4_global_unicast() 66 return ((ip & htonl (0xffff0000)) != htonl (0xc0a80000)) && in is_ipv4_global_unicast() 67 ((ip & htonl (0xffffff00)) != htonl (0xc0586200)); in is_ipv4_global_unicast() 70 if ((ip & htonl (0x10000000)) == 0) in is_ipv4_global_unicast() [all …]
|
/dports/security/hydra/thc-hydra-9.2/ |
H A D | hydra-pcnfs.c | 59 rpch->type_msg = htonl(0); in start_pcnfs() 65 prh->len_id = htonl(31); in start_pcnfs() 98 *(++authp) = htonl(0); in start_pcnfs() 99 *(++authp) = htonl(1); in start_pcnfs() 100 *(++authp) = htonl(2); in start_pcnfs() 101 *(++authp) = htonl(3); in start_pcnfs() 102 *(++authp) = htonl(4); in start_pcnfs() 103 *(++authp) = htonl(6); in start_pcnfs() 104 *(++authp) = htonl(10); in start_pcnfs() 105 *(++authp) = htonl(11); in start_pcnfs() [all …]
|
/dports/news/nzbget/nzbget-21.1/daemon/remote/ |
H A D | BinRpc.cpp | 285 BoolResponse.m_success = htonl(success); in SendBoolResponse() 540 listAnswer->m_sizeLo = htonl(sizeLo); in Execute() 541 listAnswer->m_sizeHi = htonl(sizeHi); in Execute() 583 listAnswer->m_nzbIndex = htonl(nzbIndex); in Execute() 619 listAnswer->m_nzbIndex = htonl(nzbIndex); in Execute() 660 if (htonl(ListRequest.m_serverState)) in Execute() 763 logAnswer->m_id = htonl(message.GetId()); in Execute() 1100 listAnswer->m_sizeLo = htonl(sizeLo); in Execute() 1101 listAnswer->m_sizeHi = htonl(sizeHi); in Execute() 1111 listAnswer->m_sizeLo = htonl(sizeLo); in Execute() [all …]
|
/dports/benchmarks/pathchirp/pathchirp-2.4.1/Src/ |
H A D | control_rcv.c | 12 pkt->timesec=htonl((u_int32_t) tp_snd.tv_sec); in send_pkt() 13 pkt->timeusec=htonl((u_int32_t) tp_snd.tv_usec); in send_pkt() 16 pkt->num=htonl((u_int32_t) cur_num); in send_pkt() 17 pkt->request_num=htonl((u_int32_t) request_num); in send_pkt() 42 pkt->low_rate=htonl ((u_int32_t)tmp_var); in send_pkt() 47 pkt->pktsize=htonl ((u_int32_t) pktsize); in send_pkt() 48 pkt->jumbo=htonl ((u_int32_t) jumbo); in send_pkt() 65 pkt->checksum=htonl(gen_crc_rcv2snd(pkt)); in send_pkt() 231 pkt->low_rate=htonl ((u_int32_t) tmp_var); in initiate_connection() 235 pkt->pktsize=htonl ((u_int32_t ) pktsize); in initiate_connection() [all …]
|
/dports/multimedia/v4l_compat/linux-5.13-rc2/fs/afs/ |
H A D | fsclient.c | 201 *bp++ = htonl(mask); in xdr_encode_AFS_StoreStatus() 202 *bp++ = htonl(mtime); in xdr_encode_AFS_StoreStatus() 203 *bp++ = htonl(owner); in xdr_encode_AFS_StoreStatus() 204 *bp++ = htonl(group); in xdr_encode_AFS_StoreStatus() 205 *bp++ = htonl(mode); in xdr_encode_AFS_StoreStatus() 549 *bp++ = htonl(namesz); in afs_fs_create_file() 602 *bp++ = htonl(namesz); in afs_fs_make_dir() 681 *bp++ = htonl(namesz); in afs_fs_remove_file() 728 *bp++ = htonl(namesz); in afs_fs_remove_dir() 801 *bp++ = htonl(FSLINK); in afs_fs_link() [all …]
|
/dports/multimedia/libv4l/linux-5.13-rc2/fs/afs/ |
H A D | fsclient.c | 201 *bp++ = htonl(mask); in xdr_encode_AFS_StoreStatus() 202 *bp++ = htonl(mtime); in xdr_encode_AFS_StoreStatus() 203 *bp++ = htonl(owner); in xdr_encode_AFS_StoreStatus() 204 *bp++ = htonl(group); in xdr_encode_AFS_StoreStatus() 205 *bp++ = htonl(mode); in xdr_encode_AFS_StoreStatus() 549 *bp++ = htonl(namesz); in afs_fs_create_file() 602 *bp++ = htonl(namesz); in afs_fs_make_dir() 681 *bp++ = htonl(namesz); in afs_fs_remove_file() 728 *bp++ = htonl(namesz); in afs_fs_remove_dir() 801 *bp++ = htonl(FSLINK); in afs_fs_link() [all …]
|
/dports/multimedia/v4l-utils/linux-5.13-rc2/fs/afs/ |
H A D | fsclient.c | 201 *bp++ = htonl(mask); in xdr_encode_AFS_StoreStatus() 202 *bp++ = htonl(mtime); in xdr_encode_AFS_StoreStatus() 203 *bp++ = htonl(owner); in xdr_encode_AFS_StoreStatus() 204 *bp++ = htonl(group); in xdr_encode_AFS_StoreStatus() 205 *bp++ = htonl(mode); in xdr_encode_AFS_StoreStatus() 549 *bp++ = htonl(namesz); in afs_fs_create_file() 602 *bp++ = htonl(namesz); in afs_fs_make_dir() 681 *bp++ = htonl(namesz); in afs_fs_remove_file() 728 *bp++ = htonl(namesz); in afs_fs_remove_dir() 801 *bp++ = htonl(FSLINK); in afs_fs_link() [all …]
|
/dports/games/flightgear/flightgear-2020.3.11/src/Network/ |
H A D | native_ctrls.cxx | 230 net->version = htonl(net->version); in FGProps2NetCtrls() 262 net->num_tanks = htonl(net->num_tanks); in FGProps2NetCtrls() 267 net->cross_feed = htonl(net->cross_feed); in FGProps2NetCtrls() 282 net->icing = htonl(net->icing); in FGProps2NetCtrls() 283 net->speedup = htonl(net->speedup); in FGProps2NetCtrls() 284 net->freeze = htonl(net->freeze); in FGProps2NetCtrls() 299 net->version = htonl(net->version); in FGNetCtrls2Props() 331 net->num_tanks = htonl(net->num_tanks); in FGNetCtrls2Props() 351 net->icing = htonl(net->icing); in FGNetCtrls2Props() 352 net->speedup = htonl(net->speedup); in FGNetCtrls2Props() [all …]
|
/dports/print/ghostscript9-agpl-x11/ghostscript-9.52/cups/libs/filter/ |
H A D | cupsraster.c | 242 r->sync = htonl(CUPS_RASTER_SYNC_PWG); in cupsRasterOpenIO() 581 fh.CutMedia = htonl(r->header.CutMedia); in cupsRasterWriteHeader() 582 fh.Duplex = htonl(r->header.Duplex); in cupsRasterWriteHeader() 590 fh.Jog = htonl(r->header.Jog); in cupsRasterWriteHeader() 595 fh.NumCopies = htonl(r->header.NumCopies); in cupsRasterWriteHeader() 599 fh.Tumble = htonl(r->header.Tumble); in cupsRasterWriteHeader() 697 fh.CutMedia = htonl(r->header.CutMedia); in cupsRasterWriteHeader2() 698 fh.Duplex = htonl(r->header.Duplex); in cupsRasterWriteHeader2() 706 fh.Jog = htonl(r->header.Jog); in cupsRasterWriteHeader2() 715 fh.Tumble = htonl(r->header.Tumble); in cupsRasterWriteHeader2() [all …]
|
/dports/devel/android-tools-fastboot/platform_system_core-platform-tools-29.0.5/lmkd/include/ |
H A D | lmkd.h | 80 packet[idx++] = htonl(LMK_TARGET); in lmkd_pack_set_target() 112 packet[0] = htonl(LMK_PROCPRIO); in lmkd_pack_set_procprio() 113 packet[1] = htonl(params->pid); in lmkd_pack_set_procprio() 114 packet[2] = htonl(params->uid); in lmkd_pack_set_procprio() 115 packet[3] = htonl(params->oomadj); in lmkd_pack_set_procprio() 139 packet[0] = htonl(LMK_PROCREMOVE); in lmkd_pack_set_procremove() 140 packet[1] = htonl(params->pid); in lmkd_pack_set_procremove() 149 packet[0] = htonl(LMK_PROCPURGE); in lmkd_pack_set_procpurge() 175 packet[0] = htonl(LMK_GETKILLCNT); in lmkd_pack_set_getkillcnt() 186 packet[0] = htonl(LMK_GETKILLCNT); in lmkd_pack_set_getkillcnt_repl() [all …]
|
/dports/security/nmap/nmap-7.91/libdnet-stripped/include/dnet/ |
H A D | ip.h | 362 htonl(0x00000000)) 363 #define IP_CLASSA_NET (htonl(0xff000000)) 369 htonl(0x80000000)) 370 #define IP_CLASSB_NET (htonl(0xffff0000)) 376 htonl(0xc0000000)) 377 #define IP_CLASSC_NET (htonl(0xffffff00)) 382 htonl(0xe0000000)) 384 #define IP_CLASSD_NET (htonl(0xf0000000)) 390 htonl(0xf0000000)) 392 htonl(0xf0000000)) [all …]
|
/dports/security/snort/snort-2.9.18/src/win32/WIN32-Includes/libdnet/dnet/ |
H A D | ip.h | 360 htonl(0x00000000)) 361 #define IP_CLASSA_NET (htonl(0xff000000)) 367 htonl(0x80000000)) 368 #define IP_CLASSB_NET (htonl(0xffff0000)) 374 htonl(0xc0000000)) 375 #define IP_CLASSC_NET (htonl(0xffffff00)) 380 htonl(0xe0000000)) 382 #define IP_CLASSD_NET (htonl(0xf0000000)) 388 htonl(0xf0000000)) 390 htonl(0xf0000000)) [all …]
|
/dports/net/py-libdnet/libdnet-1.13/include/dnet/ |
H A D | ip.h | 362 htonl(0x00000000)) 363 #define IP_CLASSA_NET (htonl(0xff000000)) 369 htonl(0x80000000)) 370 #define IP_CLASSB_NET (htonl(0xffff0000)) 376 htonl(0xc0000000)) 377 #define IP_CLASSC_NET (htonl(0xffffff00)) 382 htonl(0xe0000000)) 384 #define IP_CLASSD_NET (htonl(0xf0000000)) 390 htonl(0xf0000000)) 392 htonl(0xf0000000)) [all …]
|
/dports/net/libdnet/libdnet-1.13/include/dnet/ |
H A D | ip.h | 362 htonl(0x00000000)) 363 #define IP_CLASSA_NET (htonl(0xff000000)) 369 htonl(0x80000000)) 370 #define IP_CLASSB_NET (htonl(0xffff0000)) 376 htonl(0xc0000000)) 377 #define IP_CLASSC_NET (htonl(0xffffff00)) 382 htonl(0xe0000000)) 384 #define IP_CLASSD_NET (htonl(0xf0000000)) 390 htonl(0xf0000000)) 392 htonl(0xf0000000)) [all …]
|
/dports/net-p2p/libtorrent/libtorrent-0.13.8/src/net/ |
H A D | local_addr.cc | 68 if ((addr.s_addr & htonl(0xff000000U)) == htonl(0x7f000000U)) { in get_priority_ipv4() 71 if ((addr.s_addr & htonl(0xffff0000U)) == htonl(0xa9fe0000U)) { in get_priority_ipv4() 77 if ((addr.s_addr & htonl(0xff000000U)) == htonl(0x0a000000U) || in get_priority_ipv4() 78 (addr.s_addr & htonl(0xfff00000U)) == htonl(0xac100000U) || in get_priority_ipv4() 79 (addr.s_addr & htonl(0xffff0000U)) == htonl(0xc0a80000U)) { in get_priority_ipv4() 95 if (addr32[0] == htonl(0) && in get_priority_ipv6() 96 addr32[1] == htonl(0) && in get_priority_ipv6() 97 addr32[2] == htonl(0) && in get_priority_ipv6() 98 addr32[3] == htonl(0)) { in get_priority_ipv6() 104 if ((addr32[0] & htonl(0xffff0000)) == htonl(0x20020000)) { in get_priority_ipv6() [all …]
|
/dports/net/mad_fcl/mad_fcl_v1.7_src/alclib/ |
H A D | lct_hdr.c | 48 *(unsigned int*)((unsigned char*)def_lct_hdr + hdrlen) = htonl(word); in add_fdt_lct_he() 61 *(unsigned int*)((unsigned char*)def_lct_hdr + hdrlen) = htonl(word); in add_cenc_lct_he() 77 *(unsigned int*)((unsigned char*)def_lct_hdr + hdrlen) = htonl(word); in add_fti_0_2_128_130_lct_he() 84 *(unsigned int*)((unsigned char*)def_lct_hdr + hdrlen + len) = htonl(word); in add_fti_0_2_128_130_lct_he() 87 *(unsigned int*)((unsigned char*)def_lct_hdr + hdrlen + len) = htonl(max_sblen); in add_fti_0_2_128_130_lct_he() 104 *(unsigned int*)((unsigned char*)def_lct_hdr + hdrlen) = htonl(word); in add_fti_3_lct_he() 111 *(unsigned int*)((unsigned char*)def_lct_hdr + hdrlen + len) = htonl(word); in add_fti_3_lct_he() 115 *(unsigned int*)((unsigned char*)def_lct_hdr + hdrlen + len) = htonl(word); in add_fti_3_lct_he() 132 *(unsigned int*)((unsigned char*)def_lct_hdr + hdrlen) = htonl(word); in add_fti_129_lct_he() 139 *(unsigned int*)((unsigned char*)def_lct_hdr + hdrlen + len) = htonl(word); in add_fti_129_lct_he() [all …]
|
/dports/emulators/qemu5/qemu-5.2.0/roms/ipxe/src/include/ipxe/ |
H A D | in.h | 19 #define INADDR_NONE htonl ( 0xffffffff ) 21 #define INADDR_BROADCAST htonl ( 0xffffffff ) 23 #define INADDR_NET_CLASSA htonl ( 0xff000000 ) 24 #define INADDR_NET_CLASSB htonl ( 0xffff0000 ) 25 #define INADDR_NET_CLASSC htonl ( 0xffffff00 ) 28 ( ( (addr) & htonl ( 0x80000000 ) ) == htonl ( 0x00000000 ) ) 30 ( ( (addr) & htonl ( 0xc0000000 ) ) == htonl ( 0x80000000 ) ) 32 ( ( (addr) & htonl ( 0xe0000000 ) ) == htonl ( 0xc0000000 ) ) 34 ( ( (addr) & htonl ( 0xf0000000 ) ) == htonl ( 0xe0000000 ) )
|
/dports/emulators/qemu-powernv/qemu-powernv-3.0.50/roms/ipxe/src/include/ipxe/ |
H A D | in.h | 19 #define INADDR_NONE htonl ( 0xffffffff ) 21 #define INADDR_BROADCAST htonl ( 0xffffffff ) 23 #define INADDR_NET_CLASSA htonl ( 0xff000000 ) 24 #define INADDR_NET_CLASSB htonl ( 0xffff0000 ) 25 #define INADDR_NET_CLASSC htonl ( 0xffffff00 ) 28 ( ( (addr) & htonl ( 0x80000000 ) ) == htonl ( 0x00000000 ) ) 30 ( ( (addr) & htonl ( 0xc0000000 ) ) == htonl ( 0x80000000 ) ) 32 ( ( (addr) & htonl ( 0xe0000000 ) ) == htonl ( 0xc0000000 ) ) 34 ( ( (addr) & htonl ( 0xf0000000 ) ) == htonl ( 0xe0000000 ) )
|
/dports/emulators/qemu-utils/qemu-4.2.1/roms/ipxe/src/include/ipxe/ |
H A D | in.h | 19 #define INADDR_NONE htonl ( 0xffffffff ) 21 #define INADDR_BROADCAST htonl ( 0xffffffff ) 23 #define INADDR_NET_CLASSA htonl ( 0xff000000 ) 24 #define INADDR_NET_CLASSB htonl ( 0xffff0000 ) 25 #define INADDR_NET_CLASSC htonl ( 0xffffff00 ) 28 ( ( (addr) & htonl ( 0x80000000 ) ) == htonl ( 0x00000000 ) ) 30 ( ( (addr) & htonl ( 0xc0000000 ) ) == htonl ( 0x80000000 ) ) 32 ( ( (addr) & htonl ( 0xe0000000 ) ) == htonl ( 0xc0000000 ) ) 34 ( ( (addr) & htonl ( 0xf0000000 ) ) == htonl ( 0xe0000000 ) )
|
/dports/emulators/qemu42/qemu-4.2.1/roms/ipxe/src/include/ipxe/ |
H A D | in.h | 19 #define INADDR_NONE htonl ( 0xffffffff ) 21 #define INADDR_BROADCAST htonl ( 0xffffffff ) 23 #define INADDR_NET_CLASSA htonl ( 0xff000000 ) 24 #define INADDR_NET_CLASSB htonl ( 0xffff0000 ) 25 #define INADDR_NET_CLASSC htonl ( 0xffffff00 ) 28 ( ( (addr) & htonl ( 0x80000000 ) ) == htonl ( 0x00000000 ) ) 30 ( ( (addr) & htonl ( 0xc0000000 ) ) == htonl ( 0x80000000 ) ) 32 ( ( (addr) & htonl ( 0xe0000000 ) ) == htonl ( 0xc0000000 ) ) 34 ( ( (addr) & htonl ( 0xf0000000 ) ) == htonl ( 0xe0000000 ) )
|
/dports/net/ipxe/ipxe-2265a65/src/include/ipxe/ |
H A D | in.h | 19 #define INADDR_NONE htonl ( 0xffffffff ) 21 #define INADDR_BROADCAST htonl ( 0xffffffff ) 23 #define INADDR_NET_CLASSA htonl ( 0xff000000 ) 24 #define INADDR_NET_CLASSB htonl ( 0xffff0000 ) 25 #define INADDR_NET_CLASSC htonl ( 0xffffff00 ) 28 ( ( (addr) & htonl ( 0x80000000 ) ) == htonl ( 0x00000000 ) ) 30 ( ( (addr) & htonl ( 0xc0000000 ) ) == htonl ( 0x80000000 ) ) 32 ( ( (addr) & htonl ( 0xe0000000 ) ) == htonl ( 0xc0000000 ) ) 34 ( ( (addr) & htonl ( 0xf0000000 ) ) == htonl ( 0xe0000000 ) )
|
/dports/emulators/qemu-guest-agent/qemu-5.0.1/roms/ipxe/src/include/ipxe/ |
H A D | in.h | 19 #define INADDR_NONE htonl ( 0xffffffff ) 21 #define INADDR_BROADCAST htonl ( 0xffffffff ) 23 #define INADDR_NET_CLASSA htonl ( 0xff000000 ) 24 #define INADDR_NET_CLASSB htonl ( 0xffff0000 ) 25 #define INADDR_NET_CLASSC htonl ( 0xffffff00 ) 28 ( ( (addr) & htonl ( 0x80000000 ) ) == htonl ( 0x00000000 ) ) 30 ( ( (addr) & htonl ( 0xc0000000 ) ) == htonl ( 0x80000000 ) ) 32 ( ( (addr) & htonl ( 0xe0000000 ) ) == htonl ( 0xc0000000 ) ) 34 ( ( (addr) & htonl ( 0xf0000000 ) ) == htonl ( 0xe0000000 ) )
|