Lines Matching defs:skb
91 static int tunnel6_rcv(struct sk_buff *skb)
95 if (!pskb_may_pull(skb, sizeof(struct ipv6hdr)))
99 if (!handler->handler(skb))
102 icmpv6_send(skb, ICMPV6_DEST_UNREACH, ICMPV6_PORT_UNREACH, 0);
105 kfree_skb(skb);
109 static int tunnel46_rcv(struct sk_buff *skb)
113 if (!pskb_may_pull(skb, sizeof(struct iphdr)))
117 if (!handler->handler(skb))
120 icmpv6_send(skb, ICMPV6_DEST_UNREACH, ICMPV6_PORT_UNREACH, 0);
123 kfree_skb(skb);
127 static void tunnel6_err(struct sk_buff *skb, struct inet6_skb_parm *opt,
133 if (!handler->err_handler(skb, opt, type, code, offset, info))