/net/netfilter/ |
D | nfnetlink_cttimeout.c | 47 const struct nf_conntrack_l4proto *l4proto, in ctnl_timeout_parse_policy() argument 53 tb = kcalloc(l4proto->ctnl_timeout.nlattr_max + 1, sizeof(*tb), in ctnl_timeout_parse_policy() 60 l4proto->ctnl_timeout.nlattr_max, in ctnl_timeout_parse_policy() 62 l4proto->ctnl_timeout.nla_policy, in ctnl_timeout_parse_policy() 67 ret = l4proto->ctnl_timeout.nlattr_to_obj(tb, net, timeout); in ctnl_timeout_parse_policy() 82 const struct nf_conntrack_l4proto *l4proto; in cttimeout_new_timeout() local 114 matching->timeout.l4proto->l4proto != l4num) in cttimeout_new_timeout() 118 matching->timeout.l4proto, in cttimeout_new_timeout() 125 l4proto = nf_ct_l4proto_find(l4num); in cttimeout_new_timeout() 128 if (l4proto->l4proto != l4num) { in cttimeout_new_timeout() [all …]
|
D | nft_ct.c | 38 u8 l4proto; member 801 const struct nf_conntrack_l4proto *l4proto, in nft_ct_timeout_parse_policy() argument 807 tb = kcalloc(l4proto->ctnl_timeout.nlattr_max + 1, sizeof(*tb), in nft_ct_timeout_parse_policy() 814 l4proto->ctnl_timeout.nlattr_max, in nft_ct_timeout_parse_policy() 816 l4proto->ctnl_timeout.nla_policy, in nft_ct_timeout_parse_policy() 821 ret = l4proto->ctnl_timeout.nlattr_to_obj(tb, net, timeouts); in nft_ct_timeout_parse_policy() 830 u8 l4proto; member 842 if (priv->l4proto != pkt->tprot) in nft_ct_timeout_obj_eval() 872 const struct nf_conntrack_l4proto *l4proto; in nft_ct_timeout_obj_init() local 886 priv->l4proto = l4num; in nft_ct_timeout_obj_init() [all …]
|
D | nf_conntrack_timeout.c | 93 if (timeout->l4proto->l4proto != l4num) { in nf_ct_set_timeout() 97 timeout_name, 4, timeout->l4proto->l4proto); in nf_ct_set_timeout()
|
D | nft_tproxy.c | 96 int l4proto; in nft_tproxy_eval_v6() local 105 l4proto = pkt->tprot; in nft_tproxy_eval_v6() 117 sk = nf_tproxy_get_sock_v6(nft_net(pkt), skb, thoff, l4proto, in nft_tproxy_eval_v6() 134 sk = nf_tproxy_handle_time_wait6(skb, l4proto, thoff, in nft_tproxy_eval_v6() 144 l4proto, &iph->saddr, &taddr, in nft_tproxy_eval_v6()
|
D | nf_conntrack_standalone.c | 36 const struct nf_conntrack_l4proto *l4proto) in print_tuple() argument 51 switch (l4proto->l4proto) { in print_tuple() 298 const struct nf_conntrack_l4proto *l4proto; in ct_seq_show() local 318 l4proto = nf_ct_l4proto_find(nf_ct_protonum(ct)); in ct_seq_show() 323 l4proto_name(l4proto->l4proto), nf_ct_protonum(ct)); in ct_seq_show() 328 if (l4proto->print_conntrack) in ct_seq_show() 329 l4proto->print_conntrack(s, ct); in ct_seq_show() 332 l4proto); in ct_seq_show() 345 print_tuple(s, &ct->tuplehash[IP_CT_DIR_REPLY].tuple, l4proto); in ct_seq_show()
|
D | xt_CT.c | 108 const struct nf_conntrack_l4proto *l4proto; in xt_ct_set_timeout() local 117 l4proto = nf_ct_l4proto_find(proto); in xt_ct_set_timeout() 118 return nf_ct_set_timeout(par->net, ct, par->family, l4proto->l4proto, in xt_ct_set_timeout()
|
D | nf_conntrack_proto_icmp.c | 109 u8 l4proto, union nf_inet_addr *outer_daddr) in nf_conntrack_inet_error() argument 174 l4proto, in nf_conntrack_inet_error() 179 l4proto, in nf_conntrack_inet_error() 368 .l4proto = IPPROTO_ICMP,
|
D | nf_conntrack_netlink.c | 63 const struct nf_conntrack_l4proto *l4proto) in ctnetlink_dump_tuples_proto() argument 74 if (likely(l4proto->tuple_to_nlattr)) in ctnetlink_dump_tuples_proto() 75 ret = l4proto->tuple_to_nlattr(skb, tuple); in ctnetlink_dump_tuples_proto() 133 const struct nf_conntrack_l4proto *l4proto; in ctnetlink_dump_tuples() local 140 l4proto = nf_ct_l4proto_find(tuple->dst.protonum); in ctnetlink_dump_tuples() 141 ret = ctnetlink_dump_tuples_proto(skb, tuple, l4proto); in ctnetlink_dump_tuples() 184 const struct nf_conntrack_l4proto *l4proto; in ctnetlink_dump_protoinfo() local 188 l4proto = nf_ct_l4proto_find(nf_ct_protonum(ct)); in ctnetlink_dump_protoinfo() 189 if (!l4proto->to_nlattr) in ctnetlink_dump_protoinfo() 196 ret = l4proto->to_nlattr(skb, nest_proto, ct); in ctnetlink_dump_protoinfo() [all …]
|
D | nf_flow_table_core.c | 41 ft->l4proto = ctt->dst.protonum; in flow_offload_fill_dir() 139 const struct nf_conntrack_l4proto *l4proto; in flow_offload_fixup_ct_timeout() local 143 l4proto = nf_ct_l4proto_find(l4num); in flow_offload_fixup_ct_timeout() 144 if (!l4proto) in flow_offload_fixup_ct_timeout()
|
D | nf_conntrack_proto_udp.c | 280 .l4proto = IPPROTO_UDP, 302 .l4proto = IPPROTO_UDPLITE,
|
D | nf_conntrack_proto_generic.c | 69 .l4proto = 255,
|
D | xt_conntrack.c | 83 (nf_ct_protonum(ct) == info->l4proto) ^ in ct_proto_port_check() 127 (nf_ct_protonum(ct) == info->l4proto) ^ in ct_proto_port_check_v3()
|
D | nft_compat.c | 195 u32 l4proto; in nft_parse_compat() local 214 l4proto = ntohl(nla_get_be32(tb[NFTA_RULE_COMPAT_PROTO])); in nft_parse_compat() 215 if (l4proto > U16_MAX) in nft_parse_compat() 218 *proto = l4proto; in nft_parse_compat()
|
D | xt_ipvs.c | 75 if ((iph.protocol == data->l4proto) ^ in ipvs_mt()
|
D | nf_flow_table_offload.c | 127 switch (tuple->l4proto) { in nf_flow_rule_match() 139 key->basic.ip_proto = tuple->l4proto; in nf_flow_rule_match() 369 u8 protonum = flow->tuplehash[FLOW_OFFLOAD_DIR_ORIGINAL].tuple.l4proto; in flow_offload_l4proto() 450 u8 protonum = flow->tuplehash[FLOW_OFFLOAD_DIR_ORIGINAL].tuple.l4proto; in flow_offload_ipv4_checksum()
|
D | nf_conntrack_core.c | 1047 const struct nf_conntrack_l4proto *l4proto; in nf_ct_resolve_clash() local 1056 l4proto = nf_ct_l4proto_find(nf_ct_protonum(ct)); in nf_ct_resolve_clash() 1057 if (!l4proto->allow_clash) in nf_ct_resolve_clash() 1340 const struct nf_conntrack_l4proto *l4proto; in gc_worker_can_early_drop() local 1345 l4proto = nf_ct_l4proto_find(nf_ct_protonum(ct)); in gc_worker_can_early_drop() 1346 if (l4proto->can_early_drop && l4proto->can_early_drop(ct)) in gc_worker_can_early_drop()
|
D | nf_flow_table_ip.c | 205 tuple->l4proto = iph->protocol; in nf_flow_tuple_ip() 477 tuple->l4proto = ip6h->nexthdr; in nf_flow_tuple_ipv6()
|
D | nf_conntrack_proto.c | 97 const struct nf_conntrack_l4proto *nf_ct_l4proto_find(u8 l4proto) in nf_ct_l4proto_find() argument 99 switch (l4proto) { in nf_ct_l4proto_find()
|
D | nf_nat_core.c | 799 u8 l4proto; member 808 (clean->l4proto && nf_ct_protonum(i) != clean->l4proto)) in nf_nat_proto_remove()
|
D | nf_conntrack_proto_gre.c | 311 .l4proto = IPPROTO_GRE,
|
D | nf_conntrack_proto_icmpv6.c | 344 .l4proto = IPPROTO_ICMPV6,
|
D | nf_conntrack_proto_dccp.c | 794 .l4proto = IPPROTO_DCCP,
|
D | nf_conntrack_proto_sctp.c | 692 .l4proto = IPPROTO_SCTP,
|
D | nf_conntrack_proto_tcp.c | 1464 .l4proto = IPPROTO_TCP,
|
/net/sched/ |
D | act_ct.c | 457 tuple->l4proto = iph->protocol; in tcf_ct_flow_table_fill_tuple_ipv4() 499 tuple->l4proto = ip6h->nexthdr; in tcf_ct_flow_table_fill_tuple_ipv6()
|