BGP_PORT
((struct sockaddr_in *)&la->sa)->sin_port = htons(BGP_PORT);
((struct sockaddr_in6 *)&la->sa)->sin6_port = htons(BGP_PORT);
p->conf.remote_port = BGP_PORT;
sa = addr2sa(&$3, BGP_PORT, &la->sa_len);
local_addr, remote_addr, 0, BGP_PORT) == -1)
local_addr, remote_addr, BGP_PORT, 0) == -1)
remote_addr, local_addr, 0, BGP_PORT) == -1)
remote_addr, local_addr, BGP_PORT, 0) == -1)
&as->local_addr, &as->remote_addr, 0, BGP_PORT) == -1)
&as->local_addr, &as->remote_addr, BGP_PORT, 0) == -1)
&as->remote_addr, &as->local_addr, 0, BGP_PORT) == -1)
&as->remote_addr, &as->local_addr, BGP_PORT, 0) == -1)
if (port != BGP_PORT)
if (p->remote_port != BGP_PORT)
#ifndef BGP_PORT
if (sport == BGP_PORT || dport == BGP_PORT)