Lines Matching refs:seg6_local_lwt
38 struct seg6_local_lwt;
42 int (*build_state)(struct seg6_local_lwt *slwt, const void *cfg,
44 void (*destroy_state)(struct seg6_local_lwt *slwt);
65 int (*input)(struct sk_buff *skb, struct seg6_local_lwt *slwt);
176 struct seg6_local_lwt { struct
200 static struct seg6_local_lwt *seg6_local_lwtunnel(struct lwtunnel_state *lwt) in seg6_local_lwtunnel() argument
202 return (struct seg6_local_lwt *)lwt->data; in seg6_local_lwtunnel()
368 struct seg6_local_lwt *slwt) in input_action_end_core()
387 static int end_next_csid_core(struct sk_buff *skb, struct seg6_local_lwt *slwt) in end_next_csid_core()
409 static int input_action_end(struct sk_buff *skb, struct seg6_local_lwt *slwt) in input_action_end()
420 static int input_action_end_x(struct sk_buff *skb, struct seg6_local_lwt *slwt) in input_action_end_x()
439 static int input_action_end_t(struct sk_buff *skb, struct seg6_local_lwt *slwt) in input_action_end_t()
460 struct seg6_local_lwt *slwt) in input_action_end_dx2()
520 struct seg6_local_lwt *slwt; in input_action_end_dx6_finish()
540 struct seg6_local_lwt *slwt) in input_action_end_dx6()
570 struct seg6_local_lwt *slwt; in input_action_end_dx4_finish()
593 struct seg6_local_lwt *slwt) in input_action_end_dx4()
624 static int __seg6_end_dt_vrf_build(struct seg6_local_lwt *slwt, const void *cfg, in __seg6_end_dt_vrf_build()
742 struct seg6_local_lwt *slwt, u16 family) in end_dt_vrf_core()
788 struct seg6_local_lwt *slwt) in input_action_end_dt4()
820 static int seg6_end_dt4_build(struct seg6_local_lwt *slwt, const void *cfg, in seg6_end_dt4_build()
827 seg6_end_dt_mode seg6_end_dt6_parse_mode(struct seg6_local_lwt *slwt) in seg6_end_dt6_parse_mode()
842 static enum seg6_end_dt_mode seg6_end_dt6_get_mode(struct seg6_local_lwt *slwt) in seg6_end_dt6_get_mode()
849 static int seg6_end_dt6_build(struct seg6_local_lwt *slwt, const void *cfg, in seg6_end_dt6_build()
869 struct seg6_local_lwt *slwt) in input_action_end_dt6()
911 static int seg6_end_dt46_build(struct seg6_local_lwt *slwt, const void *cfg, in seg6_end_dt46_build()
918 struct seg6_local_lwt *slwt) in input_action_end_dt46()
941 static int input_action_end_b6(struct sk_buff *skb, struct seg6_local_lwt *slwt) in input_action_end_b6()
967 struct seg6_local_lwt *slwt) in input_action_end_b6_encap()
1022 struct seg6_local_lwt *slwt) in input_action_end_bpf()
1188 static bool seg6_lwtunnel_counters_enabled(struct seg6_local_lwt *slwt) in seg6_lwtunnel_counters_enabled()
1193 static void seg6_local_update_counters(struct seg6_local_lwt *slwt, in seg6_local_update_counters()
1216 struct seg6_local_lwt *slwt; in seg6_local_input_core()
1264 static int parse_nla_srh(struct nlattr **attrs, struct seg6_local_lwt *slwt, in parse_nla_srh()
1289 static int put_nla_srh(struct sk_buff *skb, struct seg6_local_lwt *slwt) in put_nla_srh()
1307 static int cmp_nla_srh(struct seg6_local_lwt *a, struct seg6_local_lwt *b) in cmp_nla_srh()
1317 static void destroy_attr_srh(struct seg6_local_lwt *slwt) in destroy_attr_srh()
1322 static int parse_nla_table(struct nlattr **attrs, struct seg6_local_lwt *slwt, in parse_nla_table()
1330 static int put_nla_table(struct sk_buff *skb, struct seg6_local_lwt *slwt) in put_nla_table()
1338 static int cmp_nla_table(struct seg6_local_lwt *a, struct seg6_local_lwt *b) in cmp_nla_table()
1347 seg6_end_dt_info *seg6_possible_end_dt_info(struct seg6_local_lwt *slwt) in seg6_possible_end_dt_info()
1357 struct seg6_local_lwt *slwt, in parse_nla_vrftable()
1370 static int put_nla_vrftable(struct sk_buff *skb, struct seg6_local_lwt *slwt) in put_nla_vrftable()
1383 static int cmp_nla_vrftable(struct seg6_local_lwt *a, struct seg6_local_lwt *b) in cmp_nla_vrftable()
1394 static int parse_nla_nh4(struct nlattr **attrs, struct seg6_local_lwt *slwt, in parse_nla_nh4()
1403 static int put_nla_nh4(struct sk_buff *skb, struct seg6_local_lwt *slwt) in put_nla_nh4()
1416 static int cmp_nla_nh4(struct seg6_local_lwt *a, struct seg6_local_lwt *b) in cmp_nla_nh4()
1421 static int parse_nla_nh6(struct nlattr **attrs, struct seg6_local_lwt *slwt, in parse_nla_nh6()
1430 static int put_nla_nh6(struct sk_buff *skb, struct seg6_local_lwt *slwt) in put_nla_nh6()
1443 static int cmp_nla_nh6(struct seg6_local_lwt *a, struct seg6_local_lwt *b) in cmp_nla_nh6()
1448 static int parse_nla_iif(struct nlattr **attrs, struct seg6_local_lwt *slwt, in parse_nla_iif()
1456 static int put_nla_iif(struct sk_buff *skb, struct seg6_local_lwt *slwt) in put_nla_iif()
1464 static int cmp_nla_iif(struct seg6_local_lwt *a, struct seg6_local_lwt *b) in cmp_nla_iif()
1472 static int parse_nla_oif(struct nlattr **attrs, struct seg6_local_lwt *slwt, in parse_nla_oif()
1480 static int put_nla_oif(struct sk_buff *skb, struct seg6_local_lwt *slwt) in put_nla_oif()
1488 static int cmp_nla_oif(struct seg6_local_lwt *a, struct seg6_local_lwt *b) in cmp_nla_oif()
1503 static int parse_nla_bpf(struct nlattr **attrs, struct seg6_local_lwt *slwt, in parse_nla_bpf()
1535 static int put_nla_bpf(struct sk_buff *skb, struct seg6_local_lwt *slwt) in put_nla_bpf()
1556 static int cmp_nla_bpf(struct seg6_local_lwt *a, struct seg6_local_lwt *b) in cmp_nla_bpf()
1567 static void destroy_attr_bpf(struct seg6_local_lwt *slwt) in destroy_attr_bpf()
1582 struct seg6_local_lwt *slwt, in parse_nla_counters()
1630 static int put_nla_counters(struct sk_buff *skb, struct seg6_local_lwt *slwt) in put_nla_counters()
1669 static int cmp_nla_counters(struct seg6_local_lwt *a, struct seg6_local_lwt *b) in cmp_nla_counters()
1676 static void destroy_attr_counters(struct seg6_local_lwt *slwt) in destroy_attr_counters()
1741 static int parse_nla_flavors(struct nlattr **attrs, struct seg6_local_lwt *slwt, in parse_nla_flavors()
1795 static int put_nla_flavors(struct sk_buff *skb, struct seg6_local_lwt *slwt) in put_nla_flavors()
1836 static int cmp_nla_flavors(struct seg6_local_lwt *a, struct seg6_local_lwt *b) in cmp_nla_flavors()
1852 static int encap_size_flavors(struct seg6_local_lwt *slwt) in encap_size_flavors()
1868 int (*parse)(struct nlattr **attrs, struct seg6_local_lwt *slwt,
1870 int (*put)(struct sk_buff *skb, struct seg6_local_lwt *slwt);
1871 int (*cmp)(struct seg6_local_lwt *a, struct seg6_local_lwt *b);
1877 void (*destroy)(struct seg6_local_lwt *slwt);
1930 struct seg6_local_lwt *slwt) in __destroy_attrs()
1958 static void destroy_attrs(struct seg6_local_lwt *slwt) in destroy_attrs()
1966 struct seg6_local_lwt *slwt, in parse_nla_optional_attrs()
2008 seg6_local_lwtunnel_build_state(struct seg6_local_lwt *slwt, const void *cfg, in seg6_local_lwtunnel_build_state()
2024 static void seg6_local_lwtunnel_destroy_state(struct seg6_local_lwt *slwt) in seg6_local_lwtunnel_destroy_state()
2036 static int parse_nla_action(struct nlattr **attrs, struct seg6_local_lwt *slwt, in parse_nla_action()
2110 struct seg6_local_lwt *slwt; in seg6_local_build_state()
2157 struct seg6_local_lwt *slwt = seg6_local_lwtunnel(lwt); in seg6_local_destroy_state()
2169 struct seg6_local_lwt *slwt = seg6_local_lwtunnel(lwt); in seg6_local_fill_encap()
2193 struct seg6_local_lwt *slwt = seg6_local_lwtunnel(lwt); in seg6_local_get_encap_size()
2245 struct seg6_local_lwt *slwt_a, *slwt_b; in seg6_local_cmp_encap()