Home
last modified time | relevance | path

Searched refs:l4num (Results 1 – 6 of 6) sorted by relevance

/linux-6.1.9/net/netfilter/
Dnfnetlink_cttimeout.c104 __u8 l4num; in cttimeout_new_timeout() local
118 l4num = nla_get_u8(cda[CTA_TIMEOUT_L4PROTO]); in cttimeout_new_timeout()
137 matching->timeout.l4proto->l4proto != l4num) in cttimeout_new_timeout()
149 l4proto = nf_ct_l4proto_find(l4num); in cttimeout_new_timeout()
152 if (l4proto->l4proto != l4num) { in cttimeout_new_timeout()
366 __u8 l4num; in cttimeout_default_set() local
374 l4num = nla_get_u8(cda[CTA_TIMEOUT_L4PROTO]); in cttimeout_default_set()
375 l4proto = nf_ct_l4proto_find(l4num); in cttimeout_default_set()
378 if (l4proto->l4proto != l4num) { in cttimeout_default_set()
441 __u8 l4num; in cttimeout_default_get() local
[all …]
Dnf_conntrack_timeout.c65 u8 l3num, u8 l4num, const char *timeout_name) in nf_ct_set_timeout() argument
99 if (timeout->l4proto->l4proto != l4num) { in nf_ct_set_timeout()
Dnf_flow_table_core.c184 int l4num = nf_ct_protonum(ct); in flow_offload_fixup_ct() local
187 if (l4num == IPPROTO_TCP) { in flow_offload_fixup_ct()
194 } else if (l4num == IPPROTO_UDP) { in flow_offload_fixup_ct()
268 int l4num = nf_ct_protonum(flow->ct); in flow_offload_get_timeout() local
270 if (l4num == IPPROTO_TCP) { in flow_offload_get_timeout()
274 } else if (l4num == IPPROTO_UDP) { in flow_offload_get_timeout()
Dnft_ct.c921 __u8 l4num; in nft_ct_timeout_obj_init() local
931 l4num = nla_get_u8(tb[NFTA_CT_TIMEOUT_L4PROTO]); in nft_ct_timeout_obj_init()
932 priv->l4proto = l4num; in nft_ct_timeout_obj_init()
934 l4proto = nf_ct_l4proto_find(l4num); in nft_ct_timeout_obj_init()
936 if (l4proto->l4proto != l4num) { in nft_ct_timeout_obj_init()
Dnf_conntrack_core.c413 unsigned int nhoff, u8 pf, u8 *l4num) in get_l4proto() argument
417 return ipv4_get_l4proto(skb, nhoff, l4num); in get_l4proto()
420 return ipv6_get_l4proto(skb, nhoff, l4num); in get_l4proto()
423 *l4num = 0; in get_l4proto()
2203 u8 l4num; in __nf_conntrack_update() local
2207 dataoff = get_l4proto(skb, skb_network_offset(skb), l3num, &l4num); in __nf_conntrack_update()
2212 l4num, net, &tuple)) in __nf_conntrack_update()
/linux-6.1.9/include/net/netfilter/
Dnf_conntrack_timeout.h85 int nf_ct_set_timeout(struct net *net, struct nf_conn *ct, u8 l3num, u8 l4num,
90 u8 l3num, u8 l4num, in nf_ct_set_timeout() argument