Searched refs:ntohl (Results 251 – 275 of 351) sorted by relevance
1...<<1112131415
381 if (!IN_MULTICAST( ntohl(sin->sin_addr.s_addr) )) { in main()
550 return (ntohl(as)); in aspath_extract()
619 # define ntohl PerlSock_ntohl macro
510 *u32 = ntohl(*u32); in unpack_u32()
246 nlsa = ntohl(nlsa); in recv_ls_update()
253 nlsa = ntohl(nlsa); in recv_ls_update()
334 return ntohl(netlong); in win32_ntohl()
1654 if (ntohl(cur) < ntohl(ip) || ip == 0) in get_rtr_id()
85 if (ia && IN_MULTICAST(ntohl(dst->v4.s_addr))) { in send_packet()
86 v = ntohl(a->s_addr ^ b->s_addr); in inet4findmsb()
479 cur = ntohl(cur); in get_bgpid()
555 return (33 - ffs(ntohl(ina))); in mask2prefixlen()
1297 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()
266 sockp->sa_family = ntohl(af); in bpf_movein()1983 return ntohl(v); in bpf_mbuf_ldw()
523 exp = ntohl(shim->shim_label & MPLS_EXP_MASK) >> MPLS_EXP_OFFSET; in mpw_input()
810 d = ntohl(s[0]); \812 d += ntohl(s[1]); \
955 notifymtu = ntohl(icmp6->icmp6_mtu); in icmp6_notify_error()979 u_int mtu = ntohl(icmp6->icmp6_mtu); in icmp6_mtudisc_update()
635 len = ntohl(len) & ~0x80000000; in nfs_receive()1726 recmark = ntohl(recmark); in nfsrv_getstream()
121 addr = ntohl(addr); in sa_to_text()
682 n->n.n_net = ntohl(addr->s_addr); in netent_from_hostent()
366 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()
145 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()
936 tmp = ntohl(ipa->addr32[j]); in unmask()
2676 expiry = ntohl(expiry); in lease_expiry()2698 renewal = ntohl(renewal); in lease_renewal()2718 rebind = ntohl(rebind); in lease_rebind()
1671 IN_MULTICAST(ntohl(sin4->sin_addr.s_addr))) in map6to4()1689 IN_MULTICAST(ntohl(sin4->sin_addr.s_addr))) in map4to6()