Home
last modified time | relevance | path

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

/openbmc/linux/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.c1023 static const struct gre_protocol ipgre_protocol = {
/openbmc/linux/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);
/openbmc/linux/drivers/net/ethernet/mellanox/mlx5/core/en/
H A Dtc_tun_gre.c69 MLX5_SET_TO_ONES(fte_match_set_misc, misc_c, gre_protocol); in mlx5e_tc_tun_parse_gretap()
70 MLX5_SET(fte_match_set_misc, misc_v, gre_protocol, ETH_P_TEB); in mlx5e_tc_tun_parse_gretap()
/openbmc/linux/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()
/openbmc/linux/drivers/net/ethernet/mellanox/mlx5/core/steering/
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.c1248 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.c1601 DR_STE_SET_TAG(gre_v1, tag, gre_protocol, misc, gre_protocol); in dr_ste_v1_build_tnl_gre_tag()
H A Ddr_types.h693 u32 gre_protocol:16; /* GRE Protocol (outer) */ member
/openbmc/linux/drivers/net/ppp/
H A Dpptp.c642 static const struct gre_protocol gre_pptp_protocol = {
/openbmc/linux/drivers/infiniband/hw/mlx5/
H A 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()
/openbmc/linux/include/linux/mlx5/
H A Dmlx5_ifc.h599 u8 gre_protocol[0x10]; member