Home
last modified time | relevance | path

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

/linux-6.15/net/ipv4/
H A Dgre_demux.c29 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()
H A Dip_gre.c1059 static const struct gre_protocol ipgre_protocol = {
/linux-6.15/include/net/
H A Dgre.h27 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-6.15/drivers/net/ethernet/mellanox/mlx5/core/en/
H A Dtc_tun_gre.c73 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-6.15/drivers/net/ethernet/mellanox/mlx5/core/diag/
H A Dfs_tracepoint.c191 PRINT_MASKED_VAL_MISC(u8, gre_protocol, gre_protocol, p, "%u"); in print_misc_parameters_hdrs()
/linux-6.15/drivers/net/ethernet/mellanox/mlx5/core/steering/sws/
H A Dmlx5_ifc_dr_ste_v1.h430 u8 gre_protocol[0x10]; member
H A Dmlx5_ifc_dr.h419 u8 gre_protocol[0x10]; member
H A Ddr_ste.c833 spec->gre_protocol = IFC_GET_CLR(fte_match_set_misc, mask, gre_protocol, clr); in dr_ste_copy_mask_misc()
H A Ddr_ste_v0.c1250 DR_STE_SET_TAG(gre, tag, gre_protocol, misc, gre_protocol); in dr_ste_v0_build_tnl_gre_tag()
H A Ddr_matcher.c84 misc->gre_protocol || misc->gre_c_present || in dr_mask_is_tnl_gre_set()
H A Ddr_ste_v1.c1465 DR_STE_SET_TAG(gre_v1, tag, gre_protocol, misc, gre_protocol); in dr_ste_v1_build_tnl_gre_tag()
H A Ddr_types.h689 u32 gre_protocol:16; /* GRE Protocol (outer) */ member
/linux-6.15/drivers/net/ethernet/mellanox/mlx5/core/steering/hws/
H A Ddefiner.c883 if (HWS_IS_FLD_SET(match_param, misc_parameters.gre_protocol)) { in hws_definer_conv_misc()
887 misc_parameters.gre_protocol, in hws_definer_conv_misc()
889 curr_fc->bit_mask = __mlx5_mask(header_gre, gre_protocol); in hws_definer_conv_misc()
890 curr_fc->bit_off = __mlx5_dw_bit_off(header_gre, gre_protocol); in hws_definer_conv_misc()
H A Ddefiner.h728 u8 gre_protocol[0x10]; member
/linux-6.15/drivers/net/ppp/
H A Dpptp.c643 static const struct gre_protocol gre_pptp_protocol = {
/linux-6.15/drivers/infiniband/hw/mlx5/
H A Dfs.c414 MLX5_SET(fte_match_set_misc, misc_params_c, gre_protocol, in parse_flow_attr()
416 MLX5_SET(fte_match_set_misc, misc_params_v, gre_protocol, in parse_flow_attr()
/linux-6.15/include/linux/mlx5/
H A Dmlx5_ifc.h628 u8 gre_protocol[0x10]; member