Searched refs:md2 (Results 1 – 7 of 7) sorted by relevance
/net/netfilter/ |
D | nft_tunnel.c | 319 set_hwid(&opts->u.erspan.u.md2, hwid); in nft_tunnel_obj_erspan_init() 320 opts->u.erspan.u.md2.dir = dir; in nft_tunnel_obj_erspan_init() 609 get_hwid(&opts->u.erspan.u.md2)) || in nft_tunnel_opts_dump() 611 opts->u.erspan.u.md2.dir)) in nft_tunnel_opts_dump()
|
/net/sched/ |
D | act_tunnel_key.c | 210 md->u.md2.dir = nla_get_u8(nla); in tunnel_key_copy_erspan_opt() 212 set_hwid(&md->u.md2, nla_get_u8(nla)); in tunnel_key_copy_erspan_opt() 641 md->u.md2.dir) || in tunnel_key_erspan_opts_dump() 643 get_hwid(&md->u.md2)))) in tunnel_key_erspan_opts_dump()
|
D | cls_flower.c | 1365 md->u.md2.dir = nla_get_u8(nla); in fl_set_erspan_opt() 1369 set_hwid(&md->u.md2, nla_get_u8(nla)); in fl_set_erspan_opt() 3079 md->u.md2.dir) || in fl_dump_key_erspan_opt() 3081 get_hwid(&md->u.md2)))) in fl_dump_key_erspan_opt()
|
/net/ipv4/ |
D | ip_gre.c | 271 struct erspan_md2 *md2; in erspan_rcv() local 336 md2 = &md->u.md2; in erspan_rcv() 337 memcpy(md2, pkt_md, ver == 1 ? ERSPAN_V1_MDSIZE : in erspan_rcv() 584 md->u.md2.dir, in erspan_fb_xmit() 585 get_hwid(&md->u.md2), in erspan_fb_xmit()
|
D | ip_tunnel_core.c | 572 md->u.md2.dir = nla_get_u8(attr); in ip_tun_parse_opts_erspan() 574 set_hwid(&md->u.md2, nla_get_u8(attr)); in ip_tun_parse_opts_erspan() 797 (nla_put_u8(skb, LWTUNNEL_IP_OPT_ERSPAN_DIR, md->u.md2.dir) || in ip_tun_fill_encap_opts_erspan() 799 get_hwid(&md->u.md2)))) in ip_tun_fill_encap_opts_erspan()
|
/net/ipv6/ |
D | ip6_gre.c | 527 struct erspan_md2 *md2; in ip6erspan_rcv() local 580 md2 = &md->u.md2; in ip6erspan_rcv() 581 memcpy(md2, pkt_md, ver == 1 ? ERSPAN_V1_MDSIZE : in ip6erspan_rcv() 1026 md->u.md2.dir, in ip6erspan_tunnel_xmit() 1027 get_hwid(&md->u.md2), in ip6erspan_tunnel_xmit()
|
/net/openvswitch/ |
D | flow_netlink.c | 1334 memcpy(&nh->md2, nla_data(a), mdlen); in nsh_hdr_from_nlattr()
|