Home
last modified time | relevance | path

Searched refs:CTA_PROTO_DST_PORT (Results 1 – 4 of 4) sorted by relevance

/linux/tools/testing/selftests/net/netfilter/
H A Dconntrack_dump_flush.c42 mnl_attr_put_u16(nlh, CTA_PROTO_DST_PORT, htons(dst_port)); in build_cta_tuple_v4()
72 mnl_attr_put_u16(nlh, CTA_PROTO_DST_PORT, htons(dst_port)); in build_cta_tuple_v6()
/linux/include/uapi/linux/netfilter/
H A Dnfnetlink_conntrack.h87 CTA_PROTO_DST_PORT, enumerator
/linux/net/netfilter/
H A Dnf_conntrack_core.c2133 nla_put_be16(skb, CTA_PROTO_DST_PORT, tuple->dst.u.tcp.port)) in nf_ct_port_tuple_to_nlattr()
2144 [CTA_PROTO_DST_PORT] = { .type = NLA_U16 },
2159 if (flags & CTA_FILTER_FLAG(CTA_PROTO_DST_PORT)) { in nf_ct_port_nlattr_to_tuple()
2160 if (!tb[CTA_PROTO_DST_PORT]) in nf_ct_port_nlattr_to_tuple()
2163 t->dst.u.tcp.port = nla_get_be16(tb[CTA_PROTO_DST_PORT]); in nf_ct_port_nlattr_to_tuple()
H A Dnf_conntrack_netlink.c1105 if ((flags & CTA_FILTER_FLAG(CTA_PROTO_DST_PORT)) && in ctnetlink_filter_match_tuple()