Lines Matching refs:strp
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()
112 static int espintcp_parse(struct strparser *strp, struct sk_buff *skb) in espintcp_parse() argument
402 strp_data_ready(&ctx->strp); in espintcp_data_ready()
409 struct sock *sk = ctx->strp.sk; in espintcp_tx_work()
461 err = strp_init(&ctx->strp, sk, &cb); in espintcp_init_sk()
467 strp_check_rcv(&ctx->strp); in espintcp_init_sk()
522 strp_stop(&ctx->strp); in espintcp_close()
528 strp_done(&ctx->strp); in espintcp_close()