/freebsd/sys/sys/ |
H A D | sockbuf.h | 88 struct sockbuf { struct 160 TAILQ_HEAD(, sockbuf) uxdg_conns; 161 TAILQ_ENTRY(sockbuf) uxdg_clist; 204 void sbappend(struct sockbuf *sb, struct mbuf *m, int flags); 205 void sbappend_locked(struct sockbuf *sb, struct mbuf *m, int flags); 206 void sbappendstream(struct sockbuf *sb, struct mbuf *m, int flags); 207 void sbappendstream_locked(struct sockbuf *sb, struct mbuf *m, int flags); 208 int sbappendaddr(struct sockbuf *sb, const struct sockaddr *asa, 210 int sbappendaddr_locked(struct sockbuf *sb, const struct sockaddr *asa, 212 int sbappendaddr_nospacecheck_locked(struct sockbuf *sb, [all …]
|
H A D | ktls.h | 178 struct sockbuf; 219 void ktls_check_rx(struct sockbuf *sb); 233 void ktls_input_ifp_mismatch(struct sockbuf *sb, struct ifnet *ifp); 239 bool ktls_pending_rx_info(struct sockbuf *sb, uint64_t *seqnop, size_t *residp); 241 void ktls_seq(struct sockbuf *sb, struct mbuf *m);
|
H A D | socketvar.h | 162 struct sockbuf so_rcv, so_snd; 311 static inline struct sockbuf * 643 void sbtoxsockbuf(struct sockbuf *sb, struct xsockbuf *xsb);
|
H A D | aio.h | 178 struct sockbuf;
|
/freebsd/sys/kern/ |
H A D | uipc_sockbuf.c | 60 void (*aio_swake)(struct socket *, struct sockbuf *); 74 static void sbcompress_ktls_rx(struct sockbuf *sb, struct mbuf *m, 77 static struct mbuf *sbcut_internal(struct sockbuf *sb, int len); 78 static void sbflush_internal(struct sockbuf *sb); 107 sbready_compress(struct sockbuf *sb, struct mbuf *m0, struct mbuf *end) in sbready_compress() 195 sbready(struct sockbuf *sb, struct mbuf *m0, int count) in sbready() 260 sballoc(struct sockbuf *sb, struct mbuf *m) in sballoc() 288 sbfree(struct sockbuf *sb, struct mbuf *m) in sbfree() 337 sballoc_ktls_rx(struct sockbuf *sb, struct mbuf *m) in sballoc_ktls_rx() 352 sbfree_ktls_rx(struct sockbuf *sb, struct mbuf *m) in sbfree_ktls_rx() [all …]
|
H A D | uipc_debug.c | 346 db_print_sockbuf(struct sockbuf *sb, const char *sockbufname, int indent) in db_print_sockbuf() 461 DB_SHOW_COMMAND(sockbuf, db_show_sockbuf) in DB_SHOW_COMMAND() argument 463 struct sockbuf *sb; in DB_SHOW_COMMAND() 469 sb = (struct sockbuf *)addr; in DB_SHOW_COMMAND()
|
H A D | sys_socket.c | 309 struct sockbuf *sb; in soo_stat() 593 soaio_ready(struct socket *so, struct sockbuf *sb) in soaio_ready() 603 struct sockbuf *sb = sobuf(so, which); in soaio_process_job() 708 struct sockbuf *sb = sobuf(so, which); in soaio_process_sb() 756 struct sockbuf *sb = sobuf(so, which); in sowakeup_aio() 772 struct sockbuf *sb; in soo_aio_cancel() 813 struct sockbuf *sb; in soaio_queue_generic()
|
/freebsd/lib/libc/tests/secure/ |
H A D | fortify_random_test.c | 80 static char sockbuf[256]; in new_socket() local 90 while (total != sizeof(sockbuf)) { in new_socket() 91 rv = send(sock[1], &sockbuf[total], sizeof(sockbuf) - total, 0); in new_socket() 95 rv, sizeof(sockbuf) - total, sizeof(sockbuf), total); in new_socket() 96 ATF_REQUIRE_MSG(total + (size_t)rv <= sizeof(sockbuf), in new_socket() 97 "%zd exceeds total %zu", rv, sizeof(sockbuf)); in new_socket()
|
H A D | fortify_stdlib_test.c | 80 static char sockbuf[256]; in new_socket() local 90 while (total != sizeof(sockbuf)) { in new_socket() 91 rv = send(sock[1], &sockbuf[total], sizeof(sockbuf) - total, 0); in new_socket() 95 rv, sizeof(sockbuf) - total, sizeof(sockbuf), total); in new_socket() 96 ATF_REQUIRE_MSG(total + (size_t)rv <= sizeof(sockbuf), in new_socket() 97 "%zd exceeds total %zu", rv, sizeof(sockbuf)); in new_socket()
|
H A D | fortify_strings_test.c | 80 static char sockbuf[256]; in new_socket() local 90 while (total != sizeof(sockbuf)) { in new_socket() 91 rv = send(sock[1], &sockbuf[total], sizeof(sockbuf) - total, 0); in new_socket() 95 rv, sizeof(sockbuf) - total, sizeof(sockbuf), total); in new_socket() 96 ATF_REQUIRE_MSG(total + (size_t)rv <= sizeof(sockbuf), in new_socket() 97 "%zd exceeds total %zu", rv, sizeof(sockbuf)); in new_socket()
|
H A D | fortify_poll_test.c | 80 static char sockbuf[256]; in new_socket() local 90 while (total != sizeof(sockbuf)) { in new_socket() 91 rv = send(sock[1], &sockbuf[total], sizeof(sockbuf) - total, 0); in new_socket() 95 rv, sizeof(sockbuf) - total, sizeof(sockbuf), total); in new_socket() 96 ATF_REQUIRE_MSG(total + (size_t)rv <= sizeof(sockbuf), in new_socket() 97 "%zd exceeds total %zu", rv, sizeof(sockbuf)); in new_socket()
|
H A D | fortify_select_test.c | 80 static char sockbuf[256]; in new_socket() local 90 while (total != sizeof(sockbuf)) { in new_socket() 91 rv = send(sock[1], &sockbuf[total], sizeof(sockbuf) - total, 0); in new_socket() 95 rv, sizeof(sockbuf) - total, sizeof(sockbuf), total); in new_socket() 96 ATF_REQUIRE_MSG(total + (size_t)rv <= sizeof(sockbuf), in new_socket() 97 "%zd exceeds total %zu", rv, sizeof(sockbuf)); in new_socket()
|
H A D | fortify_uio_test.c | 80 static char sockbuf[256]; in new_socket() local 90 while (total != sizeof(sockbuf)) { in new_socket() 91 rv = send(sock[1], &sockbuf[total], sizeof(sockbuf) - total, 0); in new_socket() 95 rv, sizeof(sockbuf) - total, sizeof(sockbuf), total); in new_socket() 96 ATF_REQUIRE_MSG(total + (size_t)rv <= sizeof(sockbuf), in new_socket() 97 "%zd exceeds total %zu", rv, sizeof(sockbuf)); in new_socket()
|
H A D | fortify_stdio_test.c | 80 static char sockbuf[256]; in new_socket() local 90 while (total != sizeof(sockbuf)) { in new_socket() 91 rv = send(sock[1], &sockbuf[total], sizeof(sockbuf) - total, 0); in new_socket() 95 rv, sizeof(sockbuf) - total, sizeof(sockbuf), total); in new_socket() 96 ATF_REQUIRE_MSG(total + (size_t)rv <= sizeof(sockbuf), in new_socket() 97 "%zd exceeds total %zu", rv, sizeof(sockbuf)); in new_socket()
|
H A D | fortify_socket_test.c | 80 static char sockbuf[256]; in new_socket() local 90 while (total != sizeof(sockbuf)) { in new_socket() 91 rv = send(sock[1], &sockbuf[total], sizeof(sockbuf) - total, 0); in new_socket() 95 rv, sizeof(sockbuf) - total, sizeof(sockbuf), total); in new_socket() 96 ATF_REQUIRE_MSG(total + (size_t)rv <= sizeof(sockbuf), in new_socket() 97 "%zd exceeds total %zu", rv, sizeof(sockbuf)); in new_socket()
|
/freebsd/sys/netinet/ |
H A D | accf_tls.c | 40 static int sbfull(struct sockbuf *sb); 47 sbfull(struct sockbuf *sb) in sbfull() 73 struct sockbuf *sb = &so->so_rcv; in so_hastls()
|
H A D | accf_dns.c | 57 static int skippacket(struct sockbuf *sb); 62 struct sockbuf *sb = &so->so_rcv; in sohasdns() 101 skippacket(struct sockbuf *sb) { in skippacket()
|
H A D | tcp_log_buf.h | 565 struct tcp_log_buffer *tcp_log_event(struct tcpcb *tp, struct tcphdr *th, struct sockbuf *rxbuf, 566 struct sockbuf *txbuf, uint8_t eventid, int errornum, uint32_t len, 587 tcp_log_event(struct tcpcb *tp, struct tcphdr *th, struct sockbuf *rxbuf, in tcp_log_event() 588 struct sockbuf *txbuf, uint8_t eventid, int errornum, uint32_t len, in tcp_log_event()
|
H A D | accf_http.c | 53 static int sbfull(struct sockbuf *sb); 76 sbfull(struct sockbuf *sb) in sbfull()
|
H A D | sctputil.h | 112 struct sockbuf *sb, 293 sctp_sblog(struct sockbuf *sb,
|
/freebsd/sys/netlink/ |
H A D | netlink_io.c | 96 struct sockbuf *sb; in nl_process_received_one() 172 struct sockbuf *sb = &so->so_rcv; in nl_on_transmit() 204 struct sockbuf *sb = &so->so_rcv; in nl_send()
|
/freebsd/crypto/heimdal/appl/ftp/common/ |
H A D | Makefile.am | 10 sockbuf.c \
|
/freebsd/sys/dev/cxgbe/cxgbei/ |
H A D | cxgbei.h | 122 void parse_pdus(struct icl_cxgbei_conn *, struct sockbuf *);
|
/freebsd/sys/dev/cxgbe/tom/ |
H A D | t4_tls.c | 496 struct sockbuf *sb = &so->so_snd; in t4_push_ktls() 793 struct sockbuf *sb; in do_rx_tls_cmp() 997 struct sockbuf *sb; in do_rx_data_tls() 1175 struct sockbuf *sb) in tls_update_tcb() 1206 struct sockbuf *sb, int len) 1245 struct sockbuf *sb; in tls_received_starting_data()
|
/freebsd/sys/dev/hyperv/hvsock/ |
H A D | hv_sock.c | 133 struct uio *uio, uint32_t to_write, struct sockbuf *sb); 613 struct sockbuf *sb; 621 struct sockbuf *sb; in hvs_trans_soreceive() 786 struct sockbuf *sb; in hvs_trans_sosend() 1146 struct sockbuf *sb = arg->sb; in hvsock_br_callback() 1175 uint32_t to_write, struct sockbuf *sb) in hvsock_send_data()
|