Home
last modified time | relevance | path

Searched refs:sockbuf (Results 1 – 25 of 54) sorted by relevance

123

/freebsd/sys/sys/
H A Dsockbuf.h88 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 Dktls.h178 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 Dsocketvar.h162 struct sockbuf so_rcv, so_snd;
311 static inline struct sockbuf *
643 void sbtoxsockbuf(struct sockbuf *sb, struct xsockbuf *xsb);
H A Daio.h178 struct sockbuf;
/freebsd/sys/kern/
H A Duipc_sockbuf.c60 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 Duipc_debug.c346 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 Dsys_socket.c309 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 Dfortify_random_test.c80 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 Dfortify_stdlib_test.c80 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 Dfortify_strings_test.c80 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 Dfortify_poll_test.c80 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 Dfortify_select_test.c80 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 Dfortify_uio_test.c80 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 Dfortify_stdio_test.c80 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 Dfortify_socket_test.c80 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 Daccf_tls.c40 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 Daccf_dns.c57 static int skippacket(struct sockbuf *sb);
62 struct sockbuf *sb = &so->so_rcv; in sohasdns()
101 skippacket(struct sockbuf *sb) { in skippacket()
H A Dtcp_log_buf.h565 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 Daccf_http.c53 static int sbfull(struct sockbuf *sb);
76 sbfull(struct sockbuf *sb) in sbfull()
H A Dsctputil.h112 struct sockbuf *sb,
293 sctp_sblog(struct sockbuf *sb,
/freebsd/sys/netlink/
H A Dnetlink_io.c96 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 DMakefile.am10 sockbuf.c \
/freebsd/sys/dev/cxgbe/cxgbei/
H A Dcxgbei.h122 void parse_pdus(struct icl_cxgbei_conn *, struct sockbuf *);
/freebsd/sys/dev/cxgbe/tom/
H A Dt4_tls.c496 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 Dhv_sock.c133 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()

123