Home
last modified time | relevance | path

Searched refs:inet_ntop (Results 1 – 25 of 51) sorted by relevance

123

/xnu-8020.101.4/bsd/netinet/ !
H A Dtcp_log.c214 inet_ntop(AF_INET6, (void *)&inp->in6p_laddr, lbuf, lbuflen); in tcp_log_inp_addresses()
215 inet_ntop(AF_INET6, (void *)&inp->in6p_faddr, fbuf, fbuflen); in tcp_log_inp_addresses()
217 inet_ntop(AF_INET, (void *)&inp->inp_laddr.s_addr, lbuf, lbuflen); in tcp_log_inp_addresses()
218 inet_ntop(AF_INET, (void *)&inp->inp_faddr.s_addr, fbuf, fbuflen); in tcp_log_inp_addresses()
639 inet_ntop(AF_INET6, &ip6->ip6_src, lbuf, lbuflen); in tcp_log_pkt_addresses()
640 inet_ntop(AF_INET6, &ip6->ip6_dst, fbuf, fbuflen); in tcp_log_pkt_addresses()
642 inet_ntop(AF_INET6, &ip6->ip6_dst, lbuf, lbuflen); in tcp_log_pkt_addresses()
643 inet_ntop(AF_INET6, &ip6->ip6_src, fbuf, fbuflen); in tcp_log_pkt_addresses()
659 inet_ntop(AF_INET, (void *)&ip->ip_src.s_addr, lbuf, lbuflen); in tcp_log_pkt_addresses()
660 inet_ntop(AF_INET, (void *)&ip->ip_dst.s_addr, fbuf, fbuflen); in tcp_log_pkt_addresses()
[all …]
H A Dip_icmp.c451 inet_ntop(AF_INET, &ip->ip_src, src_str, sizeof(src_str)); in icmp_input()
452 inet_ntop(AF_INET, &ip->ip_dst, dst_str, sizeof(dst_str)); in icmp_input()
647 inet_ntop(AF_INET, &ip->ip_src, src_str, sizeof(src_str)); in icmp_input()
648 inet_ntop(AF_INET, &ip->ip_dst, dst_str, sizeof(dst_str)); in icmp_input()
771 inet_ntop(AF_INET, &ip->ip_src, src_str, sizeof(src_str)); in icmp_input()
772 inet_ntop(AF_INET, &icp->icmp_ip.ip_dst, dst_str, sizeof(dst_str)); in icmp_input()
773 inet_ntop(AF_INET, &icp->icmp_gwaddr, gw_str, sizeof(gw_str)); in icmp_input()
1022 inet_ntop(AF_INET, &ip->ip_src, src_str, sizeof(src_str)); in icmp_send()
1023 inet_ntop(AF_INET, &ip->ip_dst, dst_str, sizeof(dst_str)); in icmp_send()
H A Din_arp.c533 if_name(lr->lr_ifp), inet_ntop(AF_INET, in arp_llreach_reachable()
614 type, why, inet_ntop(AF_INET, in arp_llreach_alloc()
964 __func__, inet_ntop(AF_INET, in arp_rtrequest()
1185 __func__, ifscope, inet_ntop(AF_INET, addr, tmp, in arp_lookup_route()
1403 __func__, inet_ntop(AF_INET, &net_dest->sin_addr, in arp_lookup_ip()
1788 inet_ntop(AF_INET, &sender_ip->sin_addr, ipv4str, in arp_ip_handle_input()
1877 inet_ntop(AF_INET, in arp_ip_handle_input()
1967 inet_ntop(AF_INET, &sender_ip->sin_addr, in arp_ip_handle_input()
2058 inet_ntop(AF_INET, &sender_ip->sin_addr, ipv4str, in arp_ip_handle_input()
2069 inet_ntop(AF_INET, &sender_ip->sin_addr, in arp_ip_handle_input()
H A Dtcp_cc.c203 inet_ntop(SOCK_DOM(inp->inp_socket), in tcp_ccdbg_trace()
209 inet_ntop(SOCK_DOM(inp->inp_socket), in tcp_ccdbg_trace()
H A Digmp_var.h183 inet_ntop(AF_INET, &(addr), _igmp_inet_buf, \
H A Dip_input.c1399 inet_ntop(AF_INET, &ip->ip_src, src_str, sizeof(src_str)); in ip_input_check_interface()
1400 inet_ntop(AF_INET, &ip->ip_dst, dst_str, sizeof(dst_str)); in ip_input_check_interface()
1410 inet_ntop(AF_INET, &ip->ip_src, src_str, sizeof(src_str)); in ip_input_check_interface()
1411 inet_ntop(AF_INET, &ip->ip_dst, dst_str, sizeof(dst_str)); in ip_input_check_interface()
2872 inet_ntop(AF_INET, &ip->ip_src, in ip_dooptions()
2874 inet_ntop(AF_INET, &ip->ip_dst, in ip_dooptions()
H A Din.h951 extern const char *inet_ntop(int, const void *, char *, socklen_t); /* in libkern*/
/xnu-8020.101.4/bsd/skywalk/namespace/ !
H A Dnetns.c331 inet_ntop(LEN_TO_AF(namespace->ns_addr_len), in netns_ns_free()
481 PROTO_STR(proto), inet_ntop(LEN_TO_AF(addr_len), addr, in _netns_get_ns()
577 inet_ntop(LEN_TO_AF(namespace->ns_addr_len), in _netns_reserve_common()
593 "%d bsd %d pf", inet_ntop(LEN_TO_AF(namespace->ns_addr_len), in _netns_reserve_common()
818 inet_ntop(LEN_TO_AF(namespace->ns_addr_len), in _netns_reserve_common()
856 inet_ntop(LEN_TO_AF(namespace->ns_addr_len), in _netns_release_common()
865 inet_ntop(LEN_TO_AF(namespace->ns_addr_len), in _netns_release_common()
921 inet_ntop(LEN_TO_AF(nstoken->nt_addr_len), in netns_clear_ifnet()
966 inet_ntop(LEN_TO_AF(addr_len), addr, tmp_ip_str, in _netns_reserve_kpi_common()
990 inet_ntop(LEN_TO_AF(nt->nt_addr_len), in _netns_reserve_kpi_common()
[all …]
/xnu-8020.101.4/bsd/net/ !
H A Dnat464_utils.c178 inet_ntop(AF_INET6, (void *)addr, buf, sizeof(buf)))); in nat464_synthesize_ipv6()
244 inet_ntop(AF_INET, (void *)addrv4, buf, sizeof(buf)))); in nat464_synthesize_ipv4()
532 inet_ntop(AF_INET, (void *)&ip4->ip_src, buf, sizeof(buf)), in nat464_translate_icmp_ip()
533 inet_ntop(AF_INET, (void *)&ip4->ip_dst, buf, sizeof(buf)))); in nat464_translate_icmp_ip()
559 inet_ntop(AF_INET6, (void *)&ip6->ip6_src, buf2, sizeof(buf2)), in nat464_translate_icmp_ip()
560 inet_ntop(AF_INET6, (void *)&ip6->ip6_dst, buf2, sizeof(buf2)))); in nat464_translate_icmp_ip()
708 inet_ntop(AF_INET, (void *)&ip4->ip_src, buf1, sizeof(buf1)), in nat464_translate_64()
709 inet_ntop(AF_INET, (void *)&ip4->ip_dst, buf2, sizeof(buf2)))); in nat464_translate_64()
758 inet_ntop(AF_INET6, (void *)&ip6->ip6_src, buf1, sizeof(buf1)), in nat464_translate_46()
759 inet_ntop(AF_INET6, (void *)&ip6->ip6_dst, buf2, sizeof(buf2)))); in nat464_translate_46()
H A Droute.c3147 (void) inet_ntop(af, &SIN(dst)->sin_addr.s_addr, in rt_lookup_common()
3150 (void) inet_ntop(af, &SIN6(dst)->sin6_addr, in rt_lookup_common()
3155 (void) inet_ntop(af, &SIN(netmask)->sin_addr.s_addr, in rt_lookup_common()
3159 (void) inet_ntop(af, &SIN6(netmask)->sin6_addr, in rt_lookup_common()
3432 (void) inet_ntop(AF_INET, &SIN(dst)->sin_addr.s_addr, in rtinit_locked()
3435 (void) inet_ntop(AF_INET6, &SIN6(dst)->sin6_addr, in rtinit_locked()
4347 (void) inet_ntop(AF_INET, in rt_str4()
4362 (void) inet_ntop(AF_INET, in rt_str4()
4378 (void) inet_ntop(AF_INET6, in rt_str6()
4393 (void) inet_ntop(AF_INET6, in rt_str6()
H A Dpf_osfp.c141 (void) inet_ntop(AF_INET, &ip->ip_src, srcname, in pf_osfp_fingerprint_hdr()
149 (void) inet_ntop(AF_INET6, &ip6->ip6_src, srcname, in pf_osfp_fingerprint_hdr()
H A Dif_ports_used.c898 inet_ntop(PF_INET, &npi->npi_local_addr_in.s_addr, in net_port_info_log_npi()
900 inet_ntop(PF_INET, &npi->npi_foreign_addr_in.s_addr, in net_port_info_log_npi()
903 inet_ntop(PF_INET6, &npi->npi_local_addr_in6, in net_port_info_log_npi()
905 inet_ntop(PF_INET6, &npi->npi_foreign_addr_in6, in net_port_info_log_npi()
/xnu-8020.101.4/libkern/conf/ !
H A DMakefile.x86_6411 inet_ntop.o_CWARNFLAGS_ADD += -Wno-shorten-64-to-32 -Wno-implicit-int-conversion
H A Dfiles52 libkern/net/inet_ntop.c standard
/xnu-8020.101.4/bsd/kern/ !
H A Dsocket_flows.c226 inet_ntop(AF_INET6, addr, local, sizeof(local)); in soflow_entry_log()
228 inet_ntop(AF_INET6, addr, remote, sizeof(local)); in soflow_entry_log()
232 inet_ntop(AF_INET, addr, local, sizeof(local)); in soflow_entry_log()
234 inet_ntop(AF_INET, addr, remote, sizeof(local)); in soflow_entry_log()
1022 inet_ntop(AF_INET6, addr, local, sizeof(local)); in soflow_nstat_provider_request_vals()
1024 inet_ntop(AF_INET6, addr, remote, sizeof(local)); in soflow_nstat_provider_request_vals()
1028 inet_ntop(AF_INET, addr, local, sizeof(local)); in soflow_nstat_provider_request_vals()
1030 inet_ntop(AF_INET, addr, remote, sizeof(local)); in soflow_nstat_provider_request_vals()
H A Dtracker.c369 inet_ntop(AF_INET6, addr, addr_buffer, sizeof(addr_buffer)); in tracker_entry_log()
373 inet_ntop(AF_INET, addr, addr_buffer, sizeof(addr_buffer)); in tracker_entry_log()
/xnu-8020.101.4/libkern/net/ !
H A Dinet_ntop.c45 inet_ntop(int af, const void *src, char *dst, socklen_t size) in inet_ntop() function
/xnu-8020.101.4/bsd/netinet6/ !
H A Din6_src.c312 (void) inet_ntop(AF_INET6, &dst, s_dst, sizeof(s_src)); in in6_selectsrc_core()
315 (void) inet_ntop(AF_INET6, tmp, s_src, sizeof(s_src)); in in6_selectsrc_core()
336 (void) inet_ntop(AF_INET6, &ia->ia_addr.sin6_addr, in in6_selectsrc_core()
629 (void) inet_ntop(AF_INET6, &dst, s_dst, sizeof(s_src)); in in6_selectsrc_core()
632 (void) inet_ntop(AF_INET6, tmp, s_src, sizeof(s_src)); in in6_selectsrc_core()
868 (void) inet_ntop(AF_INET6, &src, s_src, sizeof(s_src)); in selectroute()
869 (void) inet_ntop(AF_INET6, dst, s_dst, sizeof(s_dst)); in selectroute()
H A Dip6_input.c752 inet_ntop(AF_INET6, &ip6->ip6_src, src_str, sizeof(src_str)); in ip6_input_check_interface()
753 inet_ntop(AF_INET6, &ip6->ip6_dst, dst_str, sizeof(dst_str)); in ip6_input_check_interface()
764 inet_ntop(AF_INET6, &ip6->ip6_src, src_str, sizeof(src_str)); in ip6_input_check_interface()
765 inet_ntop(AF_INET6, &ip6->ip6_dst, dst_str, sizeof(dst_str)); in ip6_input_check_interface()
H A Dnd6.c2822 inet_ntop(AF_INET6, in nd6_rtrequest()
4938 "list (%s)\n", inet_ntop(AF_INET6,
4963 "list (%s)\n", inet_ntop(AF_INET6,
5013 "prefix list (%s)\n", inet_ntop(AF_INET6,
5038 inet_ntop(AF_INET6, &s6.sin6_addr,
5064 inet_ntop(AF_INET6, &p.prefix.sin6_addr,
5089 inet_ntop(AF_INET6, &s6.sin6_addr,
/xnu-8020.101.4/bsd/skywalk/nexus/flowswitch/flow/ !
H A Dflow_manager.c870 (void) inet_ntop(AF_INET, &SIN(saddr)->sin_addr, src_s, in flow_req_dump()
875 (void) inet_ntop(AF_INET6, &SIN6(saddr)->sin6_addr, src_s, in flow_req_dump()
884 (void) inet_ntop(AF_INET, &SIN(daddr)->sin_addr, dst_s, in flow_req_dump()
889 (void) inet_ntop(AF_INET6, &SIN6(saddr)->sin6_addr, dst_s, in flow_req_dump()
H A Dflow_route.c1243 "(err %d)", inet_ntop(AF_INET, in flow_route_select_laddr()
1268 "(err %d)", inet_ntop(AF_INET6, in flow_route_select_laddr()
1282 inet_ntop(AF_INET6, &SIN6(dst)->sin6_addr, in flow_route_select_laddr()
1284 inet_ntop(AF_INET6, &SIN6(src)->sin6_addr, in flow_route_select_laddr()
H A Dflow_entry.c723 (void) inet_ntop(af, &fk->fk_src, src_s, sizeof(src_s)); in fk_as_string()
724 (void) inet_ntop(af, &fk->fk_dst, dst_s, sizeof(dst_s)); in fk_as_string()
/xnu-8020.101.4/bsd/skywalk/nexus/netif/ !
H A Dnx_netif_netagent.c132 inet_ntop(AF_INET6, addr, addrbuf, sizeof(addrbuf))); in get_ipv6_ula()
588 inet_ntop(AF_INET6, &nfr->nfr_saddr.sin6.sin6_addr, in nx_netif_netagent_flow_add()
591 inet_ntop(AF_INET6, &nfr->nfr_daddr.sin6.sin6_addr, in nx_netif_netagent_flow_add()
/xnu-8020.101.4/tests/ !
H A Dnet_bridge.c416 inet_ntop(AF_INET, &addr, ntopbuf_ip, sizeof(ntopbuf_ip)); in siocaifaddr()
417 inet_ntop(AF_INET, &sin->sin_addr, ntopbuf_mask, sizeof(ntopbuf_mask)); in siocaifaddr()
462 inet_ntop(AF_INET6, addr, ntopbuf_ip, sizeof(ntopbuf_ip));
743 return inet_ntop(af, &u, buf, buf_size); in inet_ptrtop()
1823 inet_ntop(AF_INET6, &p->ip6, ntopbuf_ip, sizeof(ntopbuf_ip)); in switch_port_list_add_port()
2037 inet_ntop(af, &scan->ifbmne_ip_addr, in switch_port_list_verify_mac_nat()
2039 inet_ntop(af, &ip, in switch_port_list_verify_mac_nat()
3485 inet_ntop(scan->ifbmne_af, &scan->ifbmne_ip, in bridge_mac_nat_entries_log()
3662 inet_ntop(AF_INET6, &bridge_ipv6_addr, ntopbuf_ip, in bridge_setup()

123