Home
last modified time | relevance | path

Searched refs:icmp_skb (Results 1 – 1 of 1) sorted by relevance

/Linux-v5.4/net/ipv4/
Dtcp_ipv4.c424 int tcp_v4_err(struct sk_buff *icmp_skb, u32 info) in tcp_v4_err() argument
426 const struct iphdr *iph = (const struct iphdr *)icmp_skb->data; in tcp_v4_err()
427 struct tcphdr *th = (struct tcphdr *)(icmp_skb->data + (iph->ihl << 2)); in tcp_v4_err()
431 const int type = icmp_hdr(icmp_skb)->type; in tcp_v4_err()
432 const int code = icmp_hdr(icmp_skb)->code; in tcp_v4_err()
440 struct net *net = dev_net(icmp_skb->dev); in tcp_v4_err()
444 inet_iif(icmp_skb), 0); in tcp_v4_err()
495 do_redirect(icmp_skb, sk); in tcp_v4_err()