Home
last modified time | relevance | path

Searched refs:nest_proto (Results 1 – 2 of 2) sorted by relevance

/linux/tools/testing/selftests/net/netfilter/
H A Dconntrack_dump_flush.c24 struct nlattr *nest, *nest_ip, *nest_proto; in build_cta_tuple_v4() local
37 nest_proto = mnl_attr_nest_start(nlh, CTA_TUPLE_PROTO); in build_cta_tuple_v4()
38 if (!nest_proto) in build_cta_tuple_v4()
43 mnl_attr_nest_end(nlh, nest_proto); in build_cta_tuple_v4()
54 struct nlattr *nest, *nest_ip, *nest_proto; in build_cta_tuple_v6() local
67 nest_proto = mnl_attr_nest_start(nlh, CTA_TUPLE_PROTO); in build_cta_tuple_v6()
68 if (!nest_proto) in build_cta_tuple_v6()
73 mnl_attr_nest_end(nlh, nest_proto); in build_cta_tuple_v6()
82 struct nlattr *nest, *nest_proto; in build_cta_proto() local
88 nest_proto = mnl_attr_nest_start(nlh, CTA_PROTOINFO_TCP); in build_cta_proto()
[all …]
/linux/net/netfilter/
H A Dnf_conntrack_netlink.c203 struct nlattr *nest_proto; in ctnetlink_dump_protoinfo() local
210 nest_proto = nla_nest_start(skb, CTA_PROTOINFO); in ctnetlink_dump_protoinfo()
211 if (!nest_proto) in ctnetlink_dump_protoinfo()
214 ret = l4proto->to_nlattr(skb, nest_proto, ct, destroy); in ctnetlink_dump_protoinfo()
216 nla_nest_end(skb, nest_proto); in ctnetlink_dump_protoinfo()