Searched refs:gre_protocol (Results 1 – 7 of 7) sorted by relevance
/linux/net/ipv4/ |
H A D | gre_demux.c | 29 static const struct gre_protocol __rcu *gre_proto[GREPROTO_MAX] __read_mostly; 31 int gre_add_protocol(const struct gre_protocol *proto, u8 version) in gre_add_protocol() 36 return (cmpxchg((const struct gre_protocol **)&gre_proto[version], NULL, proto) == NULL) ? in gre_add_protocol() 41 int gre_del_protocol(const struct gre_protocol *proto, u8 version) in gre_del_protocol() 48 ret = (cmpxchg((const struct gre_protocol **)&gre_proto[version], proto, NULL) == proto) ? in gre_del_protocol() 148 const struct gre_protocol *proto; in gre_rcv() 176 const struct gre_protocol *proto; in gre_err()
|
/linux/include/net/ |
H A D | gre.h | 27 struct gre_protocol { struct 32 int gre_add_protocol(const struct gre_protocol *proto, u8 version); argument 33 int gre_del_protocol(const struct gre_protocol *proto, u8 version);
|
/linux/drivers/net/ethernet/mellanox/mlx5/core/en/ |
H A D | tc_tun_gre.c | 73 MLX5_SET_TO_ONES(fte_match_set_misc, misc_c, gre_protocol); in mlx5e_tc_tun_parse_gretap() 74 MLX5_SET(fte_match_set_misc, misc_v, gre_protocol, ETH_P_TEB); in mlx5e_tc_tun_parse_gretap()
|
/linux/drivers/net/ethernet/mellanox/mlx5/core/diag/ |
H A D | fs_tracepoint.c | 191 PRINT_MASKED_VAL_MISC(u8, gre_protocol, gre_protocol, p, "%u"); in print_misc_parameters_hdrs()
|
/linux/drivers/net/ppp/ |
H A D | pptp.c | 642 static const struct gre_protocol gre_pptp_protocol = {
|
/linux/drivers/net/ethernet/mellanox/mlx5/core/steering/sws/ |
H A D | dr_ste_v1.c | 1465 DR_STE_SET_TAG(gre_v1, tag, gre_protocol, misc, gre_protocol); in dr_ste_v1_build_tnl_gre_tag()
|
/linux/include/linux/mlx5/ |
H A D | mlx5_ifc.h | 628 u8 gre_protocol[0x10]; member
|