linux/include/linux/icmpv6.h
<<
>>
Prefs
   1#ifndef _LINUX_ICMPV6_H
   2#define _LINUX_ICMPV6_H
   3
   4#include <linux/skbuff.h>
   5#include <uapi/linux/icmpv6.h>
   6
   7static inline struct icmp6hdr *icmp6_hdr(const struct sk_buff *skb)
   8{
   9        return (struct icmp6hdr *)skb_transport_header(skb);
  10}
  11
  12#include <linux/netdevice.h>
  13
  14extern void                             icmpv6_send(struct sk_buff *skb,
  15                                                    u8 type, u8 code,
  16                                                    __u32 info);
  17
  18extern int                              icmpv6_init(void);
  19extern int                              icmpv6_err_convert(u8 type, u8 code,
  20                                                           int *err);
  21extern void                             icmpv6_cleanup(void);
  22extern void                             icmpv6_param_prob(struct sk_buff *skb,
  23                                                          u8 code, int pos);
  24
  25struct flowi6;
  26struct in6_addr;
  27extern void                             icmpv6_flow_init(struct sock *sk,
  28                                                         struct flowi6 *fl6,
  29                                                         u8 type,
  30                                                         const struct in6_addr *saddr,
  31                                                         const struct in6_addr *daddr,
  32                                                         int oif);
  33#endif
  34
lxr.linux.no kindly hosted by Redpill Linpro AS, provider of Linux consulting and operations services since 1995.