Home
last modified time | relevance | path

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

/linux-6.12.1/tools/testing/selftests/net/netfilter/
Dconntrack_dump_flush.c41 mnl_attr_put_u16(nlh, CTA_PROTO_SRC_PORT, htons(src_port)); in build_cta_tuple_v4()
69 mnl_attr_put_u16(nlh, CTA_PROTO_SRC_PORT, htons(src_port)); in build_cta_tuple_v6()
/linux-6.12.1/include/uapi/linux/netfilter/
Dnfnetlink_conntrack.h86 CTA_PROTO_SRC_PORT, enumerator
/linux-6.12.1/net/netfilter/
Dnf_conntrack_core.c2132 if (nla_put_be16(skb, CTA_PROTO_SRC_PORT, tuple->src.u.tcp.port) || in nf_ct_port_tuple_to_nlattr()
2143 [CTA_PROTO_SRC_PORT] = { .type = NLA_U16 },
2152 if (flags & CTA_FILTER_FLAG(CTA_PROTO_SRC_PORT)) { in nf_ct_port_nlattr_to_tuple()
2153 if (!tb[CTA_PROTO_SRC_PORT]) in nf_ct_port_nlattr_to_tuple()
2156 t->src.u.tcp.port = nla_get_be16(tb[CTA_PROTO_SRC_PORT]); in nf_ct_port_nlattr_to_tuple()
Dnf_conntrack_netlink.c1101 if ((flags & CTA_FILTER_FLAG(CTA_PROTO_SRC_PORT)) && in ctnetlink_filter_match_tuple()