Searched refs:PgAddr (Results 1 – 12 of 12) sorted by relevance
/dports/databases/pgbouncer/pgbouncer-1.16.0/include/ |
H A D | bouncer.h | 99 typedef union PgAddr PgAddr; typedef 224 union PgAddr { union 234 int pga_port(const PgAddr *a); 235 void pga_set(PgAddr *a, int fam, int port); 236 void pga_copy(PgAddr *a, const struct sockaddr *sa); 237 bool pga_pton(PgAddr *a, const char *s, int port); 238 const char *pga_ntop(const PgAddr *a, char *dst, int dstlen); 239 const char *pga_str(const PgAddr *a, char *dst, int dstlen); 241 int pga_cmp_addr(const PgAddr *a, const PgAddr *b); 429 PgAddr remote_addr; /* ip:port for remote endpoint */ [all …]
|
H A D | objects.h | 60 bool use_client_socket(int fd, PgAddr *addr, const char *dbname, const char *username, uint64_t cke… 66 bool use_server_socket(int fd, PgAddr *addr, const char *dbname, const char *username, uint64_t cke…
|
H A D | hba.h | 23 int hba_eval(struct HBA *hba, PgAddr *addr, bool is_tls, const char *dbname, const char *username);
|
H A D | pooler.h | 26 typedef bool (*pooler_cb)(void *arg, int fd, const PgAddr *addr);
|
/dports/databases/pgbouncer/pgbouncer-1.16.0/src/ |
H A D | util.c | 229 PgAddr *dst = &sk->remote_addr; in fill_remote_addr() 230 socklen_t len = sizeof(PgAddr); in fill_remote_addr() 261 PgAddr *dst = &sk->local_addr; in fill_local_addr() 262 socklen_t len = sizeof(PgAddr); in fill_local_addr() 326 int pga_port(const PgAddr *a) in pga_port() 336 void pga_set(PgAddr *a, int af, int port) in pga_set() 349 void pga_copy(PgAddr *a, const struct sockaddr *sa) in pga_copy() 363 int pga_cmp_addr(const PgAddr *a, const PgAddr *b) in pga_cmp_addr() 382 const char *pga_ntop(const PgAddr *a, char *dst, int dstlen) in pga_ntop() 410 bool pga_pton(PgAddr *a, const char *s, int port) in pga_pton() [all …]
|
H A D | pooler.c | 32 PgAddr addr; 295 static const char *addrpair(const PgAddr *src, const PgAddr *dst) in addrpair()
|
H A D | hba.c | 679 static bool match_inet4(const struct HBARule *rule, PgAddr *addr) in match_inet4() 690 static bool match_inet6(const struct HBARule *rule, PgAddr *addr) in match_inet6() 702 int hba_eval(struct HBA *hba, PgAddr *addr, bool is_tls, const char *dbname, const char *username) in hba_eval()
|
H A D | pam.c | 59 PgAddr remote_addr;
|
H A D | objects.c | 1400 bool use_client_socket(int fd, PgAddr *addr, in use_client_socket() 1478 bool use_server_socket(int fd, PgAddr *addr, in use_server_socket() 1692 PgAddr *addr = arg; in server_remote_addr_filter() 1701 PgAddr addr; in tag_host_addr_dirty()
|
H A D | takeover.c | 100 PgAddr addr; in takeover_load_fd()
|
H A D | admin.c | 325 PgAddr *addr = &sk->remote_addr; in show_one_fd() 374 static bool show_pooler_cb(void *arg, int fd, const PgAddr *a) in show_pooler_cb() 605 static void adr2txt(const PgAddr *adr, char *dst, unsigned dstlen) in adr2txt()
|
/dports/databases/pgbouncer/pgbouncer-1.16.0/test/ |
H A D | hba_test.c | 68 PgAddr pgaddr; in hba_test_eval()
|