X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=include%2Fnet%2Fah.h;h=ae1c322f42429100a21eb623691a293b71b20da0;hb=5c9ffc9c3d61dfcafd7cdb61c7b94f2d7ac408fb;hp=8f257c1599028e94128e2734f3ad2caa2082dd57;hpb=3e59ddff2b8dfe42b15520c4f8f2486bd9f9708e;p=linux-2.6 diff --git a/include/net/ah.h b/include/net/ah.h index 8f257c1599..ae1c322f42 100644 --- a/include/net/ah.h +++ b/include/net/ah.h @@ -9,8 +9,6 @@ struct ah_data { - u8 *key; - int key_len; u8 *work_icv; int icv_full_len; int icv_trunc_len; @@ -40,4 +38,11 @@ out: return err; } +struct ip_auth_hdr; + +static inline struct ip_auth_hdr *ip_auth_hdr(const struct sk_buff *skb) +{ + return (struct ip_auth_hdr *)skb_transport_header(skb); +} + #endif