Lines Matching refs:bind_sin_gre
176 memcpy(&plistener->bind_sin_gre, addr, addr->sa_len); in pptpd_add_listener()
189 if (plstn->bind_sin_gre.sin_addr.s_addr == INADDR_ANY) in pptpd_add_listener()
192 if (plistener->bind_sin_gre.sin_addr.s_addr == INADDR_ANY) in pptpd_add_listener()
200 plistener->bind_sin_gre.sin_port = 0; in pptpd_add_listener()
292 struct sockaddr_in bind_sin, bind_sin_gre; in pptpd_listener_start() local
300 memcpy(&bind_sin_gre, &_this->bind_sin_gre, sizeof(bind_sin_gre)); in pptpd_listener_start()
340 bind_sin_gre.sin_port = 0; in pptpd_listener_start()
369 if (bind(sock_gre, (struct sockaddr *)&bind_sin_gre, in pptpd_listener_start()
370 bind_sin_gre.sin_len) != 0) { in pptpd_listener_start()
373 inet_ntoa(bind_sin_gre.sin_addr), in pptpd_listener_start()
374 ntohs(bind_sin_gre.sin_port), __func__); in pptpd_listener_start()
389 inet_ntoa(bind_sin_gre.sin_addr)); in pptpd_listener_start()
442 inet_ntoa(_this->bind_sin_gre.sin_addr)); in pptpd_listener_close_gre()