Searched refs:strp (Results 1 – 6 of 6) sorted by relevance
/net/strparser/ |
D | strparser.c | 33 offsetof(struct sk_skb_cb, strp)); in _strp_msg() 37 static void strp_abort_strp(struct strparser *strp, int err) in strp_abort_strp() argument 41 cancel_delayed_work(&strp->msg_timer_work); in strp_abort_strp() 43 if (strp->stopped) in strp_abort_strp() 46 strp->stopped = 1; in strp_abort_strp() 48 if (strp->sk) { in strp_abort_strp() 49 struct sock *sk = strp->sk; in strp_abort_strp() 57 static void strp_start_timer(struct strparser *strp, long timeo) in strp_start_timer() argument 60 mod_delayed_work(strp_wq, &strp->msg_timer_work, timeo); in strp_start_timer() 64 static void strp_parser_err(struct strparser *strp, int err, in strp_parser_err() argument [all …]
|
/net/xfrm/ |
D | espintcp.c | 52 static void espintcp_rcv(struct strparser *strp, struct sk_buff *skb) in espintcp_rcv() argument 54 struct espintcp_ctx *ctx = container_of(strp, struct espintcp_ctx, in espintcp_rcv() 55 strp); in espintcp_rcv() 67 XFRM_INC_STATS(sock_net(strp->sk), LINUX_MIB_XFRMINHDRERROR); in espintcp_rcv() 80 XFRM_INC_STATS(sock_net(strp->sk), LINUX_MIB_XFRMINHDRERROR); in espintcp_rcv() 88 XFRM_INC_STATS(sock_net(strp->sk), LINUX_MIB_XFRMINHDRERROR); in espintcp_rcv() 95 XFRM_INC_STATS(sock_net(strp->sk), LINUX_MIB_XFRMINERROR); in espintcp_rcv() 101 XFRM_INC_STATS(sock_net(strp->sk), LINUX_MIB_XFRMINERROR); in espintcp_rcv() 107 handle_nonesp(ctx, skb, strp->sk); in espintcp_rcv() 109 handle_esp(skb, strp->sk); in espintcp_rcv() [all …]
|
/net/kcm/ |
D | kcmproc.c | 145 psock->strp.stats.msgs, in kcm_format_psock() 146 psock->strp.stats.bytes, in kcm_format_psock() 160 if (psock->strp.stopped) in kcm_format_psock() 166 if (!psock->strp.paused && !psock->ready_rx_msg) { in kcm_format_psock() 168 if (psock->strp.need_bytes) in kcm_format_psock() 170 psock->strp.need_bytes); in kcm_format_psock() 175 if (psock->strp.paused) in kcm_format_psock() 273 save_strp_stats(&psock->strp, &strp_stats); in kcm_stats_seq_show()
|
D | kcmsock.c | 96 psock->strp.stats.bytes - in kcm_update_rx_mux_stats() 99 psock->strp.stats.msgs - psock->saved_rx_msgs; in kcm_update_rx_mux_stats() 100 psock->saved_rx_msgs = psock->strp.stats.msgs; in kcm_update_rx_mux_stats() 101 psock->saved_rx_bytes = psock->strp.stats.bytes; in kcm_update_rx_mux_stats() 157 strp_unpause(&psock->strp); in kcm_rcv_ready() 158 strp_check_rcv(&psock->strp); in kcm_rcv_ready() 274 strp_pause(&psock->strp); in reserve_rx_kcm() 355 strp_data_ready(&psock->strp); in psock_data_ready() 361 static void kcm_rcv_strparser(struct strparser *strp, struct sk_buff *skb) in kcm_rcv_strparser() argument 363 struct kcm_psock *psock = container_of(strp, struct kcm_psock, strp); in kcm_rcv_strparser() [all …]
|
/net/core/ |
D | skmsg.c | 1050 static void sk_psock_strp_read(struct strparser *strp, struct sk_buff *skb) in sk_psock_strp_read() argument 1058 sk = strp->sk; in sk_psock_strp_read() 1080 static int sk_psock_strp_read_done(struct strparser *strp, int err) in sk_psock_strp_read_done() argument 1085 static int sk_psock_strp_parse(struct strparser *strp, struct sk_buff *skb) in sk_psock_strp_parse() argument 1087 struct sk_psock *psock = container_of(strp, struct sk_psock, strp); in sk_psock_strp_parse() 1114 strp_data_ready(&psock->strp); in sk_psock_strp_data_ready() 1131 ret = strp_init(&psock->strp, sk, &cb); in sk_psock_init_strp() 1157 strp_stop(&psock->strp); in sk_psock_stop_strp() 1164 strp_done(&psock->strp); in sk_psock_done_strp()
|
/net/tls/ |
D | tls_sw.c | 1314 __strp_unpause(&ctx->strp); in tls_wait_data() 1631 __strp_unpause(&ctx->strp); in tls_sw_advance_skb() 1895 __strp_unpause(&ctx->strp); in tls_sw_recvmsg() 2043 __strp_unpause(&ctx->strp); in tls_sw_splice_read() 2075 static int tls_read_size(struct strparser *strp, struct sk_buff *skb) in tls_read_size() argument 2077 struct tls_context *tls_ctx = tls_get_ctx(strp->sk); in tls_read_size() 2128 tls_device_rx_resync_new_rec(strp->sk, data_len + TLS_HEADER_SIZE, in tls_read_size() 2133 tls_err_abort(strp->sk, ret); in tls_read_size() 2138 static void tls_queue(struct strparser *strp, struct sk_buff *skb) in tls_queue() argument 2140 struct tls_context *tls_ctx = tls_get_ctx(strp->sk); in tls_queue() [all …]
|