Home
last modified time | relevance | path

Searched refs:ntohl (Results 251 – 275 of 351) sorted by relevance

1...<<1112131415

/openbsd/regress/sys/netinet/in_pcbbind/
H A Druntest.c381 if (!IN_MULTICAST( ntohl(sin->sin_addr.s_addr) )) { in main()
/openbsd/regress/usr.sbin/bgpd/unittests/
H A Drde_aspa_test.c550 return (ntohl(as)); in aspath_extract()
/openbsd/gnu/usr.bin/perl/
H A DXSUB.h619 # define ntohl PerlSock_ntohl macro
/openbsd/regress/lib/libc/asr/bin/
H A Dcommon.c510 *u32 = ntohl(*u32); in unpack_u32()
/openbsd/usr.sbin/ospfd/
H A Dlsupdate.c246 nlsa = ntohl(nlsa); in recv_ls_update()
/openbsd/usr.sbin/ospf6d/
H A Dlsupdate.c253 nlsa = ntohl(nlsa); in recv_ls_update()
/openbsd/gnu/usr.bin/perl/win32/
H A Dwin32sck.c334 return ntohl(netlong); in win32_ntohl()
/openbsd/usr.sbin/ldpd/
H A Dparse.y1654 if (ntohl(cur) < ntohl(ip) || ip == 0) in get_rtr_id()
H A Dpacket.c85 if (ia && IN_MULTICAST(ntohl(dst->v4.s_addr))) { in send_packet()
/openbsd/usr.sbin/bgpd/
H A Drde_trie.c86 v = ntohl(a->s_addr ^ b->s_addr); in inet4findmsb()
H A Dconfig.c479 cur = ntohl(cur); in get_bgpid()
/openbsd/sbin/iked/
H A Dutil.c555 return (33 - ffs(ntohl(ina))); in mask2prefixlen()
/openbsd/libexec/snmpd/snmpd_metrics/
H A Dmib.c1297 agentx_varbind_printf(vb, "0x%08x", ntohl(s.hostid)); in mib_pfinfo()
2770 addr.sin_addr.s_addr = htonl(ntohl(addr.sin_addr.s_addr) + 1); in mib_ipaddr()
2984 if (ntohl(kr->nexthop.s_addr) < ntohl(*nhaddr)) { in mib_ipfroute()
2989 } else if (ntohl(kr->nexthop.s_addr) > ntohl(*nhaddr)) { in mib_ipfroute()
/openbsd/sys/net/
H A Dbpf.c266 sockp->sa_family = ntohl(af); in bpf_movein()
1983 return ntohl(v); in bpf_mbuf_ldw()
H A Dif_mpw.c523 exp = ntohl(shim->shim_label & MPLS_EXP_MASK) >> MPLS_EXP_OFFSET; in mpw_input()
H A Dpfvar.h810 d = ntohl(s[0]); \
812 d += ntohl(s[1]); \
/openbsd/sys/netinet6/
H A Dicmp6.c955 notifymtu = ntohl(icmp6->icmp6_mtu); in icmp6_notify_error()
979 u_int mtu = ntohl(icmp6->icmp6_mtu); in icmp6_mtudisc_update()
/openbsd/sys/nfs/
H A Dnfs_socket.c635 len = ntohl(len) & ~0x80000000; in nfs_receive()
1726 recmark = ntohl(recmark); in nfsrv_getstream()
/openbsd/usr.sbin/smtpd/
H A Dto.c121 addr = ntohl(addr); in sa_to_text()
/openbsd/lib/libc/asr/
H A Dgethostnamadr_async.c682 n->n.n_net = ntohl(addr->s_addr); in netent_from_hostent()
/openbsd/sys/netinet/
H A Dip_input.c366 if ((ntohl(ip->ip_dst.s_addr) >> IN_CLASSA_NSHIFT) == IN_LOOPBACKNET || in ipv4_check()
367 (ntohl(ip->ip_src.s_addr) >> IN_CLASSA_NSHIFT) == IN_LOOPBACKNET) { in ipv4_check()
H A Dip_output.c145 if ((ntohl(ip->ip_dst.s_addr) >> IN_CLASSA_NSHIFT) == 0) { in ip_output()
560 ntohl(tdb->tdb_spi), tdb->tdb_mtu, rt, rt_mtucloned); in ip_output_ipsec_pmtu_update()
/openbsd/sbin/ipsecctl/
H A Dipsecctl.c936 tmp = ntohl(ipa->addr32[j]); in unmask()
/openbsd/sbin/dhclient/
H A Ddhclient.c2676 expiry = ntohl(expiry); in lease_expiry()
2698 renewal = ntohl(renewal); in lease_renewal()
2718 rebind = ntohl(rebind); in lease_rebind()
/openbsd/usr.sbin/relayd/
H A Drelayd.c1671 IN_MULTICAST(ntohl(sin4->sin_addr.s_addr))) in map6to4()
1689 IN_MULTICAST(ntohl(sin4->sin_addr.s_addr))) in map4to6()

1...<<1112131415