/openbsd/sys/net/ |
H A D | if_mpe.c | 472 exp = ntohl(shim->shim_label & MPLS_EXP_MASK) >> MPLS_EXP_OFFSET; in mpe_input() 476 ttl = ntohl(shim->shim_label & MPLS_TTL_MASK); in mpe_input()
|
H A D | pf_norm.c | 1235 src->scrub->pfss_tsval0 = ntohl(tsval); in pf_normalize_tcp_init() 1236 src->scrub->pfss_tsval = ntohl(tsval); in pf_normalize_tcp_init() 1237 src->scrub->pfss_tsecr = ntohl(tsecr); in pf_normalize_tcp_init() 1338 tsval = ntohl(tsval); in pf_normalize_tcp_stateful() 1349 tsecr = ntohl(tsecr) - dst->scrub->pfss_ts_mod; in pf_normalize_tcp_stateful()
|
/openbsd/regress/lib/libc/sys/ |
H A D | t_getrusage.c | 182 sin.sin_addr.s_addr = ntohl(INADDR_LOOPBACK); in ATF_TC_BODY()
|
/openbsd/sbin/dhcpleased/ |
H A D | engine.c | 877 if (ntohl(dhcp_hdr->xid) != iface->xid) in parse_dhcp() 952 lease_time = ntohl(lease_time); in parse_dhcp() 1070 renewal_time = ntohl(renewal_time); in parse_dhcp() 1082 rebinding_time = ntohl(rebinding_time); in parse_dhcp() 1190 ipv6_only_time = ntohl(ipv6_only_time); in parse_dhcp() 1875 log_debug("dhcp_hdr xid: 0x%x", ntohl(dhcp_hdr->xid)); in log_dhcp_hdr()
|
/openbsd/usr.sbin/bgpd/ |
H A D | util.c | 510 return (ntohl(as)); in aspath_extract() 868 aa = ntohl(a->v4.s_addr & mask); in prefix_compare() 869 ba = ntohl(b->v4.s_addr & mask); in prefix_compare()
|
/openbsd/usr.sbin/unbound/validator/ |
H A D | val_sigcrypt.c | 1422 expi = ntohl(expi); in check_dates() 1423 incep = ntohl(incep); in check_dates() 1497 expi = ntohl(expi); in adjust_ttl() 1498 incep = ntohl(incep); in adjust_ttl() 1499 origttl = ntohl(origttl); in adjust_ttl()
|
/openbsd/sbin/unwind/libunbound/validator/ |
H A D | val_sigcrypt.c | 1422 expi = ntohl(expi); in check_dates() 1423 incep = ntohl(incep); in check_dates() 1497 expi = ntohl(expi); in adjust_ttl() 1498 incep = ntohl(incep); in adjust_ttl() 1499 origttl = ntohl(origttl); in adjust_ttl()
|
/openbsd/lib/libc/asr/ |
H A D | asr_utils.c | 216 *u32 = ntohl(*u32); in unpack_u32() 514 in_addr = ntohl(*((const in_addr_t *)addr)); in _asr_addr_as_fqdn()
|
/openbsd/usr.sbin/ripd/ |
H A D | packet.c | 63 if (IN_MULTICAST(ntohl(dst->sin_addr.s_addr))) in send_packet()
|
/openbsd/gnu/usr.bin/perl/win32/include/sys/ |
H A D | socket.h | 114 #define ntohl win32_ntohl macro
|
/openbsd/lib/libpcap/ |
H A D | gencode.c | 1010 b1 = gen_mcmp_nl(offset + 12, BPF_W, ntohl(a[3]), ntohl(m[3])); in gen_hostop6() 1011 b0 = gen_mcmp_nl(offset + 8, BPF_W, ntohl(a[2]), ntohl(m[2])); in gen_hostop6() 1013 b0 = gen_mcmp_nl(offset + 4, BPF_W, ntohl(a[1]), ntohl(m[1])); in gen_hostop6() 1015 b0 = gen_mcmp_nl(offset + 0, BPF_W, ntohl(a[0]), ntohl(m[0])); in gen_hostop6() 2311 tmp = gen_host(ntohl(sin->sin_addr.s_addr), in gen_scode()
|
H A D | nametoaddr.c | 53 #define NTOHL(x) (x) = ntohl(x)
|
/openbsd/usr.sbin/npppd/pptp/ |
H A D | pptp_ctrl.c | 830 if (_this->echo_seq != ntohl(echo_rp->identifier)) { in pptp_ctrl_recv_echo_rep() 833 _this->echo_seq , ntohl(echo_rp->identifier)); in pptp_ctrl_recv_echo_rep() 913 hdr->magic_cookie = ntohl(hdr->magic_cookie); in pptp_ctrl_input()
|
/openbsd/sys/netinet/ |
H A D | tcp_subr.c | 691 seq = ntohl(th.th_seq); in tcp6_ctlinput() 745 seq = ntohl(th->th_seq); in tcp_ctlinput() 815 seq = ntohl(th->th_seq); in tcp_ctlinput()
|
H A D | tcp_input.c | 422 iptos = (ntohl(ip6->ip6_flow) >> 20) & 0xff; in tcp_input() 508 opti.ts_val = ntohl(*(u_int32_t *)(optp + 4)); in tcp_input() 509 opti.ts_ecr = ntohl(*(u_int32_t *)(optp + 8)); in tcp_input() 518 th->th_seq = ntohl(th->th_seq); in tcp_input() 519 th->th_ack = ntohl(th->th_ack); in tcp_input() 2175 oi->ts_val = ntohl(oi->ts_val); in tcp_dooptions() 2177 oi->ts_ecr = ntohl(oi->ts_ecr); in tcp_dooptions() 2432 sack.start = ntohl(sack.start); in tcp_sack_option() 2434 sack.end = ntohl(sack.end); in tcp_sack_option() 3718 if (ntohl (th->th_seq) != sc->sc_iss) { in syn_cache_unreach()
|
/openbsd/sys/nfs/ |
H A D | nfs_vfsops.c | 305 proc0.p_ucred->cr_uid = ntohl(nfs_diskless.swap_ucred.cr_uid); in nfs_mountroot() 306 proc0.p_ucred->cr_gid = ntohl(nfs_diskless.swap_ucred.cr_gid); in nfs_mountroot() 311 proc0.p_ucred->cr_groups[i] = ntohl(nfs_diskless.swap_ucred.cr_groups[i]); in nfs_mountroot()
|
/openbsd/sbin/isakmpd/ |
H A D | log.c | 629 switch (ntohl(hdr->sa_family)) { in udp_cksum() 654 return (ntohl(hdr->sa_family) == AF_INET ? 0 : 0xFFFF); in udp_cksum()
|
/openbsd/usr.sbin/tcpdump/ |
H A D | print-dvmrp.c | 324 printf(" timer %d", (int)ntohl(prune_timer.i)); in print_prune()
|
/openbsd/include/rpc/ |
H A D | xdr.h | 223 #define IXDR_GET_LONG(buf) ((long)ntohl((unsigned long)*(buf)++))
|
/openbsd/usr.sbin/dvmrpd/ |
H A D | packet.c | 76 if (IN_MULTICAST(ntohl(dst->sin_addr.s_addr))) in send_packet()
|
/openbsd/libexec/spamd/ |
H A D | sync.c | 333 expire = ntohl(sd->sd_expire); in sync_recv() 354 expire = ntohl(sd->sd_expire); in sync_recv()
|
/openbsd/sys/lib/libsa/ |
H A D | bootp.c | 169 d->xid, ntohl(bp->bp_xid)); in bootprecv()
|
/openbsd/games/monop/ |
H A D | cards.c | 98 dp->offsets[i] = ntohl(dp->offsets[i]); in set_up()
|
/openbsd/usr.sbin/ospf6d/ |
H A D | lsack.c | 168 if (ntohl(lsa_hdr->seq_num) == RESV_SEQ_NUM) { in lsa_hdr_check()
|
/openbsd/usr.sbin/ospfd/ |
H A D | lsack.c | 172 if (ntohl(lsa_hdr->seq_num) == RESV_SEQ_NUM) { in lsa_hdr_check()
|