Home
last modified time | relevance | path

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

/linux-6.12.1/net/ipv4/
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()
Dip_gre.c1052 static const struct gre_protocol ipgre_protocol = {
/linux-6.12.1/include/net/
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.12.1/drivers/net/ethernet/mellanox/mlx5/core/en/
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.12.1/drivers/net/ethernet/mellanox/mlx5/core/diag/
Dfs_tracepoint.c191 PRINT_MASKED_VAL_MISC(u8, gre_protocol, gre_protocol, p, "%u"); in print_misc_parameters_hdrs()
/linux-6.12.1/drivers/net/ethernet/mellanox/mlx5/core/steering/
Dmlx5_ifc_dr_ste_v1.h430 u8 gre_protocol[0x10]; member
Dmlx5_ifc_dr.h419 u8 gre_protocol[0x10]; member
Ddr_ste.c833 spec->gre_protocol = IFC_GET_CLR(fte_match_set_misc, mask, gre_protocol, clr); in dr_ste_copy_mask_misc()
Ddr_ste_v0.c1248 DR_STE_SET_TAG(gre, tag, gre_protocol, misc, gre_protocol); in dr_ste_v0_build_tnl_gre_tag()
Ddr_matcher.c84 misc->gre_protocol || misc->gre_c_present || in dr_mask_is_tnl_gre_set()
Ddr_ste_v1.c1601 DR_STE_SET_TAG(gre_v1, tag, gre_protocol, misc, gre_protocol); in dr_ste_v1_build_tnl_gre_tag()
Ddr_types.h689 u32 gre_protocol:16; /* GRE Protocol (outer) */ member
/linux-6.12.1/drivers/net/ethernet/mellanox/mlx5/core/steering/hws/
Dmlx5hws_definer.c882 if (HWS_IS_FLD_SET(match_param, misc_parameters.gre_protocol)) { in hws_definer_conv_misc()
886 misc_parameters.gre_protocol, in hws_definer_conv_misc()
888 curr_fc->bit_mask = __mlx5_mask(header_gre, gre_protocol); in hws_definer_conv_misc()
889 curr_fc->bit_off = __mlx5_dw_bit_off(header_gre, gre_protocol); in hws_definer_conv_misc()
Dmlx5hws_definer.h728 u8 gre_protocol[0x10]; member
/linux-6.12.1/drivers/net/ppp/
Dpptp.c642 static const struct gre_protocol gre_pptp_protocol = {
/linux-6.12.1/drivers/infiniband/hw/mlx5/
Dfs.c408 MLX5_SET(fte_match_set_misc, misc_params_c, gre_protocol, in parse_flow_attr()
410 MLX5_SET(fte_match_set_misc, misc_params_v, gre_protocol, in parse_flow_attr()
/linux-6.12.1/include/linux/mlx5/
Dmlx5_ifc.h628 u8 gre_protocol[0x10]; member