Home
last modified time | relevance | path

Searched refs:gre_protocol (Results 1 – 4 of 4) sorted by relevance

/linux-4.1.27/net/ipv4/
Dgre_demux.c33 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 = {
/linux-4.1.27/include/net/
Dgre.h12 struct gre_protocol { struct
23 int gre_add_protocol(const struct gre_protocol *proto, u8 version); argument
24 int gre_del_protocol(const struct gre_protocol *proto, u8 version);
/linux-4.1.27/net/openvswitch/
Dvport-gre.c201 static struct gre_cisco_protocol gre_protocol = { variable
216 err = gre_cisco_register(&gre_protocol); in gre_init()
229 gre_cisco_unregister(&gre_protocol); in gre_exit()
/linux-4.1.27/drivers/net/ppp/
Dpptp.c685 static const struct gre_protocol gre_pptp_protocol = {