Home
last modified time | relevance | path

Searched refs:in_range (Results 1 – 14 of 14) sorted by relevance

/net/netfilter/
Dnf_nat_core.c158 static int in_range(const struct nf_nat_l3proto *l3proto, in in_range() function
167 !l3proto->in_range(tuple, range)) in in_range()
171 l4proto->in_range(tuple, NF_NAT_MANIP_SRC, in in_range()
212 if (in_range(l3proto, l4proto, result, range)) in find_appropriate_src()
329 if (in_range(l3proto, l4proto, orig_tuple, range)) { in get_unique_tuple()
353 if (l4proto->in_range(tuple, maniptype, in get_unique_tuple()
Dnf_nat_proto_unknown.c52 .in_range = unknown_in_range,
Dnf_nat_proto_tcp.c80 .in_range = nf_nat_l4proto_in_range,
Dnf_nat_proto_udp.c71 .in_range = nf_nat_l4proto_in_range,
Dnf_nat_proto_sctp.c60 .in_range = nf_nat_l4proto_in_range,
Dnf_nat_proto_udplite.c70 .in_range = nf_nat_l4proto_in_range,
Dnf_nat_proto_dccp.c79 .in_range = nf_nat_l4proto_in_range,
/net/tipc/
Dcore.h160 static inline int in_range(u16 val, u16 min, u16 max) in in_range() function
Dlink.c1473 if (in_range(peers_tol, TIPC_MIN_LINK_TOL, TIPC_MAX_LINK_TOL)) in tipc_link_proto_rcv()
1477 if (in_range(peers_prio, l->priority + 1, TIPC_MAX_LINK_PRI)) in tipc_link_proto_rcv()
1499 if (in_range(peers_tol, TIPC_MIN_LINK_TOL, TIPC_MAX_LINK_TOL)) in tipc_link_proto_rcv()
1504 in_range(peers_prio, 1, TIPC_MAX_LINK_PRI)) { in tipc_link_proto_rcv()
/net/ipv4/netfilter/
Dnf_nat_proto_icmp.c78 .in_range = icmp_in_range,
Dnf_nat_proto_gre.c126 .in_range = nf_nat_l4proto_in_range,
Dnf_nat_l3proto_ipv4.c164 .in_range = nf_nat_ipv4_in_range,
/net/ipv6/netfilter/
Dnf_nat_proto_icmpv6.c85 .in_range = icmpv6_in_range,
Dnf_nat_l3proto_ipv6.c175 .in_range = nf_nat_ipv6_in_range,