Lines Matching refs:e
423 size_t (*encap_hlen)(struct ip_tunnel_encap *e);
424 int (*build_header)(struct sk_buff *skb, struct ip_tunnel_encap *e,
496 static inline int ip_encap_hlen(struct ip_tunnel_encap *e) in ip_encap_hlen() argument
501 if (e->type == TUNNEL_ENCAP_NONE) in ip_encap_hlen()
504 if (e->type >= MAX_IPTUN_ENCAP_OPS) in ip_encap_hlen()
508 ops = rcu_dereference(iptun_encaps[e->type]); in ip_encap_hlen()
510 hlen = ops->encap_hlen(e); in ip_encap_hlen()
517 struct ip_tunnel_encap *e, in ip_tunnel_encap() argument
523 if (e->type == TUNNEL_ENCAP_NONE) in ip_tunnel_encap()
526 if (e->type >= MAX_IPTUN_ENCAP_OPS) in ip_tunnel_encap()
530 ops = rcu_dereference(iptun_encaps[e->type]); in ip_tunnel_encap()
532 ret = ops->build_header(skb, e, protocol, fl4); in ip_tunnel_encap()