xsctp_inpcb
struct xsctp_inpcb xinpcb;
n = (number_of_endpoints + 1) * sizeof(struct xsctp_inpcb) +
error = SYSCTL_OUT(req, &xinpcb, sizeof(struct xsctp_inpcb));
memset((void *)&xinpcb, 0, sizeof(struct xsctp_inpcb));
error = SYSCTL_OUT(req, &xinpcb, sizeof(struct xsctp_inpcb));
sctp_process_inpcb(struct xsctp_inpcb *xinpcb,
struct xsctp_inpcb *xinpcb;
xinpcb = (struct xsctp_inpcb *)(buf + offset);
offset += sizeof(struct xsctp_inpcb);
xinpcb = (struct xsctp_inpcb *)(buf + offset);
offset += sizeof(struct xsctp_inpcb);
struct xsctp_inpcb *xinpcb;
xinpcb = (struct xsctp_inpcb *)(void *)buf;
offset = sizeof(struct xsctp_inpcb);
xinpcb = (struct xsctp_inpcb *)(void *)(buf + offset);
offset += sizeof(struct xsctp_inpcb);