src/session.c
static int
smp_fetch_src_inc_gpc0(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_inc_gpc0(&px->table, smp, stktable_update_key(&px->table, key));
}
/* Increment the General Purpose Counter 0 value from the session's source
 * address in the table pointed to by expr, and return it into temp integer.
 * Accepts exactly 1 argument of type table.
 */
Increment the General Purpose Counter 0 value from the session's source
address in the table pointed to by expr, and return it into temp integer.
Accepts exactly 1 argument of type table.
Increment the General Purpose Counter 0 value from the session ' s source address in the table pointed to by expr and return it into temp integer . Accepts exactly 1 argument of type table .
static int
smp_fetch_src_inc_gpc0(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_inc_gpc0(&px->table, smp, stktable_update_key(&px->table, key));
}
static int smp_fetch_src_inc_gpc0 ( 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_inc_gpc0 ( & px -> table , smp , stktable_update_key ( & px -> table , key ) ) ; }
Increment the General Purpose Counter 0 value from the session's source
 address in the table pointed to by expr, and return it into temp integer.
Increment the General Purpose Counter 0 value from the session ' s source address in the table pointed to by expr and return it into temp integer .