Searched refs:xig (Results 1 – 7 of 7) sorted by relevance
/freebsd/sys/netinet/ |
H A D | ip_divert.c | 641 struct xinpgen xig; in div_pcblist() local 653 req->oldidx = 2 * (sizeof xig) + n * sizeof(struct xinpcb); in div_pcblist() 660 bzero(&xig, sizeof(xig)); in div_pcblist() 661 xig.xig_len = sizeof xig; in div_pcblist() 662 xig.xig_count = V_dcb_count; in div_pcblist() 663 xig.xig_gen = V_dcb_gencnt; in div_pcblist() 664 xig.xig_sogen = so_gencnt; in div_pcblist() 665 error = SYSCTL_OUT(req, &xig, sizeof xig); in div_pcblist() 672 if (dcb->dcb_gencnt <= xig.xig_gen) { in div_pcblist() 694 xig.xig_gen = V_dcb_gencnt; in div_pcblist() [all …]
|
H A D | raw_ip.c | 1031 struct xinpgen xig; in rip_pcblist() local 1043 req->oldidx = 2 * (sizeof xig) + n * sizeof(struct xinpcb); in rip_pcblist() 1050 bzero(&xig, sizeof(xig)); in rip_pcblist() 1051 xig.xig_len = sizeof xig; in rip_pcblist() 1052 xig.xig_count = V_ripcbinfo.ipi_count; in rip_pcblist() 1053 xig.xig_gen = V_ripcbinfo.ipi_gencnt; in rip_pcblist() 1054 xig.xig_sogen = so_gencnt; in rip_pcblist() 1055 error = SYSCTL_OUT(req, &xig, sizeof xig); in rip_pcblist() 1060 if (inp->inp_gencnt <= xig.xig_gen && in rip_pcblist() 1080 xig.xig_gen = V_ripcbinfo.ipi_gencnt; in rip_pcblist() [all …]
|
H A D | udp_usrreq.c | 774 struct xinpgen xig; in udp_pcblist() local 786 req->oldidx = 2 * (sizeof xig) + n * sizeof(struct xinpcb); in udp_pcblist() 793 bzero(&xig, sizeof(xig)); in udp_pcblist() 794 xig.xig_len = sizeof xig; in udp_pcblist() 795 xig.xig_count = V_udbinfo.ipi_count; in udp_pcblist() 796 xig.xig_gen = V_udbinfo.ipi_gencnt; in udp_pcblist() 797 xig.xig_sogen = so_gencnt; in udp_pcblist() 798 error = SYSCTL_OUT(req, &xig, sizeof xig); in udp_pcblist() 803 if (inp->inp_gencnt <= xig.xig_gen && in udp_pcblist() 823 xig.xig_gen = V_udbinfo.ipi_gencnt; in udp_pcblist() [all …]
|
H A D | tcp_subr.c | 2619 struct xinpgen xig; in tcp_pcblist() local 2632 req->oldidx = 2 * (sizeof xig) + n * sizeof(struct xtcpcb); in tcp_pcblist() 2639 bzero(&xig, sizeof(xig)); in tcp_pcblist() 2640 xig.xig_len = sizeof xig; in tcp_pcblist() 2641 xig.xig_count = V_tcbinfo.ipi_count + in tcp_pcblist() 2643 xig.xig_gen = V_tcbinfo.ipi_gencnt; in tcp_pcblist() 2644 xig.xig_sogen = so_gencnt; in tcp_pcblist() 2645 error = SYSCTL_OUT(req, &xig, sizeof xig); in tcp_pcblist() 2654 if (inp->inp_gencnt <= xig.xig_gen && in tcp_pcblist() 2676 xig.xig_gen = V_tcbinfo.ipi_gencnt; in tcp_pcblist() [all …]
|
/freebsd/usr.bin/netstat/ |
H A D | inet.c | 196 struct xinpgen *xig, *oxig; in protopr() local 234 oxig = xig = (struct xinpgen *)buf; in protopr() 235 for (xig = (struct xinpgen*)((char *)xig + xig->xig_len); in protopr() 236 xig->xig_len > sizeof(struct xinpgen); in protopr() 237 xig = (struct xinpgen *)((char *)xig + xig->xig_len)) { in protopr() 238 tp = (struct xtcpcb *)xig; in protopr() 250 oxig = xig = (struct xinpgen *)buf; in protopr() 251 for (xig = (struct xinpgen *)((char *)xig + xig->xig_len); in protopr() 252 xig->xig_len > sizeof(struct xinpgen); in protopr() 253 xig = (struct xinpgen *)((char *)xig + xig->xig_len)) { in protopr() [all …]
|
/freebsd/sys/ofed/drivers/infiniband/ulp/sdp/ |
H A D | sdp_main.c | 1755 struct xinpgen xig; in sdp_pcblist() local 1764 req->oldidx = 2 * (sizeof xig) + n * sizeof(struct xtcpcb); in sdp_pcblist() 1778 error = sysctl_wire_old_buffer(req, 2 * (sizeof xig) in sdp_pcblist() 1783 bzero(&xig, sizeof(xig)); in sdp_pcblist() 1784 xig.xig_len = sizeof xig; in sdp_pcblist() 1785 xig.xig_count = n; in sdp_pcblist() 1786 xig.xig_gen = 0; in sdp_pcblist() 1787 xig.xig_sogen = so_gencnt; in sdp_pcblist() 1788 error = SYSCTL_OUT(req, &xig, sizeof xig); in sdp_pcblist() 1843 xig.xig_gen = 0; in sdp_pcblist() [all …]
|
/freebsd/usr.bin/sockstat/ |
H A D | sockstat.c | 659 struct xinpgen *xig, *exig; in gather_inet() local 710 xig = (struct xinpgen *)buf; in gather_inet() 713 enforce_ksize(xig->xig_len, struct xinpgen); in gather_inet() 715 } while (xig->xig_gen != exig->xig_gen && retry--); in gather_inet() 717 if (xig->xig_gen != exig->xig_gen && opt_v) in gather_inet() 721 xig = (struct xinpgen *)(void *)((char *)xig + xig->xig_len); in gather_inet() 722 if (xig >= exig) in gather_inet() 726 xtp = (struct xtcpcb *)xig; in gather_inet() 734 xip = (struct xinpcb *)xig; in gather_inet()
|