Home
last modified time | relevance | path

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

/net/ipv4/
Dtcp_ipv4.c426 int tcp_v4_err(struct sk_buff *icmp_skb, u32 info) in tcp_v4_err() argument
428 const struct iphdr *iph = (const struct iphdr *)icmp_skb->data; in tcp_v4_err()
429 struct tcphdr *th = (struct tcphdr *)(icmp_skb->data + (iph->ihl << 2)); in tcp_v4_err()
433 const int type = icmp_hdr(icmp_skb)->type; in tcp_v4_err()
434 const int code = icmp_hdr(icmp_skb)->code; in tcp_v4_err()
442 struct net *net = dev_net(icmp_skb->dev); in tcp_v4_err()
446 inet_iif(icmp_skb), 0); in tcp_v4_err()
497 do_redirect(icmp_skb, sk); in tcp_v4_err()