/net/netfilter/ |
D | nfnetlink_cttimeout.c | 59 const struct nf_conntrack_l4proto *l4proto, in ctnl_timeout_parse_policy() argument 65 tb = kcalloc(l4proto->ctnl_timeout.nlattr_max + 1, sizeof(*tb), in ctnl_timeout_parse_policy() 72 l4proto->ctnl_timeout.nlattr_max, in ctnl_timeout_parse_policy() 74 l4proto->ctnl_timeout.nla_policy, in ctnl_timeout_parse_policy() 79 ret = l4proto->ctnl_timeout.nlattr_to_obj(tb, net, timeout); in ctnl_timeout_parse_policy() 93 const struct nf_conntrack_l4proto *l4proto; in cttimeout_new_timeout() local 125 matching->timeout.l4proto->l4proto != l4num) in cttimeout_new_timeout() 129 matching->timeout.l4proto, in cttimeout_new_timeout() 137 l4proto = nf_ct_l4proto_find(l4num); in cttimeout_new_timeout() 140 if (l4proto->l4proto != l4num) { in cttimeout_new_timeout() [all …]
|
D | nft_ct.c | 38 u8 l4proto; member 802 const struct nf_conntrack_l4proto *l4proto, in nft_ct_timeout_parse_policy() argument 808 tb = kcalloc(l4proto->ctnl_timeout.nlattr_max + 1, sizeof(*tb), in nft_ct_timeout_parse_policy() 815 l4proto->ctnl_timeout.nlattr_max, in nft_ct_timeout_parse_policy() 817 l4proto->ctnl_timeout.nla_policy, in nft_ct_timeout_parse_policy() 822 ret = l4proto->ctnl_timeout.nlattr_to_obj(tb, net, timeouts); in nft_ct_timeout_parse_policy() 831 u8 l4proto; member 843 if (priv->l4proto != pkt->tprot) in nft_ct_timeout_obj_eval() 873 const struct nf_conntrack_l4proto *l4proto; in nft_ct_timeout_obj_init() local 887 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 | 39 const struct nf_conntrack_l4proto *l4proto) in print_tuple() argument 54 switch (l4proto->l4proto) { in print_tuple() 301 const struct nf_conntrack_l4proto *l4proto; in ct_seq_show() local 321 l4proto = nf_ct_l4proto_find(nf_ct_protonum(ct)); in ct_seq_show() 326 l4proto_name(l4proto->l4proto), nf_ct_protonum(ct)); in ct_seq_show() 331 if (l4proto->print_conntrack) in ct_seq_show() 332 l4proto->print_conntrack(s, ct); in ct_seq_show() 335 l4proto); in ct_seq_show() 348 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() 367 .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() 189 const struct nf_conntrack_l4proto *l4proto; in ctnetlink_dump_protoinfo() local 193 l4proto = nf_ct_l4proto_find(nf_ct_protonum(ct)); in ctnetlink_dump_protoinfo() 194 if (!l4proto->to_nlattr) in ctnetlink_dump_protoinfo() 201 ret = l4proto->to_nlattr(skb, nest_proto, ct, destroy); in ctnetlink_dump_protoinfo() [all …]
|
D | nf_conntrack_proto_udp.c | 282 .l4proto = IPPROTO_UDP, 304 .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 | 203 u32 l4proto; in nft_parse_compat() local 222 l4proto = ntohl(nla_get_be32(tb[NFTA_RULE_COMPAT_PROTO])); in nft_parse_compat() 223 if (l4proto > U16_MAX) in nft_parse_compat() 226 *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 | 166 switch (tuple->l4proto) { in nf_flow_rule_match() 178 key->basic.ip_proto = tuple->l4proto; in nf_flow_rule_match() 436 u8 protonum = flow->tuplehash[FLOW_OFFLOAD_DIR_ORIGINAL].tuple.l4proto; in flow_offload_l4proto() 517 u8 protonum = flow->tuplehash[FLOW_OFFLOAD_DIR_ORIGINAL].tuple.l4proto; in flow_offload_ipv4_checksum()
|
D | nf_conntrack_core.c | 1119 const struct nf_conntrack_l4proto *l4proto; in nf_ct_resolve_clash() local 1128 l4proto = nf_ct_l4proto_find(nf_ct_protonum(ct)); in nf_ct_resolve_clash() 1129 if (!l4proto->allow_clash) in nf_ct_resolve_clash() 1426 const struct nf_conntrack_l4proto *l4proto; in gc_worker_can_early_drop() local 1431 l4proto = nf_ct_l4proto_find(nf_ct_protonum(ct)); in gc_worker_can_early_drop() 1432 if (l4proto->can_early_drop && l4proto->can_early_drop(ct)) in gc_worker_can_early_drop()
|
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 | 779 u8 l4proto; member 788 (clean->l4proto && nf_ct_protonum(i) != clean->l4proto)) in nf_nat_proto_remove()
|
D | nf_flow_table_ip.c | 211 tuple->l4proto = iph->protocol; in nf_flow_tuple_ip() 552 tuple->l4proto = ip6h->nexthdr; in nf_flow_tuple_ipv6()
|
D | nf_conntrack_proto_gre.c | 298 .l4proto = IPPROTO_GRE,
|
D | nf_conntrack_proto_icmpv6.c | 343 .l4proto = IPPROTO_ICMPV6,
|
D | nf_conntrack_proto_dccp.c | 801 .l4proto = IPPROTO_DCCP,
|
D | nf_flow_table_core.c | 41 ft->l4proto = ctt->dst.protonum; in flow_offload_fill_dir()
|
D | nf_conntrack_proto_sctp.c | 697 .l4proto = IPPROTO_SCTP,
|
D | nf_conntrack_proto_tcp.c | 1561 .l4proto = IPPROTO_TCP,
|
/net/sched/ |
D | act_ct.c | 459 tuple->l4proto = iph->protocol; in tcf_ct_flow_table_fill_tuple_ipv4() 501 tuple->l4proto = ip6h->nexthdr; in tcf_ct_flow_table_fill_tuple_ipv6()
|