Lines Matching refs:seg6_local_lwt
34 struct seg6_local_lwt;
39 int (*input)(struct sk_buff *skb, struct seg6_local_lwt *slwt);
48 struct seg6_local_lwt { struct
62 static struct seg6_local_lwt *seg6_local_lwtunnel(struct lwtunnel_state *lwt) in seg6_local_lwtunnel() argument
64 return (struct seg6_local_lwt *)lwt->data; in seg6_local_lwtunnel()
219 static int input_action_end(struct sk_buff *skb, struct seg6_local_lwt *slwt) in input_action_end()
239 static int input_action_end_x(struct sk_buff *skb, struct seg6_local_lwt *slwt) in input_action_end_x()
258 static int input_action_end_t(struct sk_buff *skb, struct seg6_local_lwt *slwt) in input_action_end_t()
279 struct seg6_local_lwt *slwt) in input_action_end_dx2()
336 struct seg6_local_lwt *slwt) in input_action_end_dx6()
371 struct seg6_local_lwt *slwt) in input_action_end_dx4()
405 struct seg6_local_lwt *slwt) in input_action_end_dt6()
425 static int input_action_end_b6(struct sk_buff *skb, struct seg6_local_lwt *slwt) in input_action_end_b6()
452 struct seg6_local_lwt *slwt) in input_action_end_b6_encap()
508 struct seg6_local_lwt *slwt) in input_action_end_bpf()
635 struct seg6_local_lwt *slwt; in seg6_local_input()
661 static int parse_nla_srh(struct nlattr **attrs, struct seg6_local_lwt *slwt) in parse_nla_srh()
685 static int put_nla_srh(struct sk_buff *skb, struct seg6_local_lwt *slwt) in put_nla_srh()
703 static int cmp_nla_srh(struct seg6_local_lwt *a, struct seg6_local_lwt *b) in cmp_nla_srh()
713 static int parse_nla_table(struct nlattr **attrs, struct seg6_local_lwt *slwt) in parse_nla_table()
720 static int put_nla_table(struct sk_buff *skb, struct seg6_local_lwt *slwt) in put_nla_table()
728 static int cmp_nla_table(struct seg6_local_lwt *a, struct seg6_local_lwt *b) in cmp_nla_table()
736 static int parse_nla_nh4(struct nlattr **attrs, struct seg6_local_lwt *slwt) in parse_nla_nh4()
744 static int put_nla_nh4(struct sk_buff *skb, struct seg6_local_lwt *slwt) in put_nla_nh4()
757 static int cmp_nla_nh4(struct seg6_local_lwt *a, struct seg6_local_lwt *b) in cmp_nla_nh4()
762 static int parse_nla_nh6(struct nlattr **attrs, struct seg6_local_lwt *slwt) in parse_nla_nh6()
770 static int put_nla_nh6(struct sk_buff *skb, struct seg6_local_lwt *slwt) in put_nla_nh6()
783 static int cmp_nla_nh6(struct seg6_local_lwt *a, struct seg6_local_lwt *b) in cmp_nla_nh6()
788 static int parse_nla_iif(struct nlattr **attrs, struct seg6_local_lwt *slwt) in parse_nla_iif()
795 static int put_nla_iif(struct sk_buff *skb, struct seg6_local_lwt *slwt) in put_nla_iif()
803 static int cmp_nla_iif(struct seg6_local_lwt *a, struct seg6_local_lwt *b) in cmp_nla_iif()
811 static int parse_nla_oif(struct nlattr **attrs, struct seg6_local_lwt *slwt) in parse_nla_oif()
818 static int put_nla_oif(struct sk_buff *skb, struct seg6_local_lwt *slwt) in put_nla_oif()
826 static int cmp_nla_oif(struct seg6_local_lwt *a, struct seg6_local_lwt *b) in cmp_nla_oif()
841 static int parse_nla_bpf(struct nlattr **attrs, struct seg6_local_lwt *slwt) in parse_nla_bpf()
872 static int put_nla_bpf(struct sk_buff *skb, struct seg6_local_lwt *slwt) in put_nla_bpf()
893 static int cmp_nla_bpf(struct seg6_local_lwt *a, struct seg6_local_lwt *b) in cmp_nla_bpf()
905 int (*parse)(struct nlattr **attrs, struct seg6_local_lwt *slwt);
906 int (*put)(struct sk_buff *skb, struct seg6_local_lwt *slwt);
907 int (*cmp)(struct seg6_local_lwt *a, struct seg6_local_lwt *b);
941 static int parse_nla_action(struct nlattr **attrs, struct seg6_local_lwt *slwt) in parse_nla_action()
980 struct seg6_local_lwt *slwt; in seg6_local_build_state()
1022 struct seg6_local_lwt *slwt = seg6_local_lwtunnel(lwt); in seg6_local_destroy_state()
1037 struct seg6_local_lwt *slwt = seg6_local_lwtunnel(lwt); in seg6_local_fill_encap()
1058 struct seg6_local_lwt *slwt = seg6_local_lwtunnel(lwt); in seg6_local_get_encap_size()
1095 struct seg6_local_lwt *slwt_a, *slwt_b; in seg6_local_cmp_encap()