[ovs-dev] [RFC upstream PATCH 1/4] GRE: Allow multiple GREPROTO_CISCO protocol handlers.
Stephen Hemminger
shemminger at vyatta.com
Wed Sep 26 23:54:34 UTC 2012
On Wed, 26 Sep 2012 16:34:35 -0700
Pravin B Shelar <pshelar at nicira.com> wrote:
> +struct gre_protocol_v0 {
> + int (*handler)(struct sk_buff *skb, struct tnl_ptk_info *tpi);
> + int (*err_handler)(struct sk_buff *skb, u32 info,
> + struct tnl_ptk_info *tpi);
> +};
> +
It is more conventional to name a structure like this as
"gre_protocol_ops".
More information about the dev
mailing list