Searched refs:sockbuf (Results 1 - 14 of 14) sorted by relevance
/darwin-on-arm/xnu/bsd/sys/ |
H A D | socketvar.h | 166 struct sockbuf { struct in struct:socket 185 #define SB_MAX (8192*1024) /* default for max chars in sockbuf */ 471 int sb_notify(struct sockbuf *sb); 472 int sbspace(struct sockbuf *sb); 476 void sballoc(struct sockbuf *sb, struct mbuf *m); 477 void sbfree(struct sockbuf *sb, struct mbuf *m); 478 int sblock(struct sockbuf *sb, int wf); 479 void sbunlock(struct sockbuf *sb, int locked); 624 extern int sbappend(struct sockbuf *sb, struct mbuf *m); 625 extern int sbappendstream(struct sockbuf *s [all...] |
/darwin-on-arm/xnu/tools/tests/libMicro/apple/ |
H A D | lmbench_select_tcp.c | 228 int sockbuf = SOCKBUF; local 230 while (setsockopt(sock, SOL_SOCKET, SO_RCVBUF, &sockbuf, 232 sockbuf >>= 1; 235 fprintf(stderr, "sockopt %d: RCV: %dK\n", sock, sockbuf>>10); 239 int sockbuf = SOCKBUF; local 241 while (setsockopt(sock, SOL_SOCKET, SO_SNDBUF, &sockbuf, 243 sockbuf >>= 1; 246 fprintf(stderr, "sockopt %d: SND: %dK\n", sock, sockbuf>>10);
|
/darwin-on-arm/xnu/bsd/kern/ |
H A D | uipc_socket2.c | 101 extern void postevent(struct socket *, struct sockbuf *, int); 106 static inline void sbcompress(struct sockbuf *, struct mbuf *, struct mbuf *); 108 static int sbappendaddr_internal(struct sockbuf *, struct sockaddr *, 110 static int sbappendcontrol_internal(struct sockbuf *, struct mbuf *, 460 sbwait(struct sockbuf *sb) 503 * Lock a sockbuf already known to be locked; 510 sb_lock(struct sockbuf *sb) 554 sbwakeup(struct sockbuf *sb) 568 sowakeup(struct socket *so, struct sockbuf *sb) 611 * Socket buffer (struct sockbuf) utilit [all...] |
H A D | socket_info.c | 51 static void fill_sockbuf_info(struct sockbuf *sb, struct sockbuf_info *sbi); 55 fill_sockbuf_info(struct sockbuf *sb, struct sockbuf_info *sbi)
|
H A D | uipc_socket.c | 238 extern void postevent(struct socket *, struct sockbuf *, int); 1855 * We depend on the way that records are added to the sockbuf 1862 * Although the sockbuf is locked, new data may still be appended, 1863 * and thus we must maintain consistency of the sockbuf during that time. 1933 struct sockbuf *sb = &so->so_rcv; 2239 struct sockbuf *sb_rcv = &so->so_rcv; 2414 * we must note any additions to the sockbuf when we 2557 * count but without error. Keep sockbuf locked 2825 register struct sockbuf *sb = &so->so_rcv; 2827 struct sockbuf as [all...] |
H A D | sys_generic.c | 141 void postevent(struct socket *, struct sockbuf *, int); 2103 * given either a sockbuf or a socket run down the 2108 postevent(struct socket *sp, struct sockbuf *sb, int event)
|
/darwin-on-arm/xnu/bsd/net/ |
H A D | kext_net.c | 225 static int sym_fix_sbflush(struct sockbuf *, struct kextcb *); 226 static int sym_fix_sbappend(struct sockbuf *, struct mbuf *, struct kextcb *); 278 static int sym_fix_sbflush(struct sockbuf *p1, struct kextcb *p2) 286 static int sym_fix_sbappend(struct sockbuf *p1, struct mbuf *p2, struct kextcb *p3)
|
/darwin-on-arm/xnu/bsd/netinet/ |
H A D | tcp_newreno.c | 123 struct sockbuf *sb; 139 struct sockbuf *sb;
|
H A D | in_pcblist.c | 98 void sbtoxsockbuf_n(struct sockbuf *, struct xsockbuf_n *); 134 sbtoxsockbuf_n(struct sockbuf *sb, struct xsockbuf_n *xsb)
|
H A D | tcp_input.c | 309 static void tcp_sbrcv_grow(struct tcpcb *tp, struct sockbuf *sb, 312 void tcp_sbrcv_trim(struct tcpcb *tp, struct sockbuf *sb); 313 static void tcp_sbsnd_trim(struct sockbuf *sbsnd); 315 static inline void tcp_sbrcv_reserve(struct tcpcb *tp, struct sockbuf *sb, 334 extern void postevent(struct socket *, struct sockbuf *, int); 809 tcp_cansbgrow(struct sockbuf *sb) 832 struct sockbuf *sbrcv, 866 tcp_sbrcv_grow(struct tcpcb *tp, struct sockbuf *sbrcv, 958 tcp_sbrcv_trim(struct tcpcb *tp, struct sockbuf *sbrcv) { 998 tcp_sbsnd_trim(struct sockbuf *sbsn [all...] |
H A D | tcp_subr.c | 269 static void tcp_sbrcv_grow_rwin(struct tcpcb *tp, struct sockbuf *sb); 2474 tcp_sbrcv_grow_rwin(struct tcpcb *tp, struct sockbuf *sb) { 2488 struct sockbuf *sb = &tp->t_inpcb->inp_socket->so_rcv;
|
H A D | tcp_timer.c | 106 extern void postevent(struct socket *, struct sockbuf *,
|
H A D | tcp_var.h | 1058 u_int8_t tcp_cansbgrow(struct sockbuf *sb);
|
H A D | tcp_usrreq.c | 151 extern void tcp_sbrcv_trim(struct tcpcb *tp, struct sockbuf *sb); 748 /* if no space is left in sockbuf,
|
Completed in 114 milliseconds