Searched refs:gre_protocol (Results 1 – 4 of 4) sorted by relevance
33 static const struct gre_protocol __rcu *gre_proto[GREPROTO_MAX] __read_mostly;36 int gre_add_protocol(const struct gre_protocol *proto, u8 version) in gre_add_protocol()41 return (cmpxchg((const struct gre_protocol **)&gre_proto[version], NULL, proto) == NULL) ? in gre_add_protocol()46 int gre_del_protocol(const struct gre_protocol *proto, u8 version) in gre_del_protocol()53 ret = (cmpxchg((const struct gre_protocol **)&gre_proto[version], proto, NULL) == proto) ? in gre_del_protocol()257 const struct gre_protocol *proto; in gre_rcv()285 const struct gre_protocol *proto; in gre_err()305 static const struct gre_protocol ipgre_protocol = {
12 struct gre_protocol { struct23 int gre_add_protocol(const struct gre_protocol *proto, u8 version); argument24 int gre_del_protocol(const struct gre_protocol *proto, u8 version);
201 static struct gre_cisco_protocol gre_protocol = { variable216 err = gre_cisco_register(&gre_protocol); in gre_init()229 gre_cisco_unregister(&gre_protocol); in gre_exit()
685 static const struct gre_protocol gre_pptp_protocol = {