Lines Matching refs:md
553 struct erspan_metadata *pkt_md, *md; in ip6erspan_rcv() local
565 sizeof(*md)); in ip6erspan_rcv()
578 md = ip_tunnel_info_opts(info); in ip6erspan_rcv()
579 md->version = ver; in ip6erspan_rcv()
580 md2 = &md->u.md2; in ip6erspan_rcv()
584 info->options_len = sizeof(*md); in ip6erspan_rcv()
993 struct erspan_metadata *md; in ip6erspan_tunnel_xmit() local
1012 if (tun_info->options_len < sizeof(*md)) in ip6erspan_tunnel_xmit()
1014 md = ip_tunnel_info_opts(tun_info); in ip6erspan_tunnel_xmit()
1017 if (md->version == 1) { in ip6erspan_tunnel_xmit()
1020 ntohl(md->u.index), truncate, in ip6erspan_tunnel_xmit()
1023 } else if (md->version == 2) { in ip6erspan_tunnel_xmit()
1026 md->u.md2.dir, in ip6erspan_tunnel_xmit()
1027 get_hwid(&md->u.md2), in ip6erspan_tunnel_xmit()