Home
last modified time | relevance | path

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

123456789

/openbsd/usr.sbin/ospfctl/
H A Doutput.c139 inet_ntoa(aid)) == -1) in show_rib_head()
164 inet_ntoa(iface->addr), in show_interface()
171 inet_ntoa(iface->rtr_id), in show_interface()
181 inet_ntoa(iface->dr_id)); in show_interface()
184 inet_ntoa(iface->bdr_id)); in show_interface()
468 inet_ntoa(aid)) == -1) in show_database_head()
599 "%s\n", inet_ntoa(addr)); in show_db()
611 inet_ntoa(addr)); in show_db()
613 inet_ntoa(data)); in show_db()
617 inet_ntoa(addr)); in show_db()
[all …]
/openbsd/usr.sbin/dvmrpd/
H A Dneighbor.c109 inet_ntoa(nbr->id), nbr_event_name(event), in nbr_fsm()
137 "event '%s', state '%s'", inet_ntoa(nbr->id), in nbr_fsm()
162 inet_ntoa(nbr->id), nbr_state_name(old_state), in nbr_fsm()
215 inet_ntoa(nbr->id), nbr->peerid); in nbr_new()
270 log_debug("nbr_itimer: %s", inet_ntoa(nbr->id)); in nbr_itimer()
280 log_debug("nbr_start_itimer: %s", inet_ntoa(nbr->id)); in nbr_start_itimer()
309 log_debug("nbr_act_start: neighbor ID %s", inet_ntoa(nbr->id)); in nbr_act_start()
319 "timer, neighbor ID %s", inet_ntoa(nbr->id)); in nbr_act_reset_itimer()
332 inet_ntoa(nbr->id)); in nbr_act_start_itimer()
339 inet_ntoa(nbr->id)); in nbr_act_start_itimer()
[all …]
H A Dgroup.c162 "state '%s'", inet_ntoa(group->addr), in group_fsm()
210 inet_ntoa(group->addr), group_event_name(event), in group_fsm()
224 inet_ntoa(group->addr), group_state_name(old_state), in group_fsm()
236 log_debug("dead_timer: %s", inet_ntoa(group->addr)); in dead_timer()
246 log_debug("start_dead_timer: %s", inet_ntoa(group->addr)); in start_dead_timer()
281 log_debug("stop_dead_timer: %s", inet_ntoa(group->addr)); in stop_dead_timer()
291 log_debug("v1_host_timer: %s", inet_ntoa(group->addr)); in v1_host_timer()
314 log_debug("stop_v1_host_timer: %s", inet_ntoa(group->addr)); in stop_v1_host_timer()
325 log_debug("retrans_timer: %s", inet_ntoa(group->addr)); in retrans_timer()
391 inet_ntoa(ge->addr)); in group_list_add()
[all …]
H A Dprune.c44 inet_ntoa(nbr->addr)); in send_prune()
87 log_debug("recv_prune: neighbor ID %s", inet_ntoa(nbr->id)); in recv_prune()
91 inet_ntoa(nbr->id)); in recv_prune()
H A Drde_mfc.c71 log_debug("mfc_expire_timer: group %s", inet_ntoa(mn->group)); in mfc_expire_timer()
97 log_debug("mfc_start_expire_timer: group %s", inet_ntoa(mn->group)); in mfc_start_expire_timer()
109 log_debug("mfc_prune_timer: group %s", inet_ntoa(mn->group)); in mfc_prune_timer()
119 log_debug("mfc_start_prune_timer: group %s", inet_ntoa(mn->group)); in mfc_start_prune_timer()
173 inet_ntoa(m->group)); in mfc_insert()
186 inet_ntoa(m->group)); in mfc_remove()
400 inet_ntoa(p->origin)); in mfc_recv_prune()
413 inet_ntoa(p->origin)); in mfc_recv_prune()
/openbsd/usr.sbin/ospfd/
H A Ddatabase.c181 "invalid MTU %d expected %d", inet_ntoa(nbr->id), in recv_db_description()
192 "neighbor ID %s (%s)", inet_ntoa(nbr->id), in recv_db_description()
203 "packet ignored in state %s", inet_ntoa(nbr->id), in recv_db_description()
220 inet_ntoa(nbr->id), nbr->iface->name, in recv_db_description()
243 inet_ntoa(nbr->id), nbr->iface->name, in recv_db_description()
262 inet_ntoa(nbr->id), nbr->iface->name, in recv_db_description()
281 inet_ntoa(nbr->id), nbr->iface->name); in recv_db_description()
296 inet_ntoa(nbr->id), nbr->iface->name, in recv_db_description()
309 inet_ntoa(nbr->id), nbr->iface->name, in recv_db_description()
321 inet_ntoa(nbr->id), nbr->iface->name, in recv_db_description()
[all …]
H A Dprintconf.c40 printf("router-id %s\n", inet_ntoa(conf->rtr_id)); in print_mainconf()
95 print_no(r->type), inet_ntoa(r->addr), in print_redistribute()
127 printf("\tinterface %s:%s {\n", iface->name, inet_ntoa(iface->addr)); in print_iface()
187 printf("area %s {\n", inet_ntoa(area->id)); in print_config()
H A Dpacket.c102 __func__, inet_ntoa(ip_hdr.ip_dst), iface->name); in send_packet()
194 inet_ntoa(ip_hdr.ip_dst), iface->name); in recv_packet()
223 inet_ntoa(nbr->id), iface->name); in recv_packet()
240 inet_ntoa(ip_hdr.ip_dst)); in recv_packet()
303 "interface %s", inet_ntoa(addr), iface->name); in ospf_hdr_sanity_check()
310 "interface %s", inet_ntoa(addr), iface->name); in ospf_hdr_sanity_check()
/openbsd/usr.sbin/ospf6d/
H A Ddatabase.c64 "cannot send packet in state %s", inet_ntoa(nbr->id), in send_db_description()
175 "invalid MTU %d expected %d", inet_ntoa(nbr->id), in recv_db_description()
186 "neighbor ID %s (%s)", inet_ntoa(nbr->id), in recv_db_description()
197 "packet ignored in state %s", inet_ntoa(nbr->id), in recv_db_description()
230 inet_ntoa(nbr->id), nbr->iface->name, in recv_db_description()
249 inet_ntoa(nbr->id), nbr->iface->name, in recv_db_description()
268 inet_ntoa(nbr->id), nbr->iface->name); in recv_db_description()
283 inet_ntoa(nbr->id), nbr->iface->name, in recv_db_description()
296 inet_ntoa(nbr->id), nbr->iface->name, in recv_db_description()
308 inet_ntoa(nbr->id), nbr->iface->name, in recv_db_description()
[all …]
H A Dlsack.c109 inet_ntoa(nbr->id), nbr->iface->name); in recv_ls_ack()
130 "neighbor ID %s (%s)", inet_ntoa(nbr->id), in recv_ls_ack()
146 inet_ntoa(nbr->id), nbr->iface->name); in lsa_hdr_check()
163 lsa_hdr->type, inet_ntoa(nbr->id), nbr->iface->name); in lsa_hdr_check()
170 "neighbor ID %s (%s)", inet_ntoa(nbr->id), in lsa_hdr_check()
/openbsd/usr.sbin/dvmrpctl/
H A Ddvmrpctl.c246 printf("Router ID: %s\n", inet_ntoa(sum->rtr_id)); in show_summary_msg()
269 if (asprintf(&netid, "%s/%d", inet_ntoa(iface->addr), in show_interface_msg()
304 inet_ntoa(iface->addr), in show_interface_detail_msg()
312 printf("%s\n", inet_ntoa(iface->addr)); in show_interface_detail_msg()
314 printf("%s\n", inet_ntoa(iface->querier)); in show_interface_detail_msg()
351 if (asprintf(&netid, "%s/%d", inet_ntoa(iface->addr), in show_igmp_msg()
484 printf("%-15s %-10s %-10s", inet_ntoa(nbr->id), in show_nbr_msg()
487 printf("%-15s %-11s %s\n", inet_ntoa(nbr->addr), in show_nbr_msg()
540 if (asprintf(&dstnet, "%s/%d", inet_ntoa(rt->prefix), in show_rib_msg()
545 inet_ntoa(rt->nexthop), in show_rib_msg()
[all …]
/openbsd/sys/arch/macppc/stand/
H A Dnet.c138 printf("Using IP address: %s\n", inet_ntoa(myip)); in net_mountroot()
141 printf("myip: %s (%s)", hostname, inet_ntoa(myip)); in net_mountroot()
143 printf(", gateip: %s", inet_ntoa(gateip)); in net_mountroot()
148 printf("root addr=%s path=%s\n", inet_ntoa(rootip), rootpath); in net_mountroot()
/openbsd/gnu/usr.bin/perl/cpan/Socket/t/
H A Dsockaddr.t9 inet_ntoa inet_aton inet_ntop inet_pton
21 is(inet_ntoa(v10.20.30.40), "10.20.30.40", 'inet_ntoa from v-string');
23 is(inet_ntoa(inet_aton("10.20.30.40")), "10.20.30.40", 'inet_aton->inet_ntoa roundtrip');
26 eval { inet_ntoa(v10.20.30.400) };
27 like($@, qr/^Wide character in Socket::inet_ntoa at/, 'inet_ntoa warns about wide characters');
76 …is(inet_ntoa((unpack_sockaddr_in($sin))[1]), "10.20.30.40", 'pack_sockaddr_in->unpack_sockaddr_in …
78 …is(inet_ntoa(scalar unpack_sockaddr_in($sin)), "10.20.30.40", 'unpack_sockaddr_in in scalar contex…
/openbsd/usr.sbin/ypserv/ypserv/
H A Dypserv_proc.c94 inet_ntoa(caller->sin_addr), ntohs(caller->sin_port), in ypproc_domain_2_svc()
146 inet_ntoa(caller->sin_addr), ntohs(caller->sin_port), in ypproc_match_2_svc()
179 inet_ntoa(caller->sin_addr), ntohs(caller->sin_port), in ypproc_first_2_svc()
210 inet_ntoa(caller->sin_addr), ntohs(caller->sin_port), in ypproc_next_2_svc()
260 ipadd = inet_ntoa(caller->sin_addr); in ypproc_xfr_2_svc()
617 inet_ntoa(caller->sin_addr), ntohs(caller->sin_port), in ypoldproc_match_1_svc()
667 inet_ntoa(caller->sin_addr), ntohs(caller->sin_port), in ypoldproc_first_1_svc()
716 inet_ntoa(caller->sin_addr), ntohs(caller->sin_port), in ypoldproc_next_1_svc()
769 inet_ntoa(caller->sin_addr), ntohs(caller->sin_port), in ypoldproc_poll_1_svc()
813 inet_ntoa(caller->sin_addr), ntohs(caller->sin_port), in ypoldproc_push_1_svc()
[all …]
/openbsd/libexec/spamd/
H A Dsync.c287 inet_ntoa(addr.sin_addr), (int)len); in sync_recv()
314 inet_ntoa(addr.sin_addr)); in sync_recv()
317 helo, inet_ntoa(ip), from, to); in sync_recv()
323 helo, inet_ntoa(ip), from, to); in sync_recv()
337 inet_ntoa(addr.sin_addr)); in sync_recv()
338 fprintf(stderr, "ip %s ", inet_ntoa(ip)); in sync_recv()
344 inet_ntoa(addr.sin_addr), expire); in sync_recv()
358 inet_ntoa(addr.sin_addr)); in sync_recv()
359 fprintf(stderr, "ip %s ", inet_ntoa(ip)); in sync_recv()
365 inet_ntoa(addr.sin_addr), expire); in sync_recv()
[all …]
/openbsd/sys/arch/sparc64/stand/ofwboot/
H A Dnet.c129 printf("ip address: %s", inet_ntoa(myip)); in net_mountroot_bootparams()
153 printf("ip address: %s", inet_ntoa(myip)); in net_mountroot_bootp()
160 printf(", gateway: %s", inet_ntoa(gateip)); in net_mountroot_bootp()
190 printf("root addr=%s path=%s\n", inet_ntoa(rootip), rootpath); in net_mountroot()
/openbsd/usr.sbin/ospf6ctl/
H A Dospf6ctl.c437 inet_ntoa(iface->rtr_id), in show_interface_detail_msg()
443 inet_ntoa(iface->dr_id)); in show_interface_detail_msg()
447 inet_ntoa(iface->bdr_id)); in show_interface_detail_msg()
596 inet_ntoa(aid)) == -1) in show_database_head()
600 inet_ntoa(aid), ifname) == -1) in show_database_head()
912 inet_ntoa(data)); in show_db_msg_detail()
916 inet_ntoa(addr)); in show_db_msg_detail()
918 inet_ntoa(data)); in show_db_msg_detail()
922 rtr_link->type, inet_ntoa(addr)); in show_db_msg_detail()
924 inet_ntoa(data)); in show_db_msg_detail()
[all …]
/openbsd/usr.sbin/ldpd/
H A Dhello.c170 inet_ntoa(lsr_id)); in recv_hello()
176 __func__, inet_ntoa(lsr_id), holdtime); in recv_hello()
181 inet_ntoa(lsr_id)); in recv_hello()
186 inet_ntoa(lsr_id)); in recv_hello()
196 __func__, inet_ntoa(lsr_id)); in recv_hello()
201 __func__, inet_ntoa(lsr_id)); in recv_hello()
210 __func__, inet_ntoa(lsr_id), log_addr(af, &trans_addr)); in recv_hello()
224 "transport address %s", __func__, inet_ntoa(lsr_id), in recv_hello()
242 inet_ntoa(lsr_id)); in recv_hello()
334 "transport address", __func__, inet_ntoa(lsr_id)); in recv_hello()
[all …]
H A Dinit.c39 log_debug("%s: lsr-id %s", __func__, inet_ntoa(nbr->id)); in send_init()
69 log_debug("%s: lsr-id %s", __func__, inet_ntoa(nbr->id)); in recv_init()
152 inet_ntoa(nbr->id)); in recv_init()
171 "FEC capability", __func__, inet_ntoa(nbr->id)); in recv_init()
191 inet_ntoa(nbr->id)); in recv_init()
229 log_debug("%s: lsr-id %s", __func__, inet_ntoa(nbr->id)); in send_capability()
274 log_debug("%s: lsr-id %s", __func__, inet_ntoa(nbr->id)); in recv_capability()
325 "capability", __func__, inet_ntoa(nbr->id), in recv_capability()
351 inet_ntoa(nbr->id), (enable) ? "announced" : in recv_capability()
/openbsd/gnu/usr.bin/perl/cpan/libnet/t/
H A Dconfig.t22 undef *{Socket::inet_ntoa};
32 *{ $pkg . '::inet_ntoa' } = \&inet_ntoa;
49 sub inet_ntoa { subroutine
/openbsd/gnu/usr.bin/perl/lib/Net/
H A Dhostent.t43 is( inet_ntoa($h->addr), "127.0.0.1", 'addr from gethost' );
49 is( inet_ntoa($i->addr), "127.0.0.1", 'addr from gethostbyaddr' );
53 is( inet_ntoa($i->addr), "127.0.0.1", 'addr from gethost' );
/openbsd/usr.sbin/ripctl/
H A Dripctl.c319 if (asprintf(&netid, "%s/%d", inet_ntoa(iface->addr), in show_interface_msg()
348 if (asprintf(&dstnet, "%s/%d", inet_ntoa(rt->prefix), in show_rib_msg()
353 inet_ntoa(rt->nexthop), in show_rib_msg()
380 printf("%-15s %-16s", inet_ntoa(nbr->id), in show_nbr_msg()
382 printf("%-15s %-10s", inet_ntoa(nbr->addr), nbr->name); in show_nbr_msg()
431 if (asprintf(&p, "%s/%u", inet_ntoa(k->prefix), in show_fib_msg()
438 printf("%s", inet_ntoa(k->nexthop)); in show_fib_msg()
/openbsd/sys/arch/alpha/stand/netboot/
H A Ddev_net.c211 printf("boot: client addr: %s\n", inet_ntoa(myip));
224 printf("boot: net gateway: %s\n", inet_ntoa(gateip));
235 printf("boot: server addr: %s\n", inet_ntoa(rootip));
/openbsd/usr.sbin/hostapd/
H A Droaming.c80 inet_ntoa(apme->a_addr.sin_addr), apme->a_iface); in hostapd_roaming_init()
180 inet_ntoa(addr->in_v4)); in hostapd_roaming_addr()
189 inet_ntoa(addr->in_v4)); in hostapd_roaming_addr()
198 inet_ntoa(addr->in_v4)); in hostapd_roaming_addr()
271 inet_ntoa(addr->in_v4)); in hostapd_roaming_rt()
280 inet_ntoa(addr->in_v4), in hostapd_roaming_rt()
/openbsd/usr.sbin/ripd/
H A Dneighbor.c114 inet_ntoa(nbr->id), nbr_event_name(event), in nbr_fsm()
146 inet_ntoa(nbr->id), nbr_state_name(old_state), in nbr_fsm()
200 inet_ntoa(nbr->id), nbr->peerid); in nbr_new()
208 log_debug("nbr_del: neighbor ID %s, peerid %u", inet_ntoa(nbr->id), in nbr_del()
229 log_debug("nbr_act_del: neighbor ID %s, peerid %u", inet_ntoa(nbr->id), in nbr_act_del()
340 inet_ntoa(nbr_failed->addr)); in nbr_failed_timeout()

123456789