Searched refs:xladdr (Results 1 – 3 of 3) sorted by relevance
/freebsd/usr.bin/netstat/ |
H A D | sctp.c | 89 struct xsctp_laddr *xladdr; member 157 struct xsctp_laddr *xladdr; in sctp_skip_xinpcb_ifneed() local 160 xladdr = (struct xsctp_laddr *)(buf + *offset); in sctp_skip_xinpcb_ifneed() 162 if (xladdr->last == 1) in sctp_skip_xinpcb_ifneed() 175 xladdr = (struct xsctp_laddr *)(buf + *offset); in sctp_skip_xinpcb_ifneed() 177 if (xladdr->last == 1) in sctp_skip_xinpcb_ifneed() 204 struct xsctp_laddr *xladdr; in sctp_process_tcb() local 216 xladdr = (struct xsctp_laddr *)(buf + *offset); in sctp_process_tcb() 218 if (xladdr->last == 1) in sctp_process_tcb() 228 xl->xladdr = xladdr; in sctp_process_tcb() [all …]
|
/freebsd/usr.bin/sockstat/ |
H A D | sockstat.c | 394 struct xsctp_laddr *xladdr; in gather_sctp() local 449 xladdr = (struct xsctp_laddr *)(void *)(buf + offset); in gather_sctp() 451 if (xladdr->last == 1) in gather_sctp() 455 switch (xladdr->address.sa.sa_family) { in gather_sctp() 460 &xladdr->address.sin.sin_addr)) in gather_sctp() 464 &xladdr->address.sin.sin_addr, in gather_sctp() 469 &xladdr->address.sin6.sin6_addr)) in gather_sctp() 472 &xladdr->address.sin6.sin6_addr, in gather_sctp() 477 xladdr->address.sa.sa_family); in gather_sctp() 548 xladdr = (struct xsctp_laddr *)(void *)(buf + in gather_sctp() [all …]
|
/freebsd/sys/netinet/ |
H A D | sctp_sysctl.c | 199 struct xsctp_laddr xladdr; in sctp_sysctl_copy_out_local_addresses() local 320 memset((void *)&xladdr, 0, sizeof(struct xsctp_laddr)); in sctp_sysctl_copy_out_local_addresses() 321 memcpy((void *)&xladdr.address, (const void *)&sctp_ifa->address, sizeof(union sctp_sockstore)); in sctp_sysctl_copy_out_local_addresses() 324 error = SYSCTL_OUT(req, &xladdr, sizeof(struct xsctp_laddr)); in sctp_sysctl_copy_out_local_addresses() 338 memset((void *)&xladdr, 0, sizeof(struct xsctp_laddr)); in sctp_sysctl_copy_out_local_addresses() 339 … memcpy((void *)&xladdr.address, (const void *)&laddr->ifa->address, sizeof(union sctp_sockstore)); in sctp_sysctl_copy_out_local_addresses() 340 xladdr.start_time.tv_sec = (uint32_t)laddr->start_time.tv_sec; in sctp_sysctl_copy_out_local_addresses() 341 xladdr.start_time.tv_usec = (uint32_t)laddr->start_time.tv_usec; in sctp_sysctl_copy_out_local_addresses() 344 error = SYSCTL_OUT(req, &xladdr, sizeof(struct xsctp_laddr)); in sctp_sysctl_copy_out_local_addresses() 353 memset((void *)&xladdr, 0, sizeof(struct xsctp_laddr)); in sctp_sysctl_copy_out_local_addresses() [all …]
|