Home
last modified time | relevance | path

Searched refs:hb_if (Results 1 – 25 of 25) sorted by relevance

/dports/databases/pgpool-II-41/pgpool-II-4.1.10/src/watchdog/
H A Dwd_heartbeat.c76 static int wd_create_hb_send_socket(WdHbIf * hb_if);
77 static int wd_create_hb_recv_socket(WdHbIf * hb_if);
84 wd_create_hb_send_socket(WdHbIf * hb_if) in wd_create_hb_send_socket() argument
108 if (hb_if->if_name[0] != '\0') in wd_create_hb_send_socket()
160 wd_create_hb_recv_socket(WdHbIf * hb_if) in wd_create_hb_recv_socket() argument
190 if (hb_if->if_name[0] != '\0') in wd_create_hb_recv_socket()
392 sock = wd_create_hb_recv_socket(hb_if); in wd_hb_receiver()
476 wd_hb_sender(int fork_wait_time, WdHbIf * hb_if) in wd_hb_sender() argument
525 sock = wd_create_hb_send_socket(hb_if); in wd_hb_sender()
566 wd_hb_send(sock, &pkt, sizeof(pkt), hb_if->addr, hb_if->dest_port); in wd_hb_sender()
[all …]
H A Dwd_lifecheck.c220 g_hb_receiver_pid[i] = wd_hb_receiver(1, &(pool_config->hb_if[i])); in wd_reaper_lifecheck()
234 g_hb_sender_pid[i] = wd_hb_sender(1, &(pool_config->hb_if[i])); in wd_reaper_lifecheck()
479 g_hb_receiver_pid[i] = wd_hb_receiver(1, &(pool_config->hb_if[i])); in spawn_lifecheck_children()
482 g_hb_sender_pid[i] = wd_hb_sender(1, &(pool_config->hb_if[i])); in spawn_lifecheck_children()
/dports/databases/pgpool-II-36/pgpool-II-3.6.28/src/watchdog/
H A Dwd_heartbeat.c75 static int wd_create_hb_send_socket(WdHbIf * hb_if);
76 static int wd_create_hb_recv_socket(WdHbIf * hb_if);
83 wd_create_hb_send_socket(WdHbIf *hb_if) in wd_create_hb_send_socket() argument
107 if (hb_if->if_name[0] != '\0') in wd_create_hb_send_socket()
158 wd_create_hb_recv_socket(WdHbIf *hb_if) in wd_create_hb_recv_socket() argument
188 if (hb_if->if_name[0] != '\0') in wd_create_hb_recv_socket()
389 sock = wd_create_hb_recv_socket(hb_if); in wd_hb_receiver()
472 wd_hb_sender(int fork_wait_time, WdHbIf *hb_if) in wd_hb_sender() argument
521 sock = wd_create_hb_send_socket(hb_if); in wd_hb_sender()
562 wd_hb_send(sock, &pkt, sizeof(pkt), hb_if->addr, hb_if->dest_port); in wd_hb_sender()
[all …]
H A Dwd_lifecheck.c211 g_hb_receiver_pid[i] = wd_hb_receiver(1, &(pool_config->hb_if[i])); in wd_reaper_lifecheck()
225 g_hb_sender_pid[i] = wd_hb_sender(1, &(pool_config->hb_if[i])); in wd_reaper_lifecheck()
461 g_hb_receiver_pid[i] = wd_hb_receiver(1, &(pool_config->hb_if[i])); in spawn_lifecheck_children()
464 g_hb_sender_pid[i] = wd_hb_sender(1, &(pool_config->hb_if[i])); in spawn_lifecheck_children()
/dports/databases/pgpool-II-37/pgpool-II-3.7.22/src/watchdog/
H A Dwd_heartbeat.c75 static int wd_create_hb_send_socket(WdHbIf * hb_if);
76 static int wd_create_hb_recv_socket(WdHbIf * hb_if);
83 wd_create_hb_send_socket(WdHbIf *hb_if) in wd_create_hb_send_socket() argument
107 if (hb_if->if_name[0] != '\0') in wd_create_hb_send_socket()
158 wd_create_hb_recv_socket(WdHbIf *hb_if) in wd_create_hb_recv_socket() argument
188 if (hb_if->if_name[0] != '\0') in wd_create_hb_recv_socket()
389 sock = wd_create_hb_recv_socket(hb_if); in wd_hb_receiver()
472 wd_hb_sender(int fork_wait_time, WdHbIf *hb_if) in wd_hb_sender() argument
521 sock = wd_create_hb_send_socket(hb_if); in wd_hb_sender()
562 wd_hb_send(sock, &pkt, sizeof(pkt), hb_if->addr, hb_if->dest_port); in wd_hb_sender()
[all …]
H A Dwd_lifecheck.c211 g_hb_receiver_pid[i] = wd_hb_receiver(1, &(pool_config->hb_if[i])); in wd_reaper_lifecheck()
225 g_hb_sender_pid[i] = wd_hb_sender(1, &(pool_config->hb_if[i])); in wd_reaper_lifecheck()
461 g_hb_receiver_pid[i] = wd_hb_receiver(1, &(pool_config->hb_if[i])); in spawn_lifecheck_children()
464 g_hb_sender_pid[i] = wd_hb_sender(1, &(pool_config->hb_if[i])); in spawn_lifecheck_children()
/dports/databases/pgpool-II-43/pgpool-II-4.3.0/src/watchdog/
H A Dwd_heartbeat.c79 static int wd_create_hb_send_socket(WdHbIf * hb_if);
80 static int wd_create_hb_recv_socket(WdHbIf * hb_if);
87 wd_create_hb_send_socket(WdHbIf * hb_if) in wd_create_hb_send_socket() argument
111 if (hb_if->if_name[0] != '\0') in wd_create_hb_send_socket()
163 wd_create_hb_recv_socket(WdHbIf * hb_if) in wd_create_hb_recv_socket() argument
193 if (hb_if->if_name[0] != '\0') in wd_create_hb_recv_socket()
395 sock = wd_create_hb_recv_socket(hb_if); in wd_hb_receiver()
479 wd_hb_sender(int fork_wait_time, WdHbIf * hb_if) in wd_hb_sender() argument
528 sock = wd_create_hb_send_socket(hb_if); in wd_hb_sender()
569 wd_hb_send(sock, &pkt, sizeof(pkt), hb_if->addr, hb_if->dest_port); in wd_hb_sender()
[all …]
/dports/databases/pgpool-II-42/pgpool-II-4.2.3/src/watchdog/
H A Dwd_heartbeat.c79 static int wd_create_hb_send_socket(WdHbIf * hb_if);
80 static int wd_create_hb_recv_socket(WdHbIf * hb_if);
87 wd_create_hb_send_socket(WdHbIf * hb_if) in wd_create_hb_send_socket() argument
111 if (hb_if->if_name[0] != '\0') in wd_create_hb_send_socket()
163 wd_create_hb_recv_socket(WdHbIf * hb_if) in wd_create_hb_recv_socket() argument
193 if (hb_if->if_name[0] != '\0') in wd_create_hb_recv_socket()
395 sock = wd_create_hb_recv_socket(hb_if); in wd_hb_receiver()
479 wd_hb_sender(int fork_wait_time, WdHbIf * hb_if) in wd_hb_sender() argument
528 sock = wd_create_hb_send_socket(hb_if); in wd_hb_sender()
569 wd_hb_send(sock, &pkt, sizeof(pkt), hb_if->addr, hb_if->dest_port); in wd_hb_sender()
[all …]
/dports/databases/pgpool-II-40/pgpool-II-4.0.17/src/watchdog/
H A Dwd_heartbeat.c76 static int wd_create_hb_send_socket(WdHbIf * hb_if);
77 static int wd_create_hb_recv_socket(WdHbIf * hb_if);
84 wd_create_hb_send_socket(WdHbIf * hb_if) in wd_create_hb_send_socket() argument
108 if (hb_if->if_name[0] != '\0') in wd_create_hb_send_socket()
160 wd_create_hb_recv_socket(WdHbIf * hb_if) in wd_create_hb_recv_socket() argument
190 if (hb_if->if_name[0] != '\0') in wd_create_hb_recv_socket()
392 sock = wd_create_hb_recv_socket(hb_if); in wd_hb_receiver()
476 wd_hb_sender(int fork_wait_time, WdHbIf * hb_if) in wd_hb_sender() argument
525 sock = wd_create_hb_send_socket(hb_if); in wd_hb_sender()
566 wd_hb_send(sock, &pkt, sizeof(pkt), hb_if->addr, hb_if->dest_port); in wd_hb_sender()
[all …]
H A Dwd_lifecheck.c220 g_hb_receiver_pid[i] = wd_hb_receiver(1, &(pool_config->hb_if[i])); in wd_reaper_lifecheck()
234 g_hb_sender_pid[i] = wd_hb_sender(1, &(pool_config->hb_if[i])); in wd_reaper_lifecheck()
479 g_hb_receiver_pid[i] = wd_hb_receiver(1, &(pool_config->hb_if[i])); in spawn_lifecheck_children()
482 g_hb_sender_pid[i] = wd_hb_sender(1, &(pool_config->hb_if[i])); in spawn_lifecheck_children()
/dports/databases/pgpool-II-41/pgpool-II-4.1.10/src/include/watchdog/
H A Dwd_lifecheck.h66 extern pid_t wd_hb_receiver(int fork_wait_time, WdHbIf * hb_if);
67 extern pid_t wd_hb_sender(int fork_wait_time, WdHbIf * hb_if);
/dports/databases/pgpool-II-36/pgpool-II-3.6.28/src/include/watchdog/
H A Dwd_lifecheck.h66 extern pid_t wd_hb_receiver(int fork_wait_time, WdHbIf * hb_if);
67 extern pid_t wd_hb_sender(int fork_wait_time, WdHbIf * hb_if);
/dports/databases/pgpool-II-40/pgpool-II-4.0.17/src/include/watchdog/
H A Dwd_lifecheck.h66 extern pid_t wd_hb_receiver(int fork_wait_time, WdHbIf * hb_if);
67 extern pid_t wd_hb_sender(int fork_wait_time, WdHbIf * hb_if);
/dports/databases/pgpool-II-37/pgpool-II-3.7.22/src/include/watchdog/
H A Dwd_lifecheck.h66 extern pid_t wd_hb_receiver(int fork_wait_time, WdHbIf * hb_if);
67 extern pid_t wd_hb_sender(int fork_wait_time, WdHbIf * hb_if);
/dports/databases/pgpool-II-42/pgpool-II-4.2.3/src/include/watchdog/
H A Dwd_lifecheck.h68 extern pid_t wd_hb_receiver(int fork_wait_time, WdHbIf * hb_if);
69 extern pid_t wd_hb_sender(int fork_wait_time, WdHbIf * hb_if);
/dports/databases/pgpool-II-43/pgpool-II-4.3.0/src/include/watchdog/
H A Dwd_lifecheck.h68 extern pid_t wd_hb_receiver(int fork_wait_time, WdHbIf * hb_if);
69 extern pid_t wd_hb_sender(int fork_wait_time, WdHbIf * hb_if);
/dports/databases/pgpool-II-36/pgpool-II-3.6.28/src/include/
H A Dpool_config.h112 #define WD_HB_IF(if_id) (pool_config->hb_if[(if_id)])
315 WdHbIf hb_if[WD_MAX_IF_NUM]; /* interface devices */ member
/dports/databases/pgpool-II-37/pgpool-II-3.7.22/src/include/
H A Dpool_config.h114 #define WD_HB_IF(if_id) (pool_config->hb_if[(if_id)])
337 WdHbIf hb_if[WD_MAX_IF_NUM]; /* interface devices */ member
/dports/databases/pgpool-II-40/pgpool-II-4.0.17/src/include/
H A Dpool_config.h129 #define WD_HB_IF(if_id) (pool_config->hb_if[(if_id)])
490 WdHbIf hb_if[WD_MAX_IF_NUM]; /* interface devices */ member
/dports/databases/pgpool-II-41/pgpool-II-4.1.10/src/include/
H A Dpool_config.h144 #define WD_HB_IF(if_id) (pool_config->hb_if[(if_id)])
523 WdHbIf hb_if[WD_MAX_IF_NUM]; /* interface devices */ member
/dports/databases/pgpool-II-36/pgpool-II-3.6.28/src/config/
H A Dpool_config_variables.c3397 return g_pool_config.hb_if[index].if_name; in HBDeviceShowFunc()
3402 return g_pool_config.hb_if[index].addr; in HBDestinationShowFunc()
3409 g_pool_config.hb_if[index].dest_port); in HBDestinationPortShowFunc()
3442 g_pool_config.hb_if[index].if_name[0] = '\0'; in HBDeviceAssignFunc()
3444 strlcpy(g_pool_config.hb_if[index].if_name, newval, WD_MAX_IF_NAME_LEN); in HBDeviceAssignFunc()
3452 g_pool_config.hb_if[index].addr[0] = '\0'; in HBDestinationAssignFunc()
3454 strlcpy(g_pool_config.hb_if[index].addr, newval, WD_MAX_HOST_NAMELEN -1); in HBDestinationAssignFunc()
3461 g_pool_config.hb_if[index].dest_port = newval; in HBDestinationPortAssignFunc()
3591 if (g_pool_config.hb_if[i].dest_port > 0) in config_post_processor()
/dports/databases/pgpool-II-36/pgpool-II-3.6.28/src/tools/pgmd5/
H A Dpool_config_variables.c3397 return g_pool_config.hb_if[index].if_name; in HBDeviceShowFunc()
3402 return g_pool_config.hb_if[index].addr; in HBDestinationShowFunc()
3409 g_pool_config.hb_if[index].dest_port); in HBDestinationPortShowFunc()
3442 g_pool_config.hb_if[index].if_name[0] = '\0'; in HBDeviceAssignFunc()
3444 strlcpy(g_pool_config.hb_if[index].if_name, newval, WD_MAX_IF_NAME_LEN); in HBDeviceAssignFunc()
3452 g_pool_config.hb_if[index].addr[0] = '\0'; in HBDestinationAssignFunc()
3454 strlcpy(g_pool_config.hb_if[index].addr, newval, WD_MAX_HOST_NAMELEN -1); in HBDestinationAssignFunc()
3461 g_pool_config.hb_if[index].dest_port = newval; in HBDestinationPortAssignFunc()
3591 if (g_pool_config.hb_if[i].dest_port > 0) in config_post_processor()
/dports/databases/pgpool-II-37/pgpool-II-3.7.22/src/config/
H A Dpool_config_variables.c3745 return g_pool_config.hb_if[index].if_name; in HBDeviceShowFunc()
3750 return g_pool_config.hb_if[index].addr; in HBDestinationShowFunc()
3755 return IntValueShowFunc(g_pool_config.hb_if[index].dest_port); in HBDestinationPortShowFunc()
3888 g_pool_config.hb_if[index].if_name[0] = '\0'; in HBDeviceAssignFunc()
3890 strlcpy(g_pool_config.hb_if[index].if_name, newval, WD_MAX_IF_NAME_LEN); in HBDeviceAssignFunc()
3898 g_pool_config.hb_if[index].addr[0] = '\0'; in HBDestinationAssignFunc()
3900 strlcpy(g_pool_config.hb_if[index].addr, newval, WD_MAX_HOST_NAMELEN -1); in HBDestinationAssignFunc()
3907 g_pool_config.hb_if[index].dest_port = newval; in HBDestinationPortAssignFunc()
4037 if (g_pool_config.hb_if[i].dest_port > 0) in config_post_processor()
/dports/databases/pgpool-II-40/pgpool-II-4.0.17/src/config/
H A Dpool_config_variables.c3976 return g_pool_config.hb_if[index].if_name; in HBDeviceShowFunc()
3982 return g_pool_config.hb_if[index].addr; in HBDestinationShowFunc()
3988 return IntValueShowFunc(g_pool_config.hb_if[index].dest_port); in HBDestinationPortShowFunc()
4145 g_pool_config.hb_if[index].if_name[0] = '\0'; in HBDeviceAssignFunc()
4147 strlcpy(g_pool_config.hb_if[index].if_name, newval, WD_MAX_IF_NAME_LEN); in HBDeviceAssignFunc()
4156 g_pool_config.hb_if[index].addr[0] = '\0'; in HBDestinationAssignFunc()
4158 strlcpy(g_pool_config.hb_if[index].addr, newval, WD_MAX_HOST_NAMELEN - 1); in HBDestinationAssignFunc()
4166 g_pool_config.hb_if[index].dest_port = newval; in HBDestinationPortAssignFunc()
4315 if (g_pool_config.hb_if[i].dest_port > 0) in config_post_processor()
/dports/databases/pgpool-II-41/pgpool-II-4.1.10/src/config/
H A Dpool_config_variables.c4138 return g_pool_config.hb_if[index].if_name; in HBDeviceShowFunc()
4144 return g_pool_config.hb_if[index].addr; in HBDestinationShowFunc()
4150 return IntValueShowFunc(g_pool_config.hb_if[index].dest_port); in HBDestinationPortShowFunc()
4307 g_pool_config.hb_if[index].if_name[0] = '\0'; in HBDeviceAssignFunc()
4309 strlcpy(g_pool_config.hb_if[index].if_name, newval, WD_MAX_IF_NAME_LEN); in HBDeviceAssignFunc()
4318 g_pool_config.hb_if[index].addr[0] = '\0'; in HBDestinationAssignFunc()
4320 strlcpy(g_pool_config.hb_if[index].addr, newval, WD_MAX_HOST_NAMELEN - 1); in HBDestinationAssignFunc()
4328 g_pool_config.hb_if[index].dest_port = newval; in HBDestinationPortAssignFunc()
4477 if (g_pool_config.hb_if[i].dest_port > 0) in config_post_processor()