Lines Matching refs:serr
32 struct sock_exterr_skb *serr = SKB_EXT_ERR(skb); in rxrpc_lookup_peer_icmp_rcu() local
48 srx->transport.sin.sin_port = serr->port; in rxrpc_lookup_peer_icmp_rcu()
49 switch (serr->ee.ee_origin) { in rxrpc_lookup_peer_icmp_rcu()
53 skb_network_header(skb) + serr->addr_offset, in rxrpc_lookup_peer_icmp_rcu()
59 skb_network_header(skb) + serr->addr_offset + 12, in rxrpc_lookup_peer_icmp_rcu()
71 switch (serr->ee.ee_origin) { in rxrpc_lookup_peer_icmp_rcu()
74 srx->transport.sin6.sin6_port = serr->port; in rxrpc_lookup_peer_icmp_rcu()
76 skb_network_header(skb) + serr->addr_offset, in rxrpc_lookup_peer_icmp_rcu()
83 srx->transport.sin.sin_port = serr->port; in rxrpc_lookup_peer_icmp_rcu()
85 skb_network_header(skb) + serr->addr_offset, in rxrpc_lookup_peer_icmp_rcu()
107 static void rxrpc_adjust_mtu(struct rxrpc_peer *peer, struct sock_exterr_skb *serr) in rxrpc_adjust_mtu() argument
109 u32 mtu = serr->ee.ee_info; in rxrpc_adjust_mtu()
148 struct sock_exterr_skb *serr; in rxrpc_error_report() local
174 serr = SKB_EXT_ERR(skb); in rxrpc_error_report()
175 if (!skb->len && serr->ee.ee_origin == SO_EE_ORIGIN_TIMESTAMPING) { in rxrpc_error_report()
192 trace_rxrpc_rx_icmp(peer, &serr->ee, &srx); in rxrpc_error_report()
194 if ((serr->ee.ee_origin == SO_EE_ORIGIN_ICMP && in rxrpc_error_report()
195 serr->ee.ee_type == ICMP_DEST_UNREACH && in rxrpc_error_report()
196 serr->ee.ee_code == ICMP_FRAG_NEEDED)) { in rxrpc_error_report()
197 rxrpc_adjust_mtu(peer, serr); in rxrpc_error_report()
205 rxrpc_store_error(peer, serr); in rxrpc_error_report()
217 struct sock_exterr_skb *serr) in rxrpc_store_error() argument
225 ee = &serr->ee; in rxrpc_store_error()