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

/linux-4.1.27/include/net/
H A Dgre.h12 struct gre_protocol { struct
23 int gre_add_protocol(const struct gre_protocol *proto, u8 version);
24 int gre_del_protocol(const struct gre_protocol *proto, u8 version);
/linux-4.1.27/net/ipv4/
H A 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) gre_add_protocol()
41 return (cmpxchg((const struct gre_protocol **)&gre_proto[version], NULL, proto) == NULL) ? gre_add_protocol()
46 int gre_del_protocol(const struct gre_protocol *proto, u8 version) gre_del_protocol()
53 ret = (cmpxchg((const struct gre_protocol **)&gre_proto[version], proto, NULL) == proto) ? gre_del_protocol()
257 const struct gre_protocol *proto; gre_rcv()
285 const struct gre_protocol *proto; gre_err()
305 static const struct gre_protocol ipgre_protocol = {
/linux-4.1.27/net/openvswitch/
H A Dvport-gre.c201 static struct gre_cisco_protocol gre_protocol = { variable in typeref:struct:gre_cisco_protocol
216 err = gre_cisco_register(&gre_protocol); gre_init()
229 gre_cisco_unregister(&gre_protocol); gre_exit()
/linux-4.1.27/drivers/net/ppp/
H A Dpptp.c685 static const struct gre_protocol gre_pptp_protocol = {

Completed in 92 milliseconds