Home
last modified time | relevance | path

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

/net/netfilter/
Dnfnetlink_cttimeout.c92 __u8 l4num; in cttimeout_new_timeout() local
106 l4num = nla_get_u8(cda[CTA_TIMEOUT_L4PROTO]); in cttimeout_new_timeout()
125 matching->timeout.l4proto->l4proto != l4num) in cttimeout_new_timeout()
137 l4proto = nf_ct_l4proto_find(l4num); in cttimeout_new_timeout()
140 if (l4proto->l4proto != l4num) { in cttimeout_new_timeout()
353 __u8 l4num; in cttimeout_default_set() local
361 l4num = nla_get_u8(cda[CTA_TIMEOUT_L4PROTO]); in cttimeout_default_set()
362 l4proto = nf_ct_l4proto_find(l4num); in cttimeout_default_set()
365 if (l4proto->l4proto != l4num) { in cttimeout_default_set()
428 __u8 l4num; in cttimeout_default_get() local
[all …]
Dnf_flow_table_core.c183 int l4num = nf_ct_protonum(ct); in flow_offload_fixup_ct() local
186 if (l4num == IPPROTO_TCP) { in flow_offload_fixup_ct()
193 } else if (l4num == IPPROTO_UDP) { in flow_offload_fixup_ct()
267 int l4num = nf_ct_protonum(flow->ct); in flow_offload_get_timeout() local
269 if (l4num == IPPROTO_TCP) { in flow_offload_get_timeout()
273 } else if (l4num == IPPROTO_UDP) { in flow_offload_get_timeout()
Dnf_conntrack_timeout.c59 u8 l3num, u8 l4num, const char *timeout_name) in nf_ct_set_timeout() argument
93 if (timeout->l4proto->l4proto != l4num) { in nf_ct_set_timeout()
Dnft_ct.c876 __u8 l4num; in nft_ct_timeout_obj_init() local
886 l4num = nla_get_u8(tb[NFTA_CT_TIMEOUT_L4PROTO]); in nft_ct_timeout_obj_init()
887 priv->l4proto = l4num; in nft_ct_timeout_obj_init()
889 l4proto = nf_ct_l4proto_find(l4num); in nft_ct_timeout_obj_init()
891 if (l4proto->l4proto != l4num) { in nft_ct_timeout_obj_init()
Dnf_conntrack_core.c416 unsigned int nhoff, u8 pf, u8 *l4num) in get_l4proto() argument
420 return ipv4_get_l4proto(skb, nhoff, l4num); in get_l4proto()
423 return ipv6_get_l4proto(skb, nhoff, l4num); in get_l4proto()
426 *l4num = 0; in get_l4proto()
2158 u8 l4num; in __nf_conntrack_update() local
2162 dataoff = get_l4proto(skb, skb_network_offset(skb), l3num, &l4num); in __nf_conntrack_update()
2167 l4num, net, &tuple)) in __nf_conntrack_update()