Home
last modified time | relevance | path

Searched refs:xinpcb (Results 1 – 15 of 15) sorted by relevance

/freebsd/usr.bin/netstat/
H A Dsctp.c319 sctp_process_inpcb(struct xsctp_inpcb *xinpcb, in sctp_process_inpcb() argument
330 if (xinpcb->maxqlen > 0) in sctp_process_inpcb()
367 if (xinpcb->flags & SCTP_PCB_FLAGS_BOUND_V6) { in sctp_process_inpcb()
374 if (xinpcb->flags & SCTP_PCB_FLAGS_TCPTYPE) in sctp_process_inpcb()
376 else if (xinpcb->flags & SCTP_PCB_FLAGS_UDPTYPE) in sctp_process_inpcb()
385 xinpcb->qlen, xinpcb->maxqlen); in sctp_process_inpcb()
390 buf1, xinpcb->qlen, xinpcb->maxqlen); in sctp_process_inpcb()
438 htons(xinpcb->local_port), numeric_port); in sctp_process_inpcb()
493 struct xsctp_inpcb *xinpcb; in sctp_protopr() local
513 xinpcb = (struct xsctp_inpcb *)(buf + offset); in sctp_protopr()
[all …]
H A Dinet.c195 struct xinpcb *inp; in protopr()
258 inp = (struct xinpcb *)xig; in protopr()
/freebsd/sys/netinet/
H A Dsctp_sysctl.c383 struct xsctp_inpcb xinpcb; in sctp_sysctl_handle_assoclist() local
423 memset(&xinpcb, 0, sizeof(xinpcb)); in sctp_sysctl_handle_assoclist()
432 xinpcb.last = 0; in sctp_sysctl_handle_assoclist()
433 xinpcb.local_port = ntohs(inp->sctp_lport); in sctp_sysctl_handle_assoclist()
434 xinpcb.flags = inp->sctp_flags; in sctp_sysctl_handle_assoclist()
435 xinpcb.features = inp->sctp_features; in sctp_sysctl_handle_assoclist()
436 xinpcb.total_sends = inp->total_sends; in sctp_sysctl_handle_assoclist()
437 xinpcb.total_recvs = inp->total_recvs; in sctp_sysctl_handle_assoclist()
438 xinpcb.total_nospaces = inp->total_nospaces; in sctp_sysctl_handle_assoclist()
439 xinpcb.fragmentation_point = inp->sctp_frag_point; in sctp_sysctl_handle_assoclist()
[all …]
H A Dip_divert.c653 req->oldidx = 2 * (sizeof xig) + n * sizeof(struct xinpcb); in div_pcblist()
673 struct xinpcb xi; in div_pcblist()
676 xi.xi_len = sizeof(struct xinpcb); in div_pcblist()
H A Din_pcb.h265 struct xinpcb { struct
309 void in_pcbtoxinpcb(const struct inpcb *, struct xinpcb *); argument
H A Draw_ip.c1043 req->oldidx = 2 * (sizeof xig) + n * sizeof(struct xinpcb); in rip_pcblist()
1062 struct xinpcb xi; in rip_pcblist()
H A Dudp_usrreq.c786 req->oldidx = 2 * (sizeof xig) + n * sizeof(struct xinpcb); in udp_pcblist()
805 struct xinpcb xi; in udp_pcblist()
H A Dtcp_var.h1185 struct xinpcb xt_inp;
H A Din_pcb.c2894 in_pcbtoxinpcb(const struct inpcb *inp, struct xinpcb *xi) in in_pcbtoxinpcb()
2898 xi->xi_len = sizeof(struct xinpcb); in in_pcbtoxinpcb()
/freebsd/contrib/bsnmp/snmp_mibII/
H A DmibII_udp.c43 struct xinpcb *inp;
69 struct xinpcb *inp; in fetch_udp()
107 inp = (struct xinpcb *)ptr; in fetch_udp()
130 inp = (struct xinpcb *)ptr; in fetch_udp()
/freebsd/usr.bin/sockstat/
H A Dsockstat.c393 struct xsctp_inpcb *xinpcb; in gather_sctp() local
424 xinpcb = (struct xsctp_inpcb *)(void *)buf; in gather_sctp()
426 while ((offset < len) && (xinpcb->last == 0)) { in gather_sctp()
429 sock->socket = xinpcb->socket; in gather_sctp()
432 if (xinpcb->maxqlen == 0) in gather_sctp()
436 if (xinpcb->flags & SCTP_PCB_FLAGS_BOUND_V6) { in gather_sctp()
467 htons(xinpcb->local_port)); in gather_sctp()
475 htons(xinpcb->local_port)); in gather_sctp()
517 ((xinpcb->flags & SCTP_PCB_FLAGS_UDPTYPE) || in gather_sctp()
530 sock->socket = xinpcb->socket; in gather_sctp()
[all …]
/freebsd/usr.bin/systat/
H A Dnetstat.c80 static void enter_sysctl(struct xinpcb *, struct xsocket *, int, const char *);
237 struct xinpcb *xip = NULL; in fetchnetstat_sysctl()
276 xip = (struct xinpcb *)cur; in fetchnetstat_sysctl()
284 xip = (struct xinpcb *)cur; in fetchnetstat_sysctl()
328 enter_sysctl(struct xinpcb *xip, struct xsocket *so, int state, in enter_sysctl()
/freebsd/tools/tools/switch_tls/
H A Dswitch_tls.c228 struct xinpcb *xip; in tcpswitchall()
/freebsd/usr.sbin/tcpdrop/
H A Dtcpdrop.c233 struct xinpcb *xip; in tcpdropall()
/freebsd/usr.sbin/tcpsso/
H A Dtcpsso.c98 struct xinpcb *xip; in tcpssoall()