k.prefix = addr.v4;
k.prefix.s_addr = addr.v4.s_addr;
network_dump_upcall(struct pt_entry *pt, void *ptr){	struct prefix		*p;	struct kroute		 k;	struct bgpd_addr	 addr;	pid_t			 pid;	memcpy(&pid, ptr, sizeof(pid));	LIST_FOREACH(p, &pt->prefix_h, prefix_l)	    if (p->aspath->nexthop->flags & NEXTHOP_ANNOUNCE) {		    bzero(&k, sizeof(k));		    pt_getaddr(p->prefix, &addr);		    k.prefix = addr.v4;		    k.prefixlen = p->prefix->prefixlen;		    if (p->peer == &peerself)			    k.flags = F_KERNEL;		    if (imsg_compose_pid(&ibuf_se, IMSG_CTL_SHOW_NETWORK, pid,			&k, sizeof(k)) == -1)			    log_warnx("network_dump_upcall: "				"imsg_compose error");	    }}