/net/ipv6/netfilter/ |
H A D | ip6t_mh.c | 30 type_match(u_int8_t min, u_int8_t max, u_int8_t type, bool invert) argument 32 return (type >= min && type <= max) ^ invert;
|
H A D | ip6t_ah.c | 28 spi_match(u_int32_t min, u_int32_t max, u_int32_t spi, bool invert) argument 33 invert ? '!' : ' ', min, spi, max); 34 r = (spi >= min && spi <= max) ^ invert;
|
H A D | ip6t_frag.c | 27 id_match(u_int32_t min, u_int32_t max, u_int32_t id, bool invert) argument 31 min, id, max); 32 r = (id >= min && id <= max) ^ invert;
|
H A D | nf_nat_proto_icmpv6.c | 26 const union nf_conntrack_man_proto *max) 29 ntohs(tuple->src.u.icmp.id) <= ntohs(max->icmp.id); 23 icmpv6_in_range(const struct nf_conntrack_tuple *tuple, enum nf_nat_manip_type maniptype, const union nf_conntrack_man_proto *min, const union nf_conntrack_man_proto *max) argument
|
H A D | ip6t_rt.c | 29 segsleft_match(u_int32_t min, u_int32_t max, u_int32_t id, bool invert) argument 33 invert ? '!' : ' ', min, id, max); 34 r = (id >= min && id <= max) ^ invert;
|
/net/netfilter/ |
H A D | nf_nat_proto_unknown.c | 23 const union nf_conntrack_man_proto *max) 20 unknown_in_range(const struct nf_conntrack_tuple *tuple, enum nf_nat_manip_type manip_type, const union nf_conntrack_man_proto *min, const union nf_conntrack_man_proto *max) argument
|
H A D | nf_nat_proto_common.c | 23 const union nf_conntrack_man_proto *max) 33 ntohs(port) <= ntohs(max->all); 20 nf_nat_l4proto_in_range(const struct nf_conntrack_tuple *tuple, enum nf_nat_manip_type maniptype, const union nf_conntrack_man_proto *min, const union nf_conntrack_man_proto *max) argument
|
H A D | xt_esp.c | 29 spi_match(u_int32_t min, u_int32_t max, u_int32_t spi, bool invert) argument 33 invert ? '!' : ' ', min, spi, max); 34 r = (spi >= min && spi <= max) ^ invert;
|
H A D | xt_ipcomp.c | 32 spi_match(u_int32_t min, u_int32_t max, u_int32_t spi, bool invert) argument 36 invert ? '!' : ' ', min, spi, max); 37 r = (spi >= min && spi <= max) ^ invert;
|
H A D | nf_conntrack_extend.c | 128 enum nf_ct_ext_id min = 0, max = NF_CT_EXT_NUM - 1; local 133 max = type->id; 138 for (i = min; i <= max; i++) {
|
H A D | xt_conntrack.c | 117 port_match(u16 min, u16 max, u16 port, bool invert) argument 119 return (port >= min && port <= max) ^ invert;
|
H A D | xt_tcpudp.c | 25 port_match(u_int16_t min, u_int16_t max, u_int16_t port, bool invert) argument 27 return (port >= min && port <= max) ^ invert; 38 /* tcp.doff is only 4 bits, ie. max 15 * 4 bytes */
|
/net/ipv4/netfilter/ |
H A D | ipt_ah.c | 23 spi_match(u_int32_t min, u_int32_t max, u_int32_t spi, bool invert) argument 27 invert ? '!' : ' ', min, spi, max); 28 r=(spi >= min && spi <= max) ^ invert;
|
H A D | nf_nat_proto_icmp.c | 24 const union nf_conntrack_man_proto *max) 27 ntohs(tuple->src.u.icmp.id) <= ntohs(max->icmp.id); 21 icmp_in_range(const struct nf_conntrack_tuple *tuple, enum nf_nat_manip_type maniptype, const union nf_conntrack_man_proto *min, const union nf_conntrack_man_proto *max) argument
|
/net/phonet/ |
H A D | sysctl.c | 51 void phonet_get_local_port_range(int *min, int *max) argument 59 if (max) 60 *max = local_port_range[1];
|
/net/wireless/ |
H A D | wext-priv.c | 68 int max = args & IW_PRIV_SIZE_MASK; local 72 if (max < num) 73 num = max;
|
/net/sctp/ |
H A D | chunk.c | 169 int max, whole, i, offset, over, err; local 201 max = asoc->frag_point; 214 /* Now, check if we need to reduce our max */ 215 if (max > max_data) 216 max = max_data; 219 first_len = max; 230 msg_len > max) 249 whole += msg_len / max; 250 over = msg_len % max; 299 len = max; [all...] |
H A D | sysctl.c | 49 static int addr_scope_max = 3; /* check sctp_scope_policy_t in include/net/sctp/constants.h for max entries */ 371 unsigned int max = *(unsigned int *) ctl->extra2; local 385 if (new_value > max || new_value < min) 400 unsigned int max = *(unsigned int *) ctl->extra2; local 414 if (new_value > max || new_value < min)
|
/net/decnet/ |
H A D | dn_nsp_in.c | 177 * @max: The maximum allowed length of the data in the image data field 182 static inline int dn_check_idf(unsigned char **pptr, int *len, unsigned char max, unsigned char follow_on) argument 188 if (flen > max)
|
H A D | dn_neigh.c | 463 static char *dn_find_slot(char *base, int max, int priority) argument 470 for(i = 0; i < max; i++) {
|
/net/rxrpc/ |
H A D | ar-output.c | 570 size_t size, chunk, max, space; local 585 max = call->conn->trans->peer->maxdata; 586 max -= call->conn->security_size; 587 max &= ~(call->conn->size_align - 1UL); 589 chunk = max;
|
/net/sunrpc/xprtrdma/ |
H A D | rpc_rdma.c | 146 * be severely size-limited by a small rdma inline read max. The server 568 rpcrdma_count_chunks(struct rpcrdma_rep *rep, unsigned int max, int wrchunk, __be32 **iptrp) argument 574 if (i > max)
|
/net/tipc/ |
H A D | msg.c | 270 * @mtu: max allowable size for the bundle buffer 281 u32 max = mtu - INT_H_SIZE; local 296 if (unlikely(max < (start + msz))) 311 * @mtu: max allowable size for the bundle buffer, inclusive header 322 u32 max = mtu - INT_H_SIZE; local 330 if (msz > (max / 2)) 333 bbuf = tipc_buf_acquire(max);
|
/net/batman-adv/ |
H A D | distributed-arp-table.c | 406 * @max: current round max address 416 batadv_dat_addr_t max, 441 if (tmp_max < max) 446 if ((tmp_max == max) && max_orig_node && 468 batadv_dat_addr_t max = 0, tmp_max = 0; local 492 tmp_max, max, 500 max = tmp_max; 513 max); 515 *last_max = max; 414 batadv_is_orig_node_eligible(struct batadv_dat_candidate *res, int select, batadv_dat_addr_t tmp_max, batadv_dat_addr_t max, batadv_dat_addr_t last_max, struct batadv_orig_node *candidate, struct batadv_orig_node *max_orig_node) argument [all...] |
H A D | sysfs.c | 279 unsigned int min, unsigned int max, 298 if (uint_val > max) { 299 batadv_info(net_dev, "%s: Value is too big: %lu max: %u\n", 300 attr_name, uint_val, max); 316 int min, int max, 323 ret = batadv_store_uint_attr(buff, count, net_dev, attr->name, min, max, 276 batadv_store_uint_attr(const char *buff, size_t count, struct net_device *net_dev, const char *attr_name, unsigned int min, unsigned int max, atomic_t *attr) argument 315 __batadv_store_uint_attr(const char *buff, size_t count, int min, int max, void (*post_func)(struct net_device *), const struct attribute *attr, atomic_t *attr_store, struct net_device *net_dev) argument
|