src/session.c
static int
smp_fetch_src_bytes_in_rate(struct proxy *px, struct session *l4, void *l7, unsigned int opt,
                            const struct arg *args, struct sample *smp)
{
	struct stktable_key *key;

	key = addr_to_stktable_key(&l4->si[0].conn->addr.from);
	if (!key)
		return 0;

	px = args->data.prx;
	return smp_fetch_bytes_in_rate(&px->table, smp, stktable_lookup_key(&px->table, key));
}
/* set temp integer to the bytes rate from clients from the session's source address
 * in the table pointed to by expr, over the configured period.
 * Accepts exactly 1 argument of type table.
 */
set temp integer to the bytes rate from clients from the session's source address
in the table pointed to by expr, over the configured period.
Accepts exactly 1 argument of type table.
set temp integer to the bytes rate from clients from the session ' s source address in the table pointed to by expr over the configured period . Accepts exactly 1 argument of type table .
static int
smp_fetch_src_bytes_in_rate(struct proxy *px, struct session *l4, void *l7, unsigned int opt,
                            const struct arg *args, struct sample *smp)
{
	struct stktable_key *key;
	key = addr_to_stktable_key(&l4->si[0].conn->addr.from);
	if (!key)
		return 0;
	px = args->data.prx;
	return smp_fetch_bytes_in_rate(&px->table, smp, stktable_lookup_key(&px->table, key));
}
static int smp_fetch_src_bytes_in_rate ( struct proxy * px , struct session * l4 , void * l7 , unsigned int opt , const struct arg * args , struct sample * smp ) { struct stktable_key * key ; key = addr_to_stktable_key ( & l4 -> si [ 0 ] . conn -> addr . from ) ; if ( ! key ) return 0 ; px = args -> data . prx ; return smp_fetch_bytes_in_rate ( & px -> table , smp , stktable_lookup_key ( & px -> table , key ) ) ; }
set temp integer to the bytes rate from clients from the session's source address
 in the table pointed to by expr, over the configured period.
set temp integer to the bytes rate from clients from the session ' s source address in the table pointed to by expr over the configured period .