Home
last modified time | relevance | path

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

/linux-4.1.27/net/ipv4/
Dtcp_ipv4.c357 void tcp_v4_err(struct sk_buff *icmp_skb, u32 info) in tcp_v4_err() argument
359 const struct iphdr *iph = (const struct iphdr *)icmp_skb->data; in tcp_v4_err()
360 struct tcphdr *th = (struct tcphdr *)(icmp_skb->data + (iph->ihl << 2)); in tcp_v4_err()
364 const int type = icmp_hdr(icmp_skb)->type; in tcp_v4_err()
365 const int code = icmp_hdr(icmp_skb)->code; in tcp_v4_err()
372 struct net *net = dev_net(icmp_skb->dev); in tcp_v4_err()
376 inet_iif(icmp_skb)); in tcp_v4_err()
420 do_redirect(icmp_skb, sk); in tcp_v4_err()