Home
last modified time | relevance | path

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

/linux/tools/testing/selftests/net/netfilter/
H A Dconntrack_dump_flush.c41 mnl_attr_put_u16(nlh, CTA_PROTO_SRC_PORT, htons(src_port)); in build_cta_tuple_v4()
71 mnl_attr_put_u16(nlh, CTA_PROTO_SRC_PORT, htons(src_port)); in build_cta_tuple_v6()
/linux/include/uapi/linux/netfilter/
H A Dnfnetlink_conntrack.h87 CTA_PROTO_SRC_PORT, enumerator
/linux/net/netfilter/
H A Dnf_conntrack_core.c2138 if (nla_put_be16(skb, CTA_PROTO_SRC_PORT, tuple->src.u.tcp.port) || in nf_ct_port_tuple_to_nlattr()
2149 [CTA_PROTO_SRC_PORT] = { .type = NLA_U16 },
2158 if (flags & CTA_FILTER_FLAG(CTA_PROTO_SRC_PORT)) { in nf_ct_port_nlattr_to_tuple()
2159 if (!tb[CTA_PROTO_SRC_PORT]) in nf_ct_port_nlattr_to_tuple()
2162 t->src.u.tcp.port = nla_get_be16(tb[CTA_PROTO_SRC_PORT]); in nf_ct_port_nlattr_to_tuple()
H A Dnf_conntrack_netlink.c1118 if ((flags & CTA_FILTER_FLAG(CTA_PROTO_SRC_PORT)) && in ctnetlink_filter_match_tuple()