Lines Matching defs:su
64 peer_address_self_check (union sockunion *su)
68 if (su->sa.sa_family == AF_INET)
69 ifp = if_lookup_by_ipv4_exact (&su->sin.sin_addr);
71 else if (su->sa.sa_family == AF_INET6)
72 ifp = if_lookup_by_ipv6_exact (&su->sin6.sin6_addr);
87 union sockunion su;
92 ret = str2sockunion (ip_str, &su);
99 if (peer_address_self_check (&su))
105 peer = peer_lookup (bgp, &su);
120 union sockunion su;
126 ret = str2sockunion (peer_str, &su);
129 if (peer_address_self_check (&su))
135 peer = peer_lookup (bgp, &su);
1120 union sockunion su;
1128 ret = str2sockunion (peer_str, &su);
1140 if (peer_address_self_check (&su))
1146 ret = peer_remote_as (bgp, &su, &as, afi, safi);
1202 union sockunion su;
1206 ret = str2sockunion (argv[0], &su);
1220 if (peer_address_self_check (&su))
1227 peer = peer_lookup (vty->index, &su);
1416 union sockunion su;
1422 ret = str2sockunion (argv[0], &su);
1436 ret = peer_group_bind (bgp, &su, group, bgp_node_afi (vty),
2475 union sockunion *su;
2483 su = sockunion_str2su (source_str);
2484 if (su)
2486 peer_update_source_addr_set (peer, su);
2487 sockunion_free (su);
3693 union sockunion su;
3697 ret = str2sockunion (arg, &su);
3703 peer = peer_lookup (bgp, &su);
6811 enum show_type type, union sockunion *su)
6825 if (sockunion_same (&peer->su, su))
6846 union sockunion su;
6850 ret = str2sockunion (ip_str, &su);
6868 bgp_show_neighbor (vty, bgp, type, &su);
6876 bgp_show_neighbor (vty, bgp, type, &su);