Home
last modified time | relevance | path

Searched refs:nsh (Results 1 – 8 of 8) sorted by relevance

/net/openvswitch/
Dflow.c507 key->nsh.base.flags = nsh_get_flags(nh); in parse_nsh()
508 key->nsh.base.ttl = nsh_get_ttl(nh); in parse_nsh()
509 key->nsh.base.mdtype = nh->mdtype; in parse_nsh()
510 key->nsh.base.np = nh->np; in parse_nsh()
511 key->nsh.base.path_hdr = nh->path_hdr; in parse_nsh()
512 switch (key->nsh.base.mdtype) { in parse_nsh()
516 memcpy(key->nsh.context, nh->md1.context, in parse_nsh()
520 memset(key->nsh.context, 0, in parse_nsh()
Dflow_netlink.c1338 struct ovs_key_nsh *nsh, struct ovs_key_nsh *nsh_mask) in nsh_key_from_nlattr() argument
1353 nsh->base = *base; in nsh_key_from_nlattr()
1361 memcpy(nsh->context, md1->context, sizeof(*md1)); in nsh_key_from_nlattr()
1420 SW_FLOW_KEY_PUT(match, nsh.base.flags, in nsh_key_put_from_nlattr()
1422 SW_FLOW_KEY_PUT(match, nsh.base.ttl, in nsh_key_put_from_nlattr()
1424 SW_FLOW_KEY_PUT(match, nsh.base.mdtype, in nsh_key_put_from_nlattr()
1426 SW_FLOW_KEY_PUT(match, nsh.base.np, in nsh_key_put_from_nlattr()
1428 SW_FLOW_KEY_PUT(match, nsh.base.path_hdr, in nsh_key_put_from_nlattr()
1437 SW_FLOW_KEY_PUT(match, nsh.context[i], in nsh_key_put_from_nlattr()
1960 static int nsh_key_to_nlattr(const struct ovs_key_nsh *nsh, bool is_mask, in nsh_key_to_nlattr() argument
[all …]
Dflow_netlink.h68 int nsh_key_from_nlattr(const struct nlattr *attr, struct ovs_key_nsh *nsh,
Dactions.c632 flow_key->nsh.base.flags = flags; in set_nsh()
635 flow_key->nsh.base.ttl = ttl; in set_nsh()
639 flow_key->nsh.base.path_hdr = nh->path_hdr; in set_nsh()
647 memcpy(flow_key->nsh.context, nh->md1.context, in set_nsh()
651 memset(flow_key->nsh.context, 0, in set_nsh()
652 sizeof(flow_key->nsh.context)); in set_nsh()
Dflow.h141 struct ovs_key_nsh nsh; /* network service header */ member
/net/nsh/
DMakefile2 obj-$(CONFIG_NET_NSH) += nsh.o
/net/
DMakefile72 obj-$(CONFIG_NET_NSH) += nsh/
DKconfig239 source "net/nsh/Kconfig"