Home
last modified time | relevance | path

Searched refs:lwtstate (Results 1 – 7 of 7) sorted by relevance

/include/net/
Dlwtunnel.h48 struct lwtunnel_state *lwtstate);
49 int (*get_encap_size)(struct lwtunnel_state *lwtstate);
80 static inline bool lwtunnel_output_redirect(struct lwtunnel_state *lwtstate) in lwtunnel_output_redirect() argument
82 if (lwtstate && (lwtstate->flags & LWTUNNEL_STATE_OUTPUT_REDIRECT)) in lwtunnel_output_redirect()
88 static inline bool lwtunnel_input_redirect(struct lwtunnel_state *lwtstate) in lwtunnel_input_redirect() argument
90 if (lwtstate && (lwtstate->flags & LWTUNNEL_STATE_INPUT_REDIRECT)) in lwtunnel_input_redirect()
96 static inline bool lwtunnel_xmit_redirect(struct lwtunnel_state *lwtstate) in lwtunnel_xmit_redirect() argument
98 if (lwtstate && (lwtstate->flags & LWTUNNEL_STATE_XMIT_REDIRECT)) in lwtunnel_xmit_redirect()
104 static inline unsigned int lwtunnel_headroom(struct lwtunnel_state *lwtstate, in lwtunnel_headroom() argument
107 if ((lwtunnel_xmit_redirect(lwtstate) || in lwtunnel_headroom()
[all …]
Dmpls_iptunnel.h17 static inline struct mpls_iptunnel_encap *mpls_lwtunnel_encap(struct lwtunnel_state *lwtstate) in mpls_lwtunnel_encap() argument
19 return (struct mpls_iptunnel_encap *)lwtstate->data; in mpls_lwtunnel_encap()
Ddst_metadata.h48 if (dst && dst->lwtstate && in skb_tunnel_info()
49 (dst->lwtstate->type == LWTUNNEL_ENCAP_IP || in skb_tunnel_info()
50 dst->lwtstate->type == LWTUNNEL_ENCAP_IP6)) in skb_tunnel_info()
51 return lwt_tun_info(dst->lwtstate); in skb_tunnel_info()
Dip_tunnels.h491 static inline struct ip_tunnel_info *lwt_tun_info(struct lwtunnel_state *lwtstate) in lwt_tun_info() argument
493 return (struct ip_tunnel_info *)lwtstate->data; in lwt_tun_info()
511 static inline struct ip_tunnel_info *lwt_tun_info(struct lwtunnel_state *lwtstate) in lwt_tun_info() argument
Dip6_route.h275 mtu -= lwtunnel_headroom(skb_dst(skb)->lwtstate, mtu); in ip6_skb_dst_mtu()
339 return mtu - lwtunnel_headroom(dst->lwtstate, mtu); in ip6_dst_mtu_maybe_forward()
Dip.h482 return mtu - lwtunnel_headroom(dst->lwtstate, mtu); in ip_dst_mtu_maybe_forward()
497 return mtu - lwtunnel_headroom(skb_dst(skb)->lwtstate, mtu); in ip_skb_dst_mtu()
Ddst.h72 struct lwtunnel_state *lwtstate; member