Searched refs:nsh (Results 1 – 8 of 8) sorted by relevance
/net/openvswitch/ |
D | flow.c | 507 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()
|
D | flow_netlink.c | 1338 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 …]
|
D | flow_netlink.h | 68 int nsh_key_from_nlattr(const struct nlattr *attr, struct ovs_key_nsh *nsh,
|
D | actions.c | 632 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()
|
D | flow.h | 141 struct ovs_key_nsh nsh; /* network service header */ member
|
/net/nsh/ |
D | Makefile | 2 obj-$(CONFIG_NET_NSH) += nsh.o
|
/net/ |
D | Makefile | 72 obj-$(CONFIG_NET_NSH) += nsh/
|
D | Kconfig | 239 source "net/nsh/Kconfig"
|