Home
last modified time | relevance | path

Searched refs:ntohl (Results 176 – 200 of 351) sorted by relevance

12345678910>>...15

/openbsd/sys/net/
H A Dif_mpe.c472 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 Dpf_norm.c1235 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 Dt_getrusage.c182 sin.sin_addr.s_addr = ntohl(INADDR_LOOPBACK); in ATF_TC_BODY()
/openbsd/sbin/dhcpleased/
H A Dengine.c877 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 Dutil.c510 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 Dval_sigcrypt.c1422 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 Dval_sigcrypt.c1422 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 Dasr_utils.c216 *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 Dpacket.c63 if (IN_MULTICAST(ntohl(dst->sin_addr.s_addr))) in send_packet()
/openbsd/gnu/usr.bin/perl/win32/include/sys/
H A Dsocket.h114 #define ntohl win32_ntohl macro
/openbsd/lib/libpcap/
H A Dgencode.c1010 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 Dnametoaddr.c53 #define NTOHL(x) (x) = ntohl(x)
/openbsd/usr.sbin/npppd/pptp/
H A Dpptp_ctrl.c830 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 Dtcp_subr.c691 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 Dtcp_input.c422 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 Dnfs_vfsops.c305 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 Dlog.c629 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 Dprint-dvmrp.c324 printf(" timer %d", (int)ntohl(prune_timer.i)); in print_prune()
/openbsd/include/rpc/
H A Dxdr.h223 #define IXDR_GET_LONG(buf) ((long)ntohl((unsigned long)*(buf)++))
/openbsd/usr.sbin/dvmrpd/
H A Dpacket.c76 if (IN_MULTICAST(ntohl(dst->sin_addr.s_addr))) in send_packet()
/openbsd/libexec/spamd/
H A Dsync.c333 expire = ntohl(sd->sd_expire); in sync_recv()
354 expire = ntohl(sd->sd_expire); in sync_recv()
/openbsd/sys/lib/libsa/
H A Dbootp.c169 d->xid, ntohl(bp->bp_xid)); in bootprecv()
/openbsd/games/monop/
H A Dcards.c98 dp->offsets[i] = ntohl(dp->offsets[i]); in set_up()
/openbsd/usr.sbin/ospf6d/
H A Dlsack.c168 if (ntohl(lsa_hdr->seq_num) == RESV_SEQ_NUM) { in lsa_hdr_check()
/openbsd/usr.sbin/ospfd/
H A Dlsack.c172 if (ntohl(lsa_hdr->seq_num) == RESV_SEQ_NUM) { in lsa_hdr_check()

12345678910>>...15