| /xnu-12377.61.12/bsd/netinet/ |
| H A D | inp_log.c | 47 socklen_t lbuflen, char *__sized_by(fbuflen) fbuf, in inp_log_addresses() 56 strlcpy(fbuf, "<IPv6-redacted>", fbuflen); in inp_log_addresses() 59 strlcpy(fbuf, "<IPv4-redacted>", fbuflen); in inp_log_addresses() 75 inet_ntop(AF_INET6, (void *)&addr6, fbuf, fbuflen); in inp_log_addresses() 77 inet_ntop(AF_INET6, (void *)&inp->in6p_faddr, fbuf, fbuflen); in inp_log_addresses() 81 inet_ntop(AF_INET, (void *)&inp->inp_faddr.s_addr, fbuf, fbuflen); in inp_log_addresses()
|
| H A D | udp_log.c | 457 char *__sized_by(fbuflen) fbuf, socklen_t fbuflen) in udp_log_pkt_addresses() 487 strlcpy(fbuf, "<IPv6-redacted>", fbuflen); in udp_log_pkt_addresses() 490 inet_ntop(AF_INET6, &dst_addr6, fbuf, fbuflen); in udp_log_pkt_addresses() 493 inet_ntop(AF_INET6, &src_addr6, fbuf, fbuflen); in udp_log_pkt_addresses() 507 strlcpy(fbuf, "<IPv4-redacted>", fbuflen); in udp_log_pkt_addresses() 510 inet_ntop(AF_INET, (void *)&ip->ip_dst.s_addr, fbuf, fbuflen); in udp_log_pkt_addresses() 513 inet_ntop(AF_INET, (void *)&ip->ip_src.s_addr, fbuf, fbuflen); in udp_log_pkt_addresses()
|
| H A D | in_pcblist.c | 602 char fbuf[MAX_IPv6_STR_LEN + 6] = {}; in inpcb_get_if_ports_used() local 611 fbuf, sizeof(fbuf)); in inpcb_get_if_ports_used() 616 fbuf, sizeof(fbuf)); in inpcb_get_if_ports_used() 622 lbuf, ntohs(inp->inp_lport), fbuf, ntohs(inp->inp_fport), in inpcb_get_if_ports_used() 699 char fbuf[MAX_IPv6_STR_LEN + 6] = {}; in inpcb_get_if_ports_used() local 708 fbuf, sizeof(fbuf)); in inpcb_get_if_ports_used() 713 fbuf, sizeof(fbuf)); in inpcb_get_if_ports_used() 719 lbuf, ntohs(inp->inp_lport), fbuf, ntohs(inp->inp_fport), in inpcb_get_if_ports_used()
|
| H A D | tcp_log.c | 181 char *__sized_by(fbuflen) fbuf, socklen_t fbuflen) in tcp_log_inp_addresses() 189 strlcpy(fbuf, "<IPv6-redacted>", fbuflen); in tcp_log_inp_addresses() 192 strlcpy(fbuf, "<IPv4-redacted>", fbuflen); in tcp_log_inp_addresses() 208 inet_ntop(AF_INET6, (void *)&addr6, fbuf, fbuflen); in tcp_log_inp_addresses() 210 inet_ntop(AF_INET6, (void *)&inp->in6p_faddr, fbuf, fbuflen); in tcp_log_inp_addresses() 214 inet_ntop(AF_INET, (void *)&inp->inp_faddr.s_addr, fbuf, fbuflen); in tcp_log_inp_addresses() 688 char *__sized_by(fbuflen) fbuf, socklen_t fbuflen) in tcp_log_pkt_addresses() 720 strlcpy(fbuf, "<IPv6-redacted>", fbuflen); in tcp_log_pkt_addresses() 723 inet_ntop(AF_INET6, &dst_addr6, fbuf, fbuflen); in tcp_log_pkt_addresses() 726 inet_ntop(AF_INET6, &src_addr6, fbuf, fbuflen); in tcp_log_pkt_addresses() [all …]
|
| H A D | inp_log.h | 39 socklen_t lbuflen, char *__sized_by(fbuflen) fbuf,
|
| /xnu-12377.61.12/bsd/net/ |
| H A D | if_ports_used.c | 1125 char fbuf[MAX_IPv6_STR_LEN] = {}; in net_port_info_log_npi() local 1136 fbuf, sizeof(fbuf)); in net_port_info_log_npi() 1141 fbuf, sizeof(fbuf)); in net_port_info_log_npi() 1151 fbuf, ntohs(npi->npi_foreign_port), in net_port_info_log_npi() 1310 char fbuf[MAX_IPv6_STR_LEN] = {}; in net_port_info_log_una_wake_event() local 1316 fbuf, sizeof(fbuf)); in net_port_info_log_una_wake_event() 1321 fbuf, sizeof(fbuf)); in net_port_info_log_una_wake_event() 1329 fbuf, ntohs(ev->una_wake_pkt_foreign_port), in net_port_info_log_una_wake_event() 1339 char fbuf[MAX_IPv6_STR_LEN] = {}; in net_port_info_log_wake_event() local 1345 fbuf, sizeof(fbuf)); in net_port_info_log_wake_event() [all …]
|
| /xnu-12377.61.12/bsd/skywalk/namespace/ |
| H A D | netns.c | 1852 char fbuf[MAX_IPv6_STR_LEN + 6] = {}; in netns_local_port_scan_flow_entry() local 1864 fbuf, sizeof(fbuf)); in netns_local_port_scan_flow_entry() 1871 fbuf, sizeof(fbuf)); in netns_local_port_scan_flow_entry() 1879 lbuf, ntohs(lport), fbuf, ntohs(fport), in netns_local_port_scan_flow_entry() 1891 char fbuf[MAX_IPv6_STR_LEN + 6] = {}; in netns_local_port_scan_flow_entry() local 1903 fbuf, sizeof(fbuf)); in netns_local_port_scan_flow_entry() 1910 fbuf, sizeof(fbuf)); in netns_local_port_scan_flow_entry() 1918 lbuf, ntohs(lport), fbuf, ntohs(fport), in netns_local_port_scan_flow_entry()
|