Home
last modified time | relevance | path

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

/Linux-v5.10/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.c1006 static const struct gre_protocol ipgre_protocol = {
/Linux-v5.10/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-v5.10/drivers/net/ethernet/mellanox/mlx5/core/en/
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()
/Linux-v5.10/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-v5.10/drivers/net/ethernet/mellanox/mlx5/core/steering/
Ddr_ste.c835 spec->gre_protocol = MLX5_GET(fte_match_set_misc, mask, gre_protocol); in dr_ste_copy_mask_misc()
1668 DR_STE_SET_MASK_V(gre, bit_mask, gre_protocol, misc_mask, gre_protocol); in dr_ste_build_gre_bit_mask()
1683 DR_STE_SET_TAG(gre, tag, gre_protocol, misc, gre_protocol); in dr_ste_build_gre_tag()
Dmlx5_ifc_dr.h510 u8 gre_protocol[0x10]; member
Ddr_matcher.c91 misc->gre_protocol || misc->gre_c_present || in dr_mask_is_gre_set()
Ddr_types.h498 u32 gre_protocol:16; /* GRE Protocol (outer) */ member
/Linux-v5.10/drivers/net/ppp/
Dpptp.c635 static const struct gre_protocol gre_pptp_protocol = {
/Linux-v5.10/drivers/infiniband/hw/mlx5/
Dfs.c425 MLX5_SET(fte_match_set_misc, misc_params_c, gre_protocol, in parse_flow_attr()
427 MLX5_SET(fte_match_set_misc, misc_params_v, gre_protocol, in parse_flow_attr()
/Linux-v5.10/include/linux/mlx5/
Dmlx5_ifc.h531 u8 gre_protocol[0x10]; member