Home
last modified time | relevance | path

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

/Linux-v6.6/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.c166 int l4num = nf_ct_protonum(ct); in flow_offload_fixup_ct() local
169 if (l4num == IPPROTO_TCP) { in flow_offload_fixup_ct()
176 } else if (l4num == IPPROTO_UDP) { in flow_offload_fixup_ct()
253 int l4num = nf_ct_protonum(flow->ct); in flow_offload_get_timeout() local
255 if (l4num == IPPROTO_TCP) { in flow_offload_get_timeout()
259 } else if (l4num == IPPROTO_UDP) { in flow_offload_get_timeout()
Dnft_ct.c940 __u8 l4num; in nft_ct_timeout_obj_init() local
950 l4num = nla_get_u8(tb[NFTA_CT_TIMEOUT_L4PROTO]); in nft_ct_timeout_obj_init()
951 priv->l4proto = l4num; in nft_ct_timeout_obj_init()
953 l4proto = nf_ct_l4proto_find(l4num); in nft_ct_timeout_obj_init()
955 if (l4proto->l4proto != l4num) { in nft_ct_timeout_obj_init()
Dnf_conntrack_core.c403 unsigned int nhoff, u8 pf, u8 *l4num) in get_l4proto() argument
407 return ipv4_get_l4proto(skb, nhoff, l4num); in get_l4proto()
410 return ipv6_get_l4proto(skb, nhoff, l4num); in get_l4proto()
413 *l4num = 0; in get_l4proto()
2184 u8 l4num; in __nf_conntrack_update() local
2188 dataoff = get_l4proto(skb, skb_network_offset(skb), l3num, &l4num); in __nf_conntrack_update()
2193 l4num, net, &tuple)) in __nf_conntrack_update()
/Linux-v6.6/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