Lines Matching refs:su
44 union sockunion su;
62 bgp_sock = sockunion_accept (accept_sock, &su);
70 zlog_info ("[Event] BGP connection from host %s", inet_sutop (&su, buf));
73 peer1 = peer_lookup (bgp, &su);
80 inet_sutop (&su, buf));
83 inet_sutop (&su, buf));
91 sockopt_ttl (peer1->su.sa.sa_family, bgp_sock, peer1->ttl);
105 peer->su = su;
111 sockunion2str (&su, buf, SU_ADDRSTRLEN);
215 peer->fd = sockunion_socket (&peer->su);
221 sockopt_ttl (peer->su.sa.sa_family, peer->fd, peer->ttl);
242 return sockunion_connect (peer->fd, &peer->su, htons (peer->port), ifindex);